RE: Uninstalling progrms?

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

 



On Fri, 2005-02-18 at 17:30 -0500, Shawn Iverson wrote:
> If there was one thing that I wish that I knew sooner as a newbie, it
> would be "Where in the heck is all the local documentation?"  If you're
> interested in learning some basic linux commands, such as rpm and yum,
> etc. I recommend that you read on.
> 
> Use man on the command line:

(snip lots of useful stuff)

If you want information about a particular package you've installed,
it's also quite useful to use rpm to tell you a list of files in that
package; this can often reveal the location of useful README and other
documentation files, e.g.

$ rpm -ql fedora-release
/etc/fedora-release
/etc/issue
/etc/issue.net
/etc/redhat-release
/etc/sysconfig/rhn
/etc/sysconfig/rhn/sources
/etc/yum.repos.d
/etc/yum.repos.d/fedora-devel.repo
/etc/yum.repos.d/fedora-updates-testing.repo
/etc/yum.repos.d/fedora-updates.repo
/etc/yum.repos.d/fedora.repo
/usr/share/doc/HTML
/usr/share/doc/HTML/css
/usr/share/doc/HTML/css/content.css
/usr/share/doc/HTML/css/docbook.css
/usr/share/doc/HTML/css/layout.css
/usr/share/doc/HTML/css/print.css
/usr/share/doc/HTML/img
/usr/share/doc/HTML/img/corner-bl.png
/usr/share/doc/HTML/img/corner-br.png
/usr/share/doc/HTML/img/corner-tl.png
/usr/share/doc/HTML/img/corner-tr.png
/usr/share/doc/HTML/img/header-download.png
/usr/share/doc/HTML/img/header-faq.png
/usr/share/doc/HTML/img/header-fedora_logo.png
/usr/share/doc/HTML/img/header-projects.png
/usr/share/doc/HTML/index.html
/usr/share/doc/fedora-release-3
/usr/share/doc/fedora-release-3/GPL
/usr/share/doc/fedora-release-3/README-Accessibility
/usr/share/doc/fedora-release-3/README-x86-en
/usr/share/doc/fedora-release-3/README-x86-en.html
/usr/share/doc/fedora-release-3/RELEASE-NOTES-x86-en
/usr/share/doc/fedora-release-3/RELEASE-NOTES-x86-en.html
/usr/share/doc/fedora-release-3/RPM-GPG-KEY
/usr/share/doc/fedora-release-3/RPM-GPG-KEY-beta
/usr/share/doc/fedora-release-3/RPM-GPG-KEY-fedora
/usr/share/doc/fedora-release-3/RPM-GPG-KEY-fedora-rawhide
/usr/share/doc/fedora-release-3/RPM-GPG-KEY-fedora-test
/usr/share/doc/fedora-release-3/RPM-GPG-KEY-rawhide
/usr/share/doc/fedora-release-3/autorun-template
/usr/share/doc/fedora-release-3/eula.txt
/usr/share/eula/eula.en_US
/usr/share/firstboot/modules/eula.py

Amongst the files listed above are the release notes and a README, for
instance. There are GPG keys there too.

$ rpm -ql rpm
/bin/rpm
/etc/cron.daily/rpm
/etc/logrotate.d/rpm
/etc/rpm
/usr/bin/gendiff
/usr/bin/rpm2cpio
/usr/bin/rpmdb
/usr/bin/rpmquery
/usr/bin/rpmsign
/usr/bin/rpmverify
/usr/lib/rpm
/usr/lib/rpm/athlon-linux
/usr/lib/rpm/athlon-linux/macros
/usr/lib/rpm/config.guess
/usr/lib/rpm/config.sub
/usr/lib/rpm/convertrpmrc.sh
/usr/lib/rpm/i386-linux
/usr/lib/rpm/i386-linux/macros
/usr/lib/rpm/i486-linux
/usr/lib/rpm/i486-linux/macros
/usr/lib/rpm/i586-linux
/usr/lib/rpm/i586-linux/macros
/usr/lib/rpm/i686-linux
/usr/lib/rpm/i686-linux/macros
/usr/lib/rpm/macros
/usr/lib/rpm/mkinstalldirs
/usr/lib/rpm/noarch-linux
/usr/lib/rpm/noarch-linux/macros
/usr/lib/rpm/rpm.daily
/usr/lib/rpm/rpm.log
/usr/lib/rpm/rpm.xinetd
/usr/lib/rpm/rpm2cpio.sh
/usr/lib/rpm/rpmd
/usr/lib/rpm/rpmdb_deadlock
/usr/lib/rpm/rpmdb_dump
/usr/lib/rpm/rpmdb_load
/usr/lib/rpm/rpmdb_loadcvt
/usr/lib/rpm/rpmdb_stat
/usr/lib/rpm/rpmdb_svc
/usr/lib/rpm/rpmdb_verify
/usr/lib/rpm/rpme
/usr/lib/rpm/rpmfile
/usr/lib/rpm/rpmi
/usr/lib/rpm/rpmk
/usr/lib/rpm/rpmpopt-4.3.2
/usr/lib/rpm/rpmq
/usr/lib/rpm/rpmrc
/usr/lib/rpm/rpmu
/usr/lib/rpm/rpmv
/usr/lib/rpm/tgpg
/usr/share/doc/rpm-4.3.2
/usr/share/doc/rpm-4.3.2/BETA-GPG-KEY
/usr/share/doc/rpm-4.3.2/CHANGES
/usr/share/doc/rpm-4.3.2/GROUPS
/usr/share/doc/rpm-4.3.2/Makefile
/usr/share/doc/rpm-4.3.2/Makefile.am
/usr/share/doc/rpm-4.3.2/Makefile.in
/usr/share/doc/rpm-4.3.2/RPM-GPG-KEY
/usr/share/doc/rpm-4.3.2/RPM-PGP-KEY
/usr/share/doc/rpm-4.3.2/builddependencies
/usr/share/doc/rpm-4.3.2/buildroot
/usr/share/doc/rpm-4.3.2/conditionalbuilds
/usr/share/doc/rpm-4.3.2/dependencies
/usr/share/doc/rpm-4.3.2/format
/usr/share/doc/rpm-4.3.2/hregions
/usr/share/doc/rpm-4.3.2/macros
/usr/share/doc/rpm-4.3.2/multiplebuilds
/usr/share/doc/rpm-4.3.2/queryformat
/usr/share/doc/rpm-4.3.2/relocatable
/usr/share/doc/rpm-4.3.2/rollbacks
/usr/share/doc/rpm-4.3.2/signatures
/usr/share/doc/rpm-4.3.2/spec
/usr/share/doc/rpm-4.3.2/triggers
/usr/share/doc/rpm-4.3.2/tsort
/usr/share/locale/cs/LC_MESSAGES/rpm.mo
/usr/share/locale/da/LC_MESSAGES/rpm.mo
/usr/share/locale/de/LC_MESSAGES/rpm.mo
/usr/share/locale/fi/LC_MESSAGES/rpm.mo
/usr/share/locale/fr/LC_MESSAGES/rpm.mo
/usr/share/locale/gl/LC_MESSAGES/rpm.mo
/usr/share/locale/is/LC_MESSAGES/rpm.mo
/usr/share/locale/ja/LC_MESSAGES/rpm.mo
/usr/share/locale/ko/LC_MESSAGES/rpm.mo
/usr/share/locale/no/LC_MESSAGES/rpm.mo
/usr/share/locale/pl/LC_MESSAGES/rpm.mo
/usr/share/locale/pt/LC_MESSAGES/rpm.mo
/usr/share/locale/pt_BR/LC_MESSAGES/rpm.mo
/usr/share/locale/ro/LC_MESSAGES/rpm.mo
/usr/share/locale/ru/LC_MESSAGES/rpm.mo
/usr/share/locale/sk/LC_MESSAGES/rpm.mo
/usr/share/locale/sl/LC_MESSAGES/rpm.mo
/usr/share/locale/sr/LC_MESSAGES/rpm.mo
/usr/share/locale/sv/LC_MESSAGES/rpm.mo
/usr/share/locale/tr/LC_MESSAGES/rpm.mo
/usr/share/man/ja/man8/rpm.8.gz
/usr/share/man/ja/man8/rpm2cpio.8.gz
/usr/share/man/ja/man8/rpmbuild.8.gz
/usr/share/man/ja/man8/rpmcache.8.gz
/usr/share/man/ja/man8/rpmgraph.8.gz
/usr/share/man/man1/gendiff.1.gz
/usr/share/man/man8/rpm.8.gz
/usr/share/man/man8/rpm2cpio.8.gz
/usr/share/man/pl/man1/gendiff.1.gz
/usr/share/man/pl/man8/rpm.8.gz
/usr/share/man/pl/man8/rpm2cpio.8.gz
/usr/share/man/pl/man8/rpmbuild.8.gz
/usr/share/man/pl/man8/rpmcache.8.gz
/usr/share/man/pl/man8/rpmdeps.8.gz
/usr/share/man/pl/man8/rpmgraph.8.gz
/usr/share/man/ru/man8/rpm.8.gz
/usr/share/man/ru/man8/rpm2cpio.8.gz
/usr/share/man/sk/man8/rpm.8.gz
/var/lib/rpm
/var/lock/rpm
/var/spool/repackage

So we can see that the "rpm" package contains man pages in a few
different languages and plenty of documentation in
the /usr/share/doc/rpm-4.3.2 directory.

Try it with other packages and see what's there...

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux