Results 1 to 8 of 8
I often thought about why different version of Linux used different commands in terminal to do updates, upgrades, installs, ect. but I think I may have hit on why and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-14-2013 #1
apt-get, yum, pacman,yast,ect.
I often thought about why different version of Linux used different commands in terminal to do updates, upgrades, installs, ect. but I think I may have hit on why and I wanted to see if it may be correct.
Debian, for instance, uses "apt-get" because that points it at the Debian Repository for updates and such. Fedora uses "yum" because that points it at the Fedora Repository for packages. Others have different Repos so they need a way for them to be pointed at the correct repo in terminal so that's where the command "apt-get" or "yum" comes in. Is that about it or are they doing it just to be "different"? LOL
- 11-14-2013 #2
Early days of Linux the distro were like the political parties and each had their way of approaching things and development paths, kind of like the two roots of the Unix tree AT&T and BSD. There are multiple Linux's because each feels they have better ways to approach things. Over time distros come and go and these days there are two main branchs Debian family and RedHat family and each has their own packaging approaches and tools to address differences in their Linux's. The good thing with Linux is each has influenced the other via user feedback wanting feature the other branch has. So the differenes in distros helps to spawn innovation in all the others.
- 11-14-2013 #3
Plus they also just flat out use different tool suites to do the job. "apt" is a whole set of related tools tied together in one "program". When you use something like:
sudo apt-get update
Google "apt man page" for more info. In the .deb branch "related" tools are: aptitude, dpkg (both CLI) and synaptic (GUI).
- 11-14-2013 #4
- 11-15-2013 #5
Ahh, ok, that kind of helps to clear it up a bit. I just always wondered how "Linux" could have so many different ways of doing the same thing and now I think I'm starting to understand. While Debian and Red Hat(Fedora) are a couple of the major players, Arch and OpenSUSE seems to be pretty major as well and even though I don't see it as much Slackware has been around since the early days and is probably used by quite a few folks too.
So, just how many "ways" are there? I know about "apt-get"(Debian) and "yum"(Red Hat/Fedora) and "pacman"(Arch) and there's one for OpenSUSE(can't remember it off hand, zupper or zipper, something like that) but can someone post a list of the Major Players and what "way" they use to get stuff in Terminal? Thanks.
- 11-15-2013 #6
- 11-17-2013 #7
So these are just Package Managers then?? Does that mean I could install "apt-get" in a non-Debian system and use it to manage the packages? Still not had any clear definition of which systems are the root systems.
Debian, Red Hat/Fedora, Arch, OpenSUSE, Slackware, ??? what else or are there just 5 main, core systems in place for Linux?
- 11-17-2013 #8