Prev | Current Page 667 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

RPM contains a lot of features for adding, removing, and
managing software in SUSE. Although software packages in the Red Hat and SUSE distributions
are different, the tools you use for managing packages in those two distributions are the same.
You use the rpm utility to work with RPM software packages. Here??™s a list of some of its features:
 Installing local or remote packages??”You can use the rpm command to add a software
package to SUSE, and rpm doesn??™t care if the package is in the local directory, CD, or
332
Choosing and Installing a Linux Distribution Part III
remote computer (provided you have network access to that computer). A remote
package can be available on a Web server (http://) or FTP server (ftp://). Here??™s an
example of using an rpm command to install a software package from an FTP server:
# rpm -iv ftp://ftp.linuxtoys.net/pub/suse/10.2/abc.i586.rpm
In this example, the -i option says to install the package, and the -v option says to give
verbose output as the package is installed. The fictitious package (abc.i586.rpm) is
installed from an FTP repository. If there are dependency or access issues, rpm informs
you and fails. Otherwise, the package is installed. (The -U option is often used instead of
the -i option to install RPMs because -U succeeds even if the package is already
installed.


Pages:
655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679