LinuxQuestions.org
Visit Jeremy's Blog.
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 12-12-2007, 07:23 AM   #1
krkufu
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Help me in installing packages in Redhat 5


Hello All,

I krkufu,& as i am new to linux, i installed Redhat 5 in my PC. I don't know how to create a Client repository, server repository, group repository. please help in creating repository so that i can able to install the packages.

So please help me in creating repositories & installation of new packages

Thanks

Krkufu
 
Old 12-12-2007, 07:41 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 39
Hi and welcome to LinuxQuestions.org.

In RHEL you usually install software from Red Hat Network for which you need an active subscription.

With the following command you are able to register your system:

Code:
# rhn_register
Then you will be able to install software with yum:

Code:
# yum install packagename
If you do not have an Red Hat subscriptions you may have a look at Fedora or CentOS. There you may install packages from public yum repositories.

To add new repositories you have to place .repo files in /etc/yum.repos.d.

A repo file may look like this example:

Code:
$ cat /etc/yum.repos.d/rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 4 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
Some repositories are packaged as RPM so you can import them with:

Code:
# rpm -ivh http://url.to/repo.file.com.RPM
Or you can download them from a website:
Code:
# cd /etc/yum.repos.d/ && wget  http://url.to./repofile.repo
 
Old 12-14-2007, 08:28 AM   #3
krkufu
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Smile Hello,

Thanks for sending this bunch of information. As i don't have a activation serial key, i will use those steps on either Fedora or cent OS.

Once again thanks... in case if i face a problem, i will definitely get back to get the help...

Bye
krkufu
 
  


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
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 01:27 PM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 08:36 AM
Installing packages from cd (redhat 9) Snowie Linux - General 1 03-11-2004 04:27 AM
redhat-config-packages error (thinks it is redhat and not fedora) qwijibow Fedora 3 12-17-2003 08:59 PM
redhat 9 installing additional packages from cd Goog Linux - Distributions 6 04-05-2003 12:49 PM


All times are GMT -5. The time now is 08:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration