Re: installing packages from CD command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 10 July 2003 09:59, Globe Trotter wrote:
> How do I install a package from the CD (CD 1) using command line?
>
> Thanks and best wishes!
>

If I have a large drive, I "dd" the CDs to the hard drive.

# cd /usr/src
# mkdir ISO
# cd ISO
<insert CD 1>
# dd if=/dev/cdrom of=CD-1.iso
<wait till it is done, then insert CD 2>
# dd if=/dev/cdrom of=CD-2.iso
<and so on for all the CDs.>

Next, I mount the ISOs from the hard drive.

# mkdir CD-1
# mount -o loop CD-1.iso CD-1
<same for CD 2 and so on>

Now, I don't have to use the CD-ROMs anymore. I can access them from the hard 
drive in the CD-1, CD-2, and more directories. I noticed that CD-ROM is 
usually much slower than hard disk, so this saves a lot of time when I am 
looking for an RPM that I don't know which disk it is on.

- -- 
Jonathan Gardner <jgardner@xxxxxxxxxxxxxxxxxxx>
(was jgardn@xxxxxxxxxxxxxxxxxxxxx)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/DthPWgwF3QvpWNwRApB6AKCSLidWh6DE/utIv7XacYabec3XoACfQJlZ
w3HZ0JlhTtlKFS9PefC6omc=
=7z+r
-----END PGP SIGNATURE-----




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux