sudo apt-get install <package_name>
sudo apt-get install <package1_name> <package2_name> <package3_name>
apt-get [options] [-o config=string] [-c=cfgfile] command [pkg]
Command | Description |
---|---|
update | Used to re-synchronize the package index files from their sources. An update should always be performed before an upgrade or dist-upgrade. |
upgrade | Used to install the newest versions of all packages currently installed on the system. |
install | This option is followed by one or more packages desired for installation. |
remove | Identical to install except that packages are removed instead of installed. |
------ | ------ |
Options | Description |
-y, --yes, --assume-yes | Automatic yes to prompts. Assume "yes" as answer to all prompts and run non-interactively. |
-h, --help | Show a short usage summary. |