Home computickets how to install apt-get on CentOS 7

how to install apt-get on CentOS 7

Author

Date

Category

I’m trying to install apt-get package, but I get an error

[root @ server ~] # sudo yum install apt-get
FAILED TO SET LOCALE, DEFAULTING TO C
Loaded Plugins: Fastestmirror
Loading Mirror Speeds from Cached Hostfile
 * Base: mirror.vcu.edu
 * EPEL: mirror.umd.edu
 * Extras: mirror.math.princeeton.edu
 * Updates: mirror.rackspace.com
NO PACKAGE APT-GET AVAILABLE.
Error: Nothing To Do

how to install it?


Answer 1, Authority 100%

Apt – Package Manager for DEB (IAN)-like distributions.
You are using Centos , distribution, where rpm main way to install packages.
Packages and their dependencies manages Yum – APT there can not exist.
If you need to repeat instructions with installing packets through the APT simply look for them via Yum Search [Package name without version] and place it via Yum Install.
But! In view of the fact that the instructions are also included in the editing of configs and viewing logs, in Redhat, these paths and names are slightly different, and if you are very new in this matter, then either look for the instruction under rarhat with RPM Similar distribution.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions