-4

I used to have apt available on my CentOS server, but I had to reinstall and now I have yum. I've searched on how to replace it with no results.

If anyone could help, thanks!

I am on CentOS 5.9, if that helps.

alexpja
  • 123
  • 6

1 Answers1

6

While it may be possible to run a version of apt on a CentOS server, I'd strongly urge you to use the native yum commands, as that's the packaging and software delivery framework for CentOS and other Red Hat-like operating systems.

This apt and yum translation table can help if you're looking for the proper command equivalents between the two.

However, apt for CentOS does exist. Here's a Dag Wieers article detailing its use.

You'll need to install the RepoForge repository via rpm in order to be able to download the apt package. It's totally compatible, works and is supported... but also unnecessary, given that yum covers most needs.

ewwhite
  • 194,921
  • 91
  • 434
  • 799