apt
Quick Reference
Command Name:
apt
Category:
file management
Platform:
Linux/Unix
Basic Usage:
Common Use Cases
- 1
Package installation
Install software packages with automatic dependency resolution
- 2
System updates
Update the system and installed packages to latest versions
- 3
Package management
Search, install, remove, and manage software packages
- 4
Repository management
Add, remove, and configure software repositories
Syntax
apt [OPTION]... [FILE]...
Options
| Option | Description |
|---|---|
-l |
Use a long listing format |
-a |
Show hidden entries starting with . |
-h |
Human-readable sizes |
-R |
List subdirectories recursively |
Examples
How to Use These Examples
The examples below show common ways to use the apt command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.