1
edit
Changes
→BASH SCRIPTING
========================
</pre><pre>
======================== RPM ========================
4. Viewing the documentation files for the command wget:
$ rpm -qd wget
5. Listing all files included in the not yet installed package wget by entering the following:
$ rpm -qpl /mnt/iso/suse/i586/wget-1.10.2-78.i586.rpm
6. Listing all files included in the installed package wget:
7. Verifying that a package is no longer installed by entering:
$ rpm -qa | grep wget
8. Seeing what has changed in the files on your hard drive since the wget RPM was originally installed by entering the following:
$ rpm -V wget
9. Checking package to ensure its integrity and origin: (NOTE: gpg or pgp software must be installed on your system before you use this command)
$ rpm -K /mnt/iso/suse/i586/wget-1.10.2-78.i586.rpm
2. Uninstalling the package wget:
$ rpm -e wget
3. Upgrading the package wget: (NOTE: if the package is not installed it will install it for You, like option "-ivh")
$ rpm -Uvh /mnt/iso/suse/i586/wget-1.10.2-78.i586.rpm
4. Extracting RPM file using rpm2cpio and cpio command: (NOTE: RPM content will be extracted the current directory)
$ rpm2cpio wget-1.10.2-78.i586.rpm | cpio -idmv