Linux “Apt-Get Command Not Found” Error Solution

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-apt-get-command-not-found-error-solution/
PINTEREST
PINTEREST
INSTAGRAM

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.

Error
Error

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.

Fedora, CentOS, RHEL
Fedora, CentOS, RHEL

Arch

For Arch Linux we can use following command.

Mac OS X

MacOS X uses brew as package manager. We can use it like below.

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-apt-get-command-not-found-error-solution/
PINTEREST
PINTEREST
INSTAGRAM
LEARN MORE  Ubuntu, Debian, Kali, Mint Apt-Get Search Tutorial with Examples