LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2004, 09:39 AM   #1
ilectrcbob
Member
 
Registered: Jun 2004
Location: Vienna
Distribution: FC 3
Posts: 54

Rep: Reputation: 15
help me to add support!


Quote:
Add support for other repositories
Fedora comes with a ton of software but there are still plenty of packages of interest to most users that are not included for a variety of reasons. This is where you find the MP3 plug-in and a ton of other packages. A nice side effect of setting it up this way is that the Red Hat Network Alert icon on your GNOME desktop will also let you know of updates to these user contributed packages as well.

Before you add repositories it's probably a good idea to make sure your system is fully up2date first. Adding support is easy, just add the following lines to your /etc/sysconfig/rhn/sources You'll need to add the second line to include the fedora.us repository as the they work together hand in hand.

# Macromedia Flash plug-in only
apt macromedia http://ruslug.rutgers.edu macromedia/apt/fedora/2 macromedia
# User contributed archives
yum livna-stable http://rpm.livna.org/fedora/2/i386/yum/stable/
apt fedora-us-stable-fc2 http://download.fedora.us fedora/fedora/2/i386 stable

For security reasons the packages in these repositories are GPG signed to protect their integrity so you'll need to get and install the public keys:

# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
# rpm --import http://www.fedora.us/FEDORA-GPG-KEY
i have found the following guide here: http://home.gagme.com/greg/linux/fc2-tips.php#other

Can someone explain me the lines i have quoted??
i mean how the heck can i add it to /etc/sysconfig/rhn/sources??
 
Old 06-19-2004, 09:38 AM   #2
drowstar
Member
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware, Gentoo, Fedora
Posts: 205

Rep: Reputation: 30
Hi ilectrcbob!
I mean how the heck can i add it to /etc/sysconfig/rhn/sources??
Short version:
As root, edit the file /etc/sysconfig/rhn/sources and type the lines at the end of the file.

Long version:
Switch to a console
Hit [alt+f1] to get to a text login
log in as root
Enter root as user name, hit enter and enter your administrator (root) password (enter again).
This is what people mean, when they tell you to "become root".
Case you are interested: You can stay in your graphical session and open a terminal. In KDE you would do that this way: [alt+f2]konsole[enter]. (In Gnome you need to find something like it in the menu, because I dont know, what they call it. sorry. the rest is identical.) This will open a nice window with the same features as the terminal. To become root, you need to issue the command su - instead of logging in the normal way. This is probably a better way, but I find it more difficult to explain.

Open the file
Type nano -w /etc/sysconfig/rhn/sources
Add the lines
Use your arrow keys to get to the end of the file and add the lines as they were supplied:
Code:
# Macromedia Flash plug-in only
 apt macromedia http://ruslug.rutgers.edu macromedia/apt/fedora/2 macromedia
 # User contributed archives
 yum livna-stable http://rpm.livna.org/fedora/2/i386/yum/stable/
 apt fedora-us-stable-fc2 http://download.fedora.us fedora/fedora/2/i386 stable
You will probably need to see these lines while doing that. Hit [alt+f7] to return to your graphical session. [alt+f1] gets you back to the console.
save and close the file
Hit [ctrl+x], tell the program you want to say by hitting [y]
run the listed commands
Apt will complain, if you feed it sources it doesnt know. You need to tell it, that there is no need to worry. For this reason, you need to run these commands:
You can update your apt-tree right away by entering apt-get update or something similar. Check the man pages (man apt-get) for more information.
you're done
enter exit to close your session. Hit [alt+f7] to get back to your graphical session.

By the way, you can easily add more sources by adding lines like that at the same place.

I hope I was able to help you,
- drowstar
 
  


Reply



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
How to add ipv6 support to kernel 2.4.21 raver Linux - Networking 4 08-14-2007 06:05 PM
How To Add Ntfs Support XSquire Debian 21 10-07-2005 02:46 AM
how to add ac3 codec support? bruno buys Linux - Software 0 11-06-2003 03:00 PM
How to add OpenGL support? simanyay Slackware 6 07-11-2003 08:58 AM
How to add another language support for RedHat? yuzuohong Linux - General 1 11-20-2002 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 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