Debian 9.8 install lacks apt, apt-get, aptitude

So how do I install the programs I use all the time that aren’t in the default install?
which dpkg Command not found ; (just like the apt suite of tools)

mike, in phoenix

apt tools are loaded once you request a program from the software tool. You then need to add the key words “contrib non-free” to the ends of the lines in /etc/apt/sources.list. So this problem is solved. Thanks.

mike

Hey @mike welcome to nixCraft forum.

Yes, you need to have repo enabled.

Second, you must run apt/apt-get/dpkg command as root user. For example:

sudo apt update
sudo apt-get upgrade
sudo apt-get install nginx

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki