Prev | Current Page 646 | Next

Christopher Negus

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

The
package database maintained by APT includes package descriptions and other fields that can be
searched using the apt-cache utility:
# apt-cache search tetris
bsdgames--a collection of classic textual unix games
pytris--two-player networked console tetris clone
stax--collection of puzzle games similar to Tetris Attack.
Specifying multiple keywords in a search prevents apt-cache from listing packages
that do not contain all of the keywords you specify. This enables you to do very specific
searches such as word processor.
You can also use this utility to find out more information about a specific package in the
repositories:
# apt-cache show pytris
Package: pytris
Priority: optional
Section: games
Installed-Size: 101
Maintainer: Radovan Garabik
Architecture: i386
Version: 0.96
Depends: python (>=2.1), libc6 (>= 2.2.4-4)
Filename: pool/main/p/pytris/pytris_0.96_i386.deb
Size: 16304
MD5sum: 70eb8ad6f5a8a901a95eb37f7336fc57
Description: two-player networked console tetris clone
two-player networked console based tetris clone, written
in python, similar to xtet42.
To view information about a specific package that is already installed on your system,
use dpkg, as discussed later in this chapter.
Once you know the name of the package you want to install, use the install method to download
it and any packages on which it depends.


Pages:
634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658