LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-24-2005, 09:12 PM   #1
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Rep: Reputation: 36
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?
 
Old 04-24-2005, 10:40 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
have a look at a text editor such as vim or emacs, and the command line.
 
Old 04-24-2005, 10:41 PM   #3
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
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)

Last edited by fatrandy13; 04-26-2005 at 03:49 PM.
 
Old 04-25-2005, 02:25 AM   #4
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Code:
su -
Password:
nano /etc/yum.conf
Or you can use "joe" instead of "nano".

Boby
 
Old 04-25-2005, 08:16 PM   #5
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
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?
 
Old 04-26-2005, 08:56 AM   #6
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
I like using gedit:

Code:
su -
Password
gedit /etc/yum.conf
 
Old 04-26-2005, 10:24 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 04-26-2005, 07:23 PM   #8
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
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.
 
Old 04-26-2005, 08:09 PM   #9
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
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.
 
Old 06-23-2005, 11:02 AM   #10
dj_prime
LQ Newbie
 
Registered: Oct 2004
Posts: 23

Rep: Reputation: 15
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
 
Old 06-23-2005, 12:00 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
edit a .conf file master Linux - General 7 10-13-2005 05:49 PM
How to edit /etc/modules.conf file? Mateo1041 Linux - Newbie 4 11-19-2004 12:18 PM
how and where to edit the resolv.conf file? apu95 Linux - Wireless Networking 3 05-05-2004 11:10 PM
How to edit grub.conf file? hnash53 Linux - Software 1 12-12-2003 12:33 AM
How do I edit /etc/modules.conf file? GrapeApe Linux - Newbie 10 11-13-2003 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration