|
Search:
Advanced search
|
Browse by category:
|
Glossary |
Using the Debian package manager (eg. searching for & installing files) |
|
Using aptNote, at the beginning of each command given below, is a hash (#) symbol. This represents your terminal & is not part of the command. Getting the latest list of software - apt-get updateBefore you install or search for a new file with the apt function, we must make sure the list of software we are searching is current & up-to-date. #apt-get update Now that we have updated our list of packages, we are ready to search for our first application. Searching for your packageFor this example, we are going to install the popular web-server, Apache 2. #apt-cache search apache | grep ^apache This shows us a list of packages, and from the result, we see the package's name is "apache2". Installing your first packageNow that we have found the name of the package, we are ready to install it. #apt-get install apache2 The system will then search the locations in it's sources file for the package specified. Once found, it will tell you a little information about the file & ask you to confirm the installation. For further information on configuring your packages, see their man page* or visit their website for more documentation. #man apache2 |
|
| Others in this Category | |
| Keeping your system up-to-date | |











