LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Different ways of installing packages in CENTOS (https://www.linuxquestions.org/questions/linux-newbie-8/different-ways-of-installing-packages-in-centos-744721/)

fizeelinux 08-03-2009 05:30 AM

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.

centosboy 08-03-2009 05:52 AM

Quote:

Originally Posted by fizeelinux (Post 3629375)
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/


All times are GMT -5. The time now is 07:16 AM.