LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum Installation (https://www.linuxquestions.org/questions/linux-newbie-8/yum-installation-853374/)

pallavibhat89 12-30-2010 10:41 PM

yum Installation
 
I have a question regarding yum installer

from where does yum fetch the installation files, when we run yum install <package>

i know it refers yum repository, but where exactly is this YUM repository located?

Linux_Revolution 12-30-2010 10:59 PM

Which distro are you using?

DragonSlayer48DX 12-30-2010 11:38 PM

Hi, and welcome to LQ!

The 'yum' repos would be on the Red Hat servers. Fedora is their 'testing' level distro, Red Hat is the stable enterprise version, and CentOS is the free stable release.

Cheers

ubyt3m3 12-30-2010 11:47 PM

For RHEL/Fedora/CentOS, yum repository is defined in /etc/yum.conf and/or /etc/yum.repo.d/*.repo

-gibb

vikas027 12-30-2010 11:54 PM

Quote:

Originally Posted by ubyt3m3 (Post 4208423)
For RHEL/Fedora/CentOS, yum repository is defined in /etc/yum.conf and/or /etc/yum.repo.d/*.repo

-gibb

I think there was a typo error. It is /etc/yum.repos.d/


Code:

[root@box1 ~]# ls -ld /etc/yum.repos.d/
drwxr-xr-x 2 root root 4096 Dec 31 09:32 /etc/yum.repos.d/
[root@box1 ~]#
[root@box1 ~]# ls -l /etc/yum.repos.d/*.repo
-rw-r--r-- 1 root root 299 Dec 31 09:32 /etc/yum.repos.d/vikas.repo


linuxlover.chaitanya 12-31-2010 12:03 AM

And you can see the repository configuration location and find out if you want.
But I seem not to have understood you correctly. Are you talking about the physical location of the yum repo server or just the configuration section on your local machine?

prashant.rinwa 12-31-2010 01:01 AM

Quote:

Originally Posted by pallavibhat89 (Post 4208393)
I have a question regarding yum installer

from where does yum fetch the installation files, when we run yum install <package>

i know it refers yum repository, but where exactly is this YUM repository located?


when you try to install yum server that time you copy your file in cd/var/ftp/pub.


All times are GMT -5. The time now is 09:35 AM.