- Create a mount point, for example /mnt/CentOS
- In the /etc/yum.repos.d directory, add and edit the repository files, such as CentOS-ISO.repo
- Clean up the yum cache
- Install RPM package
[ ]# mount -o loop CentOS-7-x86_64-Everything-1611.iso/mnt/CentOS
[c7-iso]
name=CentOS-$releasever - ISO
baseurl=file:///mnt/CentOS/
gpgcheck=0
enabled=1
[ ]# sudo yum clean all
[ ]# sudo yum --disablerepo=\* --enablerepo=c7-iso install "package name"
- Install the 32-bit C library:
- [ ]# sudo yum --disablerepo=\* --enablerepo=c7-iso install glibc.i686