YUM & RedHat
- Create a <RPMS> directory and copy rpms to this directory. Make sure you copy also the repodata.
- Generate repo File
# vi /etc/yum.repos.d/file.repo
[base]
name=Red Hat Enterprise Linux $releasever - $basearch - Base
baseurl=file://<RPMS>
gpgcheck=0
enabled=1 - yum should be working now
Replace <RPMS> with the path of your repository.
Labels: RPM yum RedHat
