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.