Configure Local Yum repos not completed

I tried to finish this task, but something wrong couldn’t able finish.
Could you please share steps of this task so that i can understand my mistakes.

go to cd /etc/yum.repos.d/
sudo vi yum_local.repo
write following steps which is mention in tasks description :–

baseurl=path of local packages location

sudo yum clean all
and try to install any packages
sudo yum install nmap -y

1 Like