[SOLVED] using rhel/centos 5 without connection to the internet (yum/rpm question)
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
using rhel/centos 5 without connection to the internet (yum/rpm question)
Hi all,
I wondered if it is still possible to use yum if you do not have an internet connection for a machine.
Is there any possibility to use yum with a cdrom or a local repository? Or can I use yum in a way so I don't have to resolve dependencies myself?
I wondered if it is still possible to use yum if you do not have an internet connection for a machine.
Is there any possibility to use yum with a cdrom or a local repository? Or can I use yum in a way so I don't have to resolve dependencies myself?
Thanks in advance
Yep, lots of options for setting up a local repository, Google can provide you lots of guides, too. Of course, you'll have to download everything at least once...
Yep, lots of options for setting up a local repository, Google can provide you lots of guides, too. Of course, you'll have to download everything at least once...
If found this:
Quote:
I've a feeling that this is possibly a FAQ . . . if not, it should be.
Please look at the files in your /etc/yum.repos.d/ directory. The one that is relevant to this topic is the CentOS-Media.repo file.
Hope it helps someone.
You probably can also disable those normal repos in the config file instead of doing that on the command line (I think in this example the disable has always to be put there)
Yes, that's the first thing I do when I set up a new system. I edit each
repo in each of the files in /etc/yum.repos.d and either enable or disable
each repo as needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.