Horje
sudo: apt: command not found Code Example
add-apt-repository command not found
// Ubuntu
sudo apt-get install software-properties-common
sudo command not found
su -
apt install sudo
usermod -aG sudo <username>
exit
sudo: command not found
ls -l foo.sh
sudo: apt: command not found
To do that, you need to grab the corresponding .deb package that was compiled for your OS version. If you're using Ubuntu like me, go to one of its Archive Mirror. In this case, we are going to http://us.archive.ubuntu.com/ubuntu/.

Ubuntu mirror archive
Access /pool/main/a/apt/ path and you'll see a bunch of .deb package. Select the one that is suitable with your architecture (and64/i386)

select apt deb file
Once it finishes downloading, you can install apt DEB file by running the following command :

sudo dpkg -i /path/to/apt_deb_file.deb
Remember to replace the /path/to/apt_deb_file.deb with the path of the file you've just downloaded.

Source: linuxpip.org




Shell

Related
batch multiline command Code Example batch multiline command Code Example
Update local clone and rename branch Code Example Update local clone and rename branch Code Example
December festivities Code Example December festivities Code Example
was pasiert bei git merge Code Example was pasiert bei git merge Code Example
arch linux deepin compositor Code Example arch linux deepin compositor Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8