Modules - Software Modules via Apt
[edit] Overview
For users who prefer the command line environment over the web-based interface, the apt suite tools provide a way to search and install modules. The following table summarizes the most commonly used commands; detailed information follows.
| Command |
Description |
| apt-get update |
for updating the latest list of available software packages |
| apt-get upgrade |
for installing all the available updates for your current installation |
| apt-get dist-upgrade |
for installing updates after a ClarkConnect upgrade |
| apt-get install |
for downloading and installing software packages |
| apt-cache search search term |
for searching for software packages |
[edit] Finding a Module
A complete listing of all packages in the apt-get repository can be found by using the following command:
apt-cache search .
You can narrow your search by specifying a search term. For example, if you wanted to find packages relating to the Postfix SMTP mail server, you could issue the following command:
apt-cache search postfix
The response would include all packages containing the search string 'postfix':
[edit] Installing a Module
The following example would install the advanced firewall rule set from ClarkConnect.
apt-get update
apt-get install cc-firewall-advanced
The result would be something similar to the following screenshot.
[edit] Troubleshooting
Do not forget to run apt-get update before you start using the suite of apt tools. If you do not run this command first, you may find yourself using obsolete software package information.
|