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-11 00:36:05 +04:00
|
|
|
# apt-get
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
> Debian and Ubuntu package management utility.
|
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-11 00:36:05 +04:00
|
|
|
|
2017-09-23 13:27:18 +03:00
|
|
|
- Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
|
2015-10-22 10:00:05 +03: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-11 00:36:05 +04:00
|
|
|
`apt-get update`
|
|
|
|
|
2017-09-23 13:27:18 +03: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-11 00:36:05 +04:00
|
|
|
|
|
|
|
`apt-get install {{package}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Remove a package:
|
2015-10-22 10:00:05 +03: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-11 00:36:05 +04:00
|
|
|
`apt-get remove {{package}}`
|
|
|
|
|
2017-09-23 13:27:18 +03: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-11 00:36:05 +04:00
|
|
|
|
|
|
|
`apt-get upgrade`
|
|
|
|
|
2017-09-23 13:27:18 +03:00
|
|
|
- Remove all packages that are no longer needed:
|
2016-08-22 01:01:13 +03:00
|
|
|
|
|
|
|
`apt-get autoremove`
|
|
|
|
|
2017-09-23 13:27:18 +03: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-11 00:36:05 +04:00
|
|
|
|
|
|
|
`apt-get dist-upgrade`
|