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

Linux

48145 readers
753 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
 

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

top 18 comments
sorted by: hot top controversial new old
[–] Barzaria@lemmy.dbzer0.com 9 points 6 months ago* (last edited 6 months ago) (1 children)

Hey man, we're living parallel lives. I literally just did this yesterday. The command you're looking for is gdebi. Try gdebi (name of the package's file, uncompressed to a .deb) if you downloaded the .Deb from the website. tic80 will now be a usable command. To uninstall the tic80 command / program you can use apt uninstall tic80. It worked with and without sudo.

[–] Bitrot@lemmy.sdf.org 1 points 6 months ago

gdebi, apt can also do this these days.

[–] nezach@discuss.tchncs.de 5 points 6 months ago (1 children)

Did you try

  sudo dpkg -i path/to/tic80-v1.1-linux.deb
[–] sleepybisexual@beehaw.org 1 points 6 months ago

Will try, once I find the filepath

[–] Yuki@kutsuya.dev 3 points 6 months ago (1 children)

If the device has network access, then you can just wget it and install it.

[–] sleepybisexual@beehaw.org 1 points 6 months ago (1 children)

Its not on apt, I tried that

[–] Successful_Try543@feddit.de 3 points 6 months ago (1 children)

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 6 months ago (1 children)

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

[–] Successful_Try543@feddit.de 1 points 6 months ago* (last edited 6 months ago) (1 children)

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 6 months ago (1 children)

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

Its a clockworkpi os machine

[–] Successful_Try543@feddit.de 1 points 6 months ago* (last edited 6 months ago) (1 children)

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 6 months ago* (last edited 6 months ago) (1 children)

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

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

[–] Successful_Try543@feddit.de 1 points 6 months ago (1 children)

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

[–] sleepybisexual@beehaw.org 2 points 6 months ago* (last edited 6 months ago) (1 children)

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 6 months ago* (last edited 6 months ago) (1 children)

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

[–] sleepybisexual@beehaw.org 2 points 6 months ago (1 children)

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 6 months ago (1 children)

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 6 months ago

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