# aptitude install package1 package2-
# aptitude remove package1+ package2
We learn from community all over the world and we would like to contribute back. We hope to build a knowledge society and share interest on information technology topics through this site.
Showing posts with label aptitude. Show all posts
Showing posts with label aptitude. Show all posts
Friday, October 11, 2013
[debian] installing and removing with the same command
When you need to install a package and remove a package, you can do it with a single command than two separate commands. This can be achieve by appending a suffix to the package name. When the aptitude install command is used, a '-' to the suffix of the package name is to remove the package while an aptitude command remove with a '+' suffix to the package name is to install the package.
Subscribe to:
Posts (Atom)