17
submitted 4 months ago by sleepybisexual@beehaw.org to c/linux@lemmy.ml

So, I have a device running stripped down Ubuntu and I wanna get tic80 on it, I have a copy on a flash drive but idk how to install it. The machine is pretty much CLI only

you are viewing a single comment's thread
view the rest of the comments
[-] Successful_Try543@feddit.de 3 points 4 months ago

So, as I understand you, you've got a copy of tic80-v1.1-linux.deb on a USB stick and want to install this.

After you've mounted the USB-drive, cd to the directory where the downloaded deb-package is located. Then run

sudo dpkg -i tic80-v1.1-linux.deb
sudo apt -f install

to install the package and missing dependencies.

[-] Bitrot@lemmy.sdf.org 3 points 4 months ago

Apt can install a .deb and its dependencies in one go.

[-] Successful_Try543@feddit.de 1 points 4 months ago* (last edited 4 months ago)

Cool. Thank you. I haven't looked into the changelog ever. Obviously this works for quite a while now (~2017?) without moving the deb-file to /var/cache/apt/archives/.

[-] sleepybisexual@beehaw.org 2 points 4 months ago

Now I'm looking for the directory. Would a USB be in /home?

Its a clockworkpi os machine

[-] Successful_Try543@feddit.de 1 points 4 months ago* (last edited 4 months ago)

That depends on how you have mounted the device, as this is usually not done automatically. As I understand, your system doesn't have a desktop environment. So the you need to search e.g. the output of sudo dmesg after plugging in the USB stick, there should appear s.th. like /dev/sdb1 or alike. Then you can mount the partition e.g. to /mnt directory

sudo mount /dev/sdb1 /mnt

You anyway can check the output of mount (without arguments) if and where the device was mounted successfully.

You later can safely unmount the USB stick by

sudo umount /dev/sdb1
[-] sleepybisexual@beehaw.org 2 points 4 months ago* (last edited 4 months ago)

I did sudo mount /dev/sda1 it returned this:

/dev/sda1: can't find in /etc/fstab

[-] Successful_Try543@feddit.de 1 points 4 months ago

Yes, you need to specify the path where it should be mounted to. I proposed using /mnt.

[-] sleepybisexual@beehaw.org 2 points 4 months ago* (last edited 4 months ago)

Oh, thank you

Edit:

The solution worked, the software is for arm tho.

My dumbass water this time only to realise ita not riscv compatible

[-] Successful_Try543@feddit.de 1 points 4 months ago* (last edited 4 months ago)

What kind of system do you have? I assumed it was a small RPi like device.

[-] sleepybisexual@beehaw.org 2 points 4 months ago

Its a uconsole r-01

As it is its kind of terrible but looks cool. Might upgrade to a cm4 but would like to use the machine

[-] Successful_Try543@feddit.de 1 points 4 months ago

So you need to build from source, as I don't see a prebuild version for RISC-V on their Github-page. As your system probably is supposed to be slim, you can try cross building from source on another computer. But if you are interested in doing that, please ask in a separate post, as I've never done that.

[-] sleepybisexual@beehaw.org 2 points 4 months ago

So basically use the source code elsewhere? I'll ask later, thank you

this post was submitted on 13 May 2024
17 points (100.0% liked)

Linux

47334 readers
1216 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS