Finding Packages

A good place to look for interesting packages is Daniel Veillard’s RPM repository, http://rpmfind.net/linux/RPM. Mirror sites are available for speedy access across North America and other parts of the world.[6]

The rpmfind utility can help you locate and download packages. You can find rpmfind on Disc 2 of Red Hat Linux. To install it, insert Disc 2 into your system’s CD-ROM and issue the following commands:

su -
mount -t iso9660 /dev/cdrom /mnt/cdrom -o ro
rpm --replacepkgs -Uvh /mnt/cdrom/RedHat/RPMS/rpmfind-*.rpm
umount /mnt/cdrom
exit

To use rpmfind, type a command like this one:

            rpmfind --apropos vnc

The command will search the RPM database on rpmfind.net, reporting the name of each package having a description that includes the letters vnc:

Loading catalog to /root/.rpmfinddir/fullIndex.rdf.gz
Searching the RPM catalog for vnc ...
1: ftp://ftp.redhat.com/pub/redhat/linux/7.0/en/os/i386
  /SRPMS/vnc-3.3.3r1-9.src.rpm
  vnc : Virtual Network Computing

etc.

Found 95 packages related to vnc

Often, rpmfind finds many packages. You should check for packages that have the appropriate architecture (i386). For best results, you should ignore packages other than those built for use with Red Hat Linux 7.x, which you can generally recognize by inspecting the URL.

To download and install a package, type a command like this one, which installs the vnc package:

            rpmfind vnc
Installing vnc will require 88 KBytes

### To Transfer:
ftp://ftp.redhat.com/pub/redhat/linux/7.2/en/os/i386/RedHat/RPMS/
  vnc-3.3.3r2-18.i386.rpm
Do you want to download these files to /tmp [Y/n/a] ? :

The rpmfind utility prompts you to authorize download and installation of the files. If you decide you don’t want to download the files, simply respond by typing n.



[6] For a complete list of mirrors, go to http://rpmfind.net/linux/rpm2html/mirrors.html.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.105.83