Merge pull request #149 from Gubolin/master

aptitude.md
waldyrious/alt-syntax
Romain Prieto 2014-03-06 06:58:46 +11:00
commit 1a05cc5f7a
2 changed files with 39 additions and 0 deletions

12
pages/common/apropos.md Normal file
View File

@ -0,0 +1,12 @@
# apropos
> Search in manpages
> for example to find a new command
- search for keyword
`apropos {{regular_expression}}`
- search without restricting output to terminal width
`apropos -l {{regular_expression}}`

27
pages/linux/aptitude.md Normal file
View File

@ -0,0 +1,27 @@
# aptitude
> Debian and Ubuntu package management utility
- Synchronize list of packages and versions available. This should be run first, before running subsequent aptitude commands.
`aptitude update`
- install a new package
`aptitude install {{package}}`
- search for a package
`aptitude search {{package}}`
- remove a package
`aptitude remove {{package}}`
- Upgrade installed packages to newest available versions
`aptitude upgrade`
- Upgrade installed packages (like `aptitude upgrade`) including removing obsolete packages and installing additional packages to meet new package dependencies.
`aptitude full-upgrade`