A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
# apt-get
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Debian and Ubuntu package management utility.
|
2018-07-31 20:36:08 +01:00
|
|
|
> Search for packages using `apt-cache`.
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
2017-09-23 11:27:18 +01:00
|
|
|
- Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
|
2015-10-22 08:00:05 +01:00
|
|
|
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
`apt-get update`
|
|
|
|
|
2017-09-23 11:27:18 +01:00
|
|
|
- Install a package, or update it to the latest available version:
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
|
|
|
`apt-get install {{package}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Remove a package:
|
2015-10-22 08:00:05 +01:00
|
|
|
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
`apt-get remove {{package}}`
|
|
|
|
|
2019-02-11 13:28:03 +00:00
|
|
|
- Remove a package and its configuration files:
|
|
|
|
|
|
|
|
`apt-get purge {{package}}`
|
|
|
|
|
2017-09-23 11:27:18 +01:00
|
|
|
- Upgrade all installed packages to their newest available versions:
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
|
|
|
`apt-get upgrade`
|
|
|
|
|
2020-09-04 23:46:48 +01:00
|
|
|
- Clean the local repository - removing package files (.deb) from interrupted downloads that can no longer be downloaded:
|
|
|
|
|
|
|
|
`apt-get autoclean`
|
|
|
|
|
2017-09-23 11:27:18 +01:00
|
|
|
- Remove all packages that are no longer needed:
|
2016-08-21 23:01:13 +01:00
|
|
|
|
|
|
|
`apt-get autoremove`
|
|
|
|
|
2017-09-23 11:27:18 +01:00
|
|
|
- Upgrade installed packages (like `upgrade`), but remove obsolete packages and install additional packages to meet new dependencies:
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
|
|
|
`apt-get dist-upgrade`
|