Appendix A. Appendix

Table of Contents
Finding Packages/Tools
Further Reading
GNU Free Documentation License

Finding Packages/Tools

Finding more useful tools

If you are looking to find more tools, the GNU project (GNU's Not Unix) maintains a directory, a website listing categorized links to various free-software tools (which they consider useful) called the GNU Directory.

Also try sites such as Sweet Code which offer mailing lists of useful tools which they find.

You may also try looking at the most highly rated, most active or most downloaded programs at SourceForge and FreshMeat.

Finding a particular tool(s)

Many of the tools listed in this guide are part of a package of tools, such as diffutils which contains the various tools used to find differences between files, such as diff, sdiff, diff3, cmp. Most small tools are bundled together in this fashion. Most major distribution's will offer a search function to help you search the packages by file, you can of course do this via the command-line interface or a GUI.

If you need to search the distribution's available packages via the command-line, the method will vary depending on the distribution you are using, see the subsections below or consult your distribution's documentation (or of course the internet):

Mandriva (urpm* commands, rpm based)

To find where a particular file came from use urpmf.

Command syntax:

urpmf file_name

The results are often overwhelming as this particular command will take a string and list every file of every package in it's database that contains the particular keyword (ie. both uninstalled and installed packages). To refine the results you may want to add a pipe to it and send it through grep -w file_name (the -w option will only show you only exact (whole word) matches). How you would do this is shown below:

urpmf file_name | grep -w file_name

For more information on the urpm* commands, please refer to the tip towards the end of this section: the Section called RPM: Redhat Package Management System in Chapter 20.

Red Hat (rpm)

To find which package a particular file came from use rpm with the -qf option.

Command syntax:

rpm -qf /path/to/the/file

This will find which package the file came from. You need to use rpm -qf not with a keyword but with the location of the actual file. To find more information on the particular package listed use rpm with the -qi option.

Command syntax:

rpm -qi package_name

Note that the package name is the name of the package without the .arch.rpm (often .i386.rpm) extension on the end.

For more information on the usage of rpm, please refer to this section the Section called RPM: Redhat Package Management System in Chapter 20.

Debian (deb)

To find where a particular file came from use dpkg with the -S option.

There are two ways to do this:

dpkg -S file_name


dpkg -S /path/to/file

You may also like to try (if it's installed, it's generally a lot faster than the dpkg search):

dlocate -S file_name

For more information on dpkg and dlocate please refer to the relevant manual pages and online sources of information.

Finding package(s)

Packages can be found via the internet utilizing sites such as:

  • RPMFind for RPM based packages.

  • Debian Package Listfor deb packages.

  • RPMSeek, this site intends to index Debian packages as well as RPM.

  • TuxFinder where you can search for deb, rpm, tgz, iso and even documentation.

Also try the author's homepage and large sites such as FreshMeat and SourceForge.