From 1825a422a8052d5a0ebfa0c02def950d727e3885 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Wed, 5 Mar 2014 16:53:06 +0100 Subject: [PATCH 1/2] aptitude.md --- pages/linux/aptitude.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/linux/aptitude.md diff --git a/pages/linux/aptitude.md b/pages/linux/aptitude.md new file mode 100644 index 000000000..7a5daeaa7 --- /dev/null +++ b/pages/linux/aptitude.md @@ -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` From 662bc05ca8fbb857653c02da25718b689f4ed3b0 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Wed, 5 Mar 2014 17:18:50 +0100 Subject: [PATCH 2/2] add apropos.md --- pages/common/apropos.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/apropos.md diff --git a/pages/common/apropos.md b/pages/common/apropos.md new file mode 100644 index 000000000..ae6452775 --- /dev/null +++ b/pages/common/apropos.md @@ -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}}`