CHAPTER 29 INSTALLING SOFTWARE Note If while
CHAPTER 29 INSTALLING SOFTWARE Note If while using dpkg or APT you get an error message along the lines of, Can t get a lock, make sure that the Synaptic Package Manager program isn t open. Only one piece of software can access the package database at any one time. Installing and Removing Packages The most basic APT command is apt-get. You can use this command to install or remove packages contained within the repositories as follows: sudo apt-get install packagename sudo apt-get remove packagename You should specify the program name without the version number. To install the links web browser, for example, you just need to type the following command: sudo apt-get install links Figure 29-6 shows the results. As you can see, apt-get will check dependencies, download the software, and then install it. It s a much better way of working compared with dpkg. Figure 29-6. You can use apt-getto install, remove, and update packages at the command line.