Linux distributions are using package managers in order to install, update and remove applications. In the old days there are very less package managers those are not so good. In to day they are very talented. apt-get command not found
is command error type which is shown while installing, updating and removing applications. In this tutorial we will look some error cases and solutions.
Error
As an example when try to run apt-get install tmux
command we get following error.
$ apt-get install tmux

Distributions Using Apt-Get
In order under stand error and get solution we need to know distributions using apt-get
as default package manager. Following distributions can work with apt-get
without problem.
- Debian
- Ubuntu
- Mint
- Kali
Distributions Not Using Apt-Get
The error is caused by distributions not using apt-get
as default package manager. So the command will not found. Following distributions do not use apt-get
as default package manager.
- openSUSE
- Fedora
- CentOS
- RHEL
- Arch
- MacOS X
Solution
The solution is using given distribution package manager here is a list of them.
Fedora, CentOS, RHEL
These distributions use yum
as default package manager. So we can use yum
like below.
$ sudo yum install tmux

Arch
For Arch Linux we can use following command.
$ packman -S tmux
Mac OS X
MacOS X uses brew
as package manager. We can use it like below.
$ brew install tmux
Hello, i think that i saw you visited my website so i came to “return the favor”.I am attempting to find things to enhance my web site!I suppose its ok to use some of your ideas!!|