Run man sources.list on any Debian system for more information.
If you aren??™t going to have your Debian CD available all the time, you may want to remove the
cdrom: entry from the file. Use a text editor (as root user) to edit the file:
# editor /etc/apt/sources.list
Make any changes you need to the file, exit the editor, and then update the package database as
described in the following section.
Astute readers may notice that the pager and editor commands used in this section
are not common UNIX commands. Both are pointers to programs and are managed
using Debian??™s alternatives system, which is discussed later in this chapter.
Updating the APT Package Database
Because the lists of packages available in the Debian package repositories may change from time to
time, you need to instruct APT to download these lists and update its database occasionally. To perform
this process, run the following command:
# apt-get update
You generally want to run this command before installing new packages so that you do not download
an older version. Run it before checking for upgrades as well.
NOTE
NOTE
NOTE
318
Choosing and Installing a Linux Distribution Part III
Finding and Installing Packages
When looking for new packages to install, you may not always know what package you want.
Pages:
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657