Member-only story
100 Days of DevOps — Day 55-Introduction to YUM
10 min readApr 6, 2019
Welcome to Day 55 of 100 Days of DevOps, Focus for today is Introduction to YUM
What is YUM?
- Yellowdog Updater Modified
- Resolve one of the major issues with rpm where we need to resolve all the package dependencies
- It acts as a frontend to rpm and handles all dependency issues
- No need to copy rpm locally
- You need to configure repositories(which is a collection of rpm files)to pull rpm(HTTP, FTP, HTTPS, local CD-ROM)
Installing Package with yum
# yum -y install bind
- -y to answer yes automatically
Download the package without installing it
# yum install --downloadonly --downloaddir=/tmp cloud-init.x86_64Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* base: mirrors.cat.pdx.edu* epel: mirrors.cat.pdx.edu* extras: mirrors.cat.pdx.edu* updates: mirrors.cat.pdx.eduResolving Dependencies--> Running transaction check---> Package cloud-init.x86_64 0:18.2-1.el7.centos.1 will be updated---> Package cloud-init.x86_64 0:18.2-1.el7.centos.2 will be an update--> Finished…