User Tools

Site Tools


ubuntu:apt:remove_a_package

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubuntu:apt:remove_a_package [2023/06/18 15:17] – created peterubuntu:apt:remove_a_package [2023/06/18 15:27] (current) peter
Line 15: Line 15:
 </code> </code>
  
 +----
  
 +<WRAP tip>
 +**Tip**: If you want to remove a package and install a different package in one step, try:
 +
 +<code bash>
 +sudo apt remove htop vim+
 +</code>
 +
 +Another way to do the same thing:
 +
 +<code bash>
 +sudo apt install htop- vim
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  The **+** (add) and **-** (remove) suffix to package names can override and flip an install/remove switch.
 +
 +  * It is a time and typing saving feature for the apt/apt-get.
 +
 +</WRAP>
 +
 +</WRAP>
  
ubuntu/apt/remove_a_package.1687101423.txt.gz · Last modified: 2023/06/18 15:17 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki