mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 00:47:55 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Synchronize list of packages and versions available. This should be run first, before running subsequent `aptitude` commands:
|
||||
|
||||
`aptitude update`
|
||||
`sudo aptitude update`
|
||||
|
||||
- Install a new package and its dependencies:
|
||||
|
||||
`aptitude install {{package}}`
|
||||
`sudo aptitude install {{package}}`
|
||||
|
||||
- Search for a package:
|
||||
|
||||
@@ -26,16 +26,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Remove a package and all packages depending on it:
|
||||
|
||||
`aptitude remove {{package}}`
|
||||
`sudo aptitude remove {{package}}`
|
||||
|
||||
- Upgrade installed packages to the newest available versions:
|
||||
|
||||
`aptitude upgrade`
|
||||
`sudo aptitude upgrade`
|
||||
|
||||
- Upgrade installed packages (like `aptitude upgrade`) including removing obsolete packages and installing additional packages to meet new package dependencies:
|
||||
|
||||
`aptitude full-upgrade`
|
||||
`sudo aptitude full-upgrade`
|
||||
|
||||
- Put an installed package on hold to prevent it from being automatically upgraded:
|
||||
|
||||
`aptitude hold '?installed({{package}})'`
|
||||
`sudo aptitude hold '?installed({{package}})'`
|
||||
|
||||
Reference in New Issue
Block a user