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
|
|
|
|
|
|
|
|
> Debian and Ubuntu package management utility
|
|
|
|
|
|
|
|
- Synchronize list of packages and versions available. This should be run first, before running subsequent apt-get commands.
|
|
|
|
|
|
|
|
`apt-get update`
|
|
|
|
|
|
|
|
- install a new package
|
|
|
|
|
|
|
|
`apt-get install {{package}}`
|
|
|
|
|
|
|
|
|
|
|
|
- remove a package
|
|
|
|
|
|
|
|
`apt-get remove {{package}}`
|
|
|
|
|
|
|
|
- Upgrade installed packages to newest available versions
|
|
|
|
|
|
|
|
`apt-get upgrade`
|
|
|
|
|
2014-10-01 12:12:34 +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`
|