28 yum command examples for package management in Linux part 1
Introduction For managing software via the command line on our Redhat and Centos systems, we could use rpm directly or use yum which is somewhat of a feature rich front end for rpm. We covered the Linux rpm command and it’s features extensively in an earlier article. Yum is an acronym for yollowdog updater modified. The name yellowdog comes from a distribution of Linux which was focussed on IBMs’ power line of systems in the early 2000s. The yum package manager is an earlier implementation of yep, the package manager used by yellowdog Linux. Yum sitting on top of rpm is the default package management interface for Redhat and Centos systems and older versions of Fedora. After Fedora 22 onwards, yum was switched in favor of dnf and we will cover dnf in a future post. The major advantage of using yum over rpm is that yum manages dependencies for packages automatically. So if a package requires python or ruby or any other package then yum will go out and fetch and install these packages and any other dependencies which are needed by the package that we are trying to install. If you are trying to install a package that has dependencies via rpm, then you need to be aware of those dependencies and have the rpm package files for those dependencies available and installed on the system. We...
Read More