yum conf file - where is it??
Hi all,
as a fedora and yum newbie, I need to change the repos listed in the yum.conf file... however, I don't know where to find it. Using SSH, what command brings up the contents of the file so that I can paste the new stuff into it. I've spent all day looking for it in vain. Please help :) |
Your yum.conf should be located in /etc/. If it's missing, you may want to download the yum rpm from redhat's site and install it, that should replace the default configuration file.
|
I think it's probably just /etc/yum.conf , but i've only briefly used fedora a while back. could be wrong, but most of your confiruation files will be stored in /etc/
|
I've tried yum -c /etc/yum.conf with no luck as it tells me permission denied.
|
you don't need to specify the file, just leave off the -c /etc/yum.conf. Yum will look there automatically for it. As for the permission denied, are you root? If so, check the permissions on yum.conf. (ls -l /etc/yum.conf). The file should be owned by root and owner should have read and write permission on it. If not, you can add these (chmod u+rw /etc/yum.conf).
|
yum
/etc/yum.conf or /etc/yum.repos.d -- where you can list them individually
|
Thanks for all your help, I will try out what you suggest.
|
All times are GMT -5. The time now is 05:05 PM. |