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

  • @YukiA
    link
    32 months ago

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

      • @[email protected]
        link
        fedilink
        32 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.

        • NaN
          link
          fedilink
          English
          32 months ago

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

          • @[email protected]
            link
            fedilink
            1
            edit-2
            2 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/.

            • sleepybisexualOP
              link
              fedilink
              22 months ago

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

              Its a clockworkpi os machine

              • @[email protected]
                link
                fedilink
                1
                edit-2
                2 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
                
                • sleepybisexualOP
                  link
                  fedilink
                  2
                  edit-2
                  2 months ago

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

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