ubuntu:apt:install_a_package
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:apt:install_a_package [2023/06/18 15:07] – peter | ubuntu:apt:install_a_package [2023/06/18 15:26] (current) – peter | ||
---|---|---|---|
Line 12: | Line 12: | ||
sudo apt install zip | sudo apt install zip | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | <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+ | ||
+ | </ | ||
+ | |||
+ | Another way to do the same thing: | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install htop- vim | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * It is a time and typing saving feature for the apt/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | </ | ||
+ |
ubuntu/apt/install_a_package.1687100851.txt.gz · Last modified: 2023/06/18 15:07 by peter