[CentOS] How should I reinstall CentOS?

John R Pierce pierce at hogranch.com
Tue Oct 29 23:21:17 UTC 2013


On 10/29/2013 4:13 PM, Les Mikesell wrote:
>> [hennebry at localhost rpms]$ ls
>> >atrpms-repo-6-6.el6.i686.rpm  rpmforge-release-0.5.3-1.el6.rf.i686.rpm
>> >epel-release-6-8.noarch.rpm
>> >[hennebry at localhost rpms]$
>> >?
> Yes you can use a local copy of the rpm and either 'rpm -Uhv' it or
> 'yum localinstall' it.
> or:
>
>>> >>URL to the repo release rpm, yum can install for you  with:
>>> >>yum install URL
> If you have the http URL that you used to download the rpm manually,
> you can just 'yum install URL".  Older versions of yum could not do
> that so the documentation may not mention the simple approach.


you also can...

# rpm -ivh http://path.to/yum/repo/epel-release-6-8.noarch.rpm

and rpm will wget the URL then install the downloaded file.   this has 
worked for a LONG time.


-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast




More information about the CentOS mailing list