Prev | Current Page 647 | Next

Christopher Negus

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

For example, the ssh package is very useful for
remotely accessing systems and is probably one of the first programs that you will want to install:
# apt-get install ssh
On this command, APT retrieves and installs the ssh package. If additional packages are required,
a list of those packages is displayed by APT. If you choose to continue, APT will download and
install those packages along with the package you requested.
NOTE
TIP
319
Running Debian GNU/Linux 9
When installing packages that support automatic configuration through debconf,
you??™re prompted to answer the appropriate configuration questions. While the Debian
package developers have gone to great lengths to ensure that the default options for these questions
will work in most situations, it??™s best to read the questions thoroughly to be sure that the defaults
work for you.
Removing Packages
APT can also be used to remove packages from your system. Unlike dpkg, which removes only the
package you tell it to remove, apt-get also removes any packages that depend on the package
you are removing. This is best used in conjunction with the -s option to simulate what would
happen if the removal were actually performed:
# apt-get -s remove python2.3
Reading Package Lists... Done
Building Dependency Tree.


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