Quote:
Originally Posted by Dies
You can put the packages anywhere you want.
I'll just use /var/cache/localrepo for example you can change that to whatever you want, so just copy all your packages there then do
Code:
su -
cd /var/cache/localrepo
createrepo .
nano /etc/yum.repos.d/local.repo
Make the contents of localrepo:
Code:
[local]
name=Local Repository
failovermethod=priority
baseurl=file:///var/cache/localrepo/
enabled=1
gpgcheck=0
Save the file then do
Code:
yum clean all
yum install <something>
creatrepo should be installed by default, but if it's not then just look for it in the packages you have and install it, it shouldn't have many dependencies.

|
Hi
Do have experience with OpenSUSE ?
Can I use this method for make localrepo in OpenSUSE ?