installing rpms from yum
Matthew Miller
mattdm at mattdm.org
Fri Apr 29 14:32:52 UTC 2005
On Fri, Apr 29, 2005 at 09:22:05AM -0500, akonstam at trinity.edu wrote:
> However if you want yum to install files found on your machine they
> have to be in a directory hierarchy that corresposnds to the one laid
> out in the yum.conf file. Usually to avoid confusion I make the
> hierarchy the same as that in the repository the files came from.
What do you mean?
tmp$ ls
tmp$ wget ftp://[...]/tidy-0.99.0-0.fdr.2.20040916.2.bu45.3.i386.rpm
[...] `tidy-0.99.0-0.fdr.2.20040916.2.bu45.3.i386.rpm' saved
tmp$ ls
tidy-0.99.0-0.fdr.2.20040916.2.bu45.3.i386.rpm
tmp$ sudo yum install tidy-0.99.0-0.fdr.2.20040916.2.bu45.3.i386.rpm
Setting up Install Process
Setting up repositories
bulinux-base 100% |=========================| 1.1 kB 00:00
bulinux-updates 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Examining tidy-0.99.0-0.fdr.2.20040916.2.bu45.3.i386.rpm: tidy -
0.99.0-0.fdr.2.20040916.2.bu45.3.i386
Marking tidy-0.99.0-0.fdr.2.20040916.2.bu45.3.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package tidy.i386 0:0.99.0-0.fdr.2.20040916.2.bu45.3 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
tidy i386 0.99.0-0.fdr.2. tidy-0.99.0-0.fd 253 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 253 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: tidy ######################### [1/1]
Installed: tidy.i386 0:0.99.0-0.fdr.2.20040916.2.bu45.3
Complete!
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 72 degrees Fahrenheit.
More information about the users
mailing list