I am trying to install a command in a terminal window:
sudo -s apt-get install net-tools
Result:
/bin/bash: apt-get: command not found
How can I install apt-get
then?
I use the command below to find out My Linux distribution name and version:
cat /etc/*-release
I get this below:
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
What should I do to install a command in Arch Linux?
First of all, Arch Linux provides a beautiful, well maintained wiki. You may want to read it first before working with Arch Linux. The pre-installed package manager is Pacman.
To install a package from the official repositories, you will need to use it like this:
# pacman -S <package name>
There is also a community-maintained version, the Arch User Repository (AUR), for packages not part of the official repository.