LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How to edit yum.conf file? (https://www.linuxquestions.org/questions/fedora-35/how-to-edit-yum-conf-file-316816/)

sirius57 04-24-2005 09:12 PM

How to edit yum.conf file?
 
In fedora core 1, I want to edit the yum.conf file and add a new link. Is there a way to edit the file with root privilages in a Gnome editor, or do I need to be in a terminal window and use the ed editor (which seems too cryptic). And, how is the yum download started?

mrcheeks 04-24-2005 10:40 PM

have a look at a text editor such as vim or emacs, and the command line.

fatrandy13 04-24-2005 10:41 PM

i belive gnome's graphical text editor is called gedit.....in a terminal, as root, in the folder containing yum.conf, type:

gedit yum.conf &

of course, if gedit doesnt work, just find out the name of the graphical text editor you use.

good luck
(the '&' sign at the end allows you to close the terminal after you launch the application, without exiting the application)

Boby 04-25-2005 02:25 AM

Code:

su -
Password:
nano /etc/yum.conf

Or you can use "joe" instead of "nano".

Boby

sirius57 04-25-2005 08:16 PM

Thanks for the help. I was able to edit the file and do a yum install, however not what I was looking for. I am looking for the sound-juicer mp3 encoder. After I did yum, end of line statement: cannot find a package matching gstreamer-plugins-extra-audio. I used the following address in yum.conf http://ayo/freshrpms.net/fedor/linum/$releasever/$basearch/freshrpms Is the encoder available?

carlosinfl 04-26-2005 08:56 AM

I like using gedit:

Code:

su -
Password
gedit /etc/yum.conf


reddazz 04-26-2005 10:24 AM

That method of running gedit won't work on some distros because they don't allow graphical programs to run unless you are the one who started the x session (there are ways round this). It maybe a good idea to learn the basics of emacs, vim or nano/pico because these are the eitors you will find on most distros or if you cant log into X for some reason.

WhatsHisName 04-26-2005 07:23 PM

sirius57: Try the livna.org repository first.

http://rpm.livna.org/fedora/1/i386/y...n.3.1.i386.rpm

Look here http://rpm.livna.org/configuration.html for the Livna.org yum setup. Livna.org is full of simple fixes for fedora.

sirius57 04-26-2005 08:09 PM

Yum works fine. I know it works because it spent half an hour updating files from its stock configuration. What I need at this point is the repository for the mp3 enconder so I can use sound juicer to rip music to mp3 format. I am not interested in ogg vorbis. Or just the file name so I can search for it. Thanks again.

dj_prime 06-23-2005 11:02 AM

nano
 
THANKS boby for your input. Was looking for a terminal editor that wasn't grpahical coz I was used to pico (which I haven't been able to find in fedora - is it not supported)

Anyway, nano works just as the same so..................THANK YOU

reddazz 06-23-2005 12:00 PM

Re: nano
 
Quote:

Originally posted by dj_prime
THANKS boby for your input. Was looking for a terminal editor that wasn't grpahical coz I was used to pico (which I haven't been able to find in fedora - is it not supported)

Anyway, nano works just as the same so..................THANK YOU

Fedora has nano, which is the gnu version of pico.


All times are GMT -5. The time now is 08:17 AM.