Chapter 9 . (Best web hosting) Running Debian GNU/Linux 317 On
Chapter 9 . Running Debian GNU/Linux 317 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. 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… Done The following packages will be REMOVED: bittornado python python2.3 python2.3-dev 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. Remv pytris (0.96 Debian:testing) Remv python (2.3.4-1 Debian:testing) Remv python2.3-dev (2.3.4-5 Debian:testing) Remv python2.3 (2.3.4-5 Debian:testing) In this example, several other packages depend on the python2.3 package and also need to be removed. To proceed with removing python2.3 and all packages that depend on it, run the command again without the -s flag. Upgrading Your System As new versions of packages become available, you can instruct APT to download and install them, automatically replacing the older versions. This is as simple as updating your package list, followed by a simple command: # apt-get upgrade When upgrading to a newer distribution, use dist-upgrade instead of upgrade. This changes the rules that APT uses when deciding which actions to take, making it expect major changes in dependencies and handle them appropriately. Note Note
Check Tomcat Web Hosting services for best quality webspace to host your web application.