In Linux, you can use the yum command to replace the "apt-get" command to solve the problem of not being able to find the "apt-get" command; because the software installation tools of different Linux distributions may be different, For example, if you use the "apt-get" command in CentOS, it will show that it cannot be found. Use the yum command instead.
The operating environment of this tutorial: centos 7 system, Dell G3 computer.
Problem description:
When I used the apt-get command today, the system prompted that the command could not be found.
Cause analysis:
The installation instructions of centos and ubantu are different. Centos uses the yum command for installation.
Solution:
Examples are as follows:
Recommended learning:Linux video tutorial
The above is the detailed content of What should I do if Linux cannot find the apt-get command?. For more information, please follow other related articles on the PHP Chinese website!