Friday, February 20, 2015

ubuntu - Difference between RPM (yum) and apt-get



Functional difference between the two? Packages different style or what?



I'm dipping my toe in the server pool and playing with an Ubuntu install right now, which is apt-get. I'm also considering FreeBSD and Debian if I do decide to start running my own VPS.



So far things have been very easy, sudo apt-get install apache2 and the like with no issues at all. I'd like to know if there is a different learning curve to yum or variants.


Answer



They basically do the same, managing software packageges. One handles rpm packages which are the native form on Red Hat, Suse and Mandrake based systems (among others), the other handles deb files used by Debian, Ubuntu and derivatives.




My recommendation: Use the native format, except when you have very special needs. All the security updates etc. are best handled by the platforms native tool, and most users won't need to toy around with more than one tool.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...