Home > Operation and Maintenance > Linux Operation and Maintenance > What should I do if Linux cannot find the apt-get command?

What should I do if Linux cannot find the apt-get command?

WBOY
Release: 2022-05-20 10:50:34
Original
20339 people have browsed it

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.

What should I do if Linux cannot find the apt-get command?

The operating environment of this tutorial: centos 7 system, Dell G3 computer.

What should I do if Linux cannot find the apt-get command?

Problem description:

When I used the apt-get command today, the system prompted that the command could not be found.
What should I do if Linux cannot find the apt-get command?

Cause analysis:

The installation instructions of centos and ubantu are different. Centos uses the yum command for installation.

Solution:

What should I do if Linux cannot find the apt-get command?

Examples are as follows:

What should I do if Linux cannot find the apt-get command?

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template