Βοήθεια GoDaddy

How to manage packages using apt

apt is the Advanced Packaging Tool. It is a group of command-line programs that allow you to manage the set of installed packages on a system. The tool was created to run on Debian Linux releases. The primary command-line programs are apt-cache to find programs to download and install with the apt-get tool to do the actual downloading and installation. apt also manages the relationships between different packages, like if application A needs library B, apt will make sure B is installed first whenever you install A.

DIFFICULTY
strong>

Basic - 1 | Medium - 2 | Advanced - 3
td>

TIME REQUIRED
strong>

15-30+ min

RELATED PRODUCTS
strong>

Linux-based VPS or dedicated servers

If you try to execute a command that isn't found on your system, you'll be told the apt-get command to download and install the package. For instance 'xjump' is a text adventure game most people won't have installed. If you try to run the program on a machine without the game, here is what you would see:

$ xjump

The program 'xjump' is currently not installed. You can install it by typing:

sudo apt-get install xjump

You would then run the "sudo apt-get install tome" specified, providing the password and pressing Y when asked to install.