This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
remove_package [2015/06/03 20:13] – created pavroo | remove_package [2021/05/04 13:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Remove packages ===== | ===== Remove packages ===== | ||
- | Removing installed packages can be done via one of the two tools: **apt-get** or **dpkg** | + | Removing installed packages can be done via one of the two tools: **apt-get** or **dpkg**. |
- | 1. To remove an already installed package (packages), | + | Every command has to be run with super user privileges **sudo**. |
- | | + | **1**. To remove |
- | 2. To remove | + | sudo apt-get |
- | | + | **2**. To remove a package with its configuration: |
- | 3. To remove not needed dependencies, | + | sudo apt-get purge package1 |
- | | + | **3**. To remove not needed dependencies, |
- | 4. A package can be removed from the system via **dpkg** tool as well: | + | sudo apt-get autoremove |
- | dpkg -r package1.deb | + | **4**. A package can be removed from the system via **dpkg** tool as well: |
+ | |||
+ | | ||
---- | ---- | ||
- | <WRAP center box 39%> | + | <WRAP center box 75%> |
- | [[install_package|< | + | |[[install_package|< |
</ | </ |