LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-03-2009, 05:30 AM   #1
fizeelinux
Member
 
Registered: Nov 2008
Posts: 91

Rep: Reputation: 15
Smile Different ways of installing packages in CENTOS


Hi all,
Can anyone tell me the different ways of installing software packages in CENTOS 5.3.

As of now i have created a new repository with the following content.

[My_RPM]
name=CENTOS 5.3
baseurl=file:///RPM/
enabled=1
gpgchk=no

This is working perfectly with rpm command and yum command.I want to know how to install packages via http or ftp as baseurl.I dont really have any idea on it.Please assist me on this.Thanks.
 
Old 08-03-2009, 05:52 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by fizeelinux View Post
Hi all,
Can anyone tell me the different ways of installing software packages in CENTOS 5.3.

As of now i have created a new repository with the following content.

[My_RPM]
name=CENTOS 5.3
baseurl=file:///RPM/
enabled=1
gpgchk=no

This is working perfectly with rpm command and yum command.I want to know how to install packages via http or ftp as baseurl.I dont really have any idea on it.Please assist me on this.Thanks.
does that really work?
so all your installation rpms are in a base directory called RPM right?


anyway, you can see many examples by looking at the default repo files that are set up during an install


Code:
/etc/yum.repos.d/
 
  


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
Installing packages for NTFS support on CentOS 5.2 oceanarches Linux - Newbie 4 07-25-2009 10:44 PM
Mp3 packages for CentOS 4.4? Guignol Linux - Software 3 01-09-2007 08:21 AM
Ways to check packages bipins1979 Linux - Software 1 03-22-2005 05:17 AM
ways of installing debian... debnewb Debian 8 02-19-2005 04:28 PM
other ways of installing slack 9.0? RIgimp75 Slackware 2 06-20-2003 02:42 PM

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

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