You have to maintain an active subscription in order to be able to use the repository!
As I already manage a CentOS/RHEL YUM repository (and stick to CentOS with a rationale of being more secure), I’m not eager to work with Ununtu operating system or learn how to package things for it.
Yet many of my clients, for no reason whatsoever, want to stick to Ubuntu, even for a clean server setup.
Ubuntu and CentOS are both based on Linux kernel. The primary difference is with the packaging system being
aptitude for Ubuntu and
yum for CentOS.
Many folks who already use Ubuntu are not excited to even try CentOS just because it seems entirely different. But that’s not the case. Especially if you can get
apt-get working in CentOS.
Install apt-get in CentOS
curl https://raw.githubusercontent.com/dvershinin/apt-get-centos/master/apt-get.sh -o /usr/local/bin/apt-get chmod 0755 /usr/local/bin/apt-get
Use apt-get in CentOS
Now you have the familiar interface for installing packages through
apt-get install packagename 🙂
Obviously, this is just an alias-like wrapper for the native
yum package manager in CentOS. But I hope this is going to help you move towards CentOS and learn the commands for managing packages. (when you run
apt-get it will tell you the corresponding
yum command after installing/removing a package).