User Tools

Site Tools


ubuntu:apt:install_a_package

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
ubuntu:apt:install_a_package [2023/06/18 15:07] peterubuntu:apt:install_a_package [2023/06/18 15:26] (current) peter
Line 12: Line 12:
 sudo apt install zip sudo apt install zip
 </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/install_a_package.1687100851.txt.gz · Last modified: 2023/06/18 15:07 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki