


MacOS X uses Homebrew as their default package manager. Type in the following command to install them using Yum – $ sudo yum install Avoid trying the download the ones that APT does not support, which are as follows -ĭistributions such as Fedora, CentOS, and RHEL use Yum as their default package manager. The first step to solve the problem is to use the correct Linux distributions with the apt-get command. This apt-get command not found error using the following method:
#Yum cant install tcpdump how to
How to solve the apt-get command not found an error? You have to manually install it to get things working for you. If no output is returned, it means that the APT package is not installed. The command must return the following output – /usr/bin/apt-get Type in the command locate apt-get to check whether it is installed in your system. If you are using an operating system that is compatible with the apt-get command, then check the availability of the APT. To find out the Linux distribution name, type in the following command – cat /etc/*-release Package Not Available If you are trying to install rpm-based operating systems such as Fedora, RHEL and CentOS, the command will not work. The apt-get command only works on Debian, Ubuntu, and its derivatives. Let us see the reasons behind this problem. It may look something like this – apt-get install httpd24 What is the apt-get command not found?Īs mentioned earlier, when you try to install or modify a package on Linux with the apt-get command, you might receive this error. Here, sudo is used for providing you with the security privileges of a superuser.
#Yum cant install tcpdump upgrade
sudo apt-get upgrade (for upgrading a package).
#Yum cant install tcpdump update
