« Enabling and
Using apt-get in Ubuntu Linux
By admin | September 21, 2008
If you ever need to install packages (built-in), but cannot use Synaptic, then here are some useful tips on using apt-get in Ubuntu:
- sudo apt-get install package – Installs package and it’s dependencies
- sudo apt-get remove package – Removes package, but you need to use #4 to remove unused dependencies
- sudo apt-get update – Updates the package list (checks for updates)
- sudo apt-get autoremove – See #2, removes leftover dependencies
- sudo apt-get clean – Removes leftover cached packages. Use this to free up space on your root partition
- sudo apt-get -s ACTION – Performs a simulation run of ACTION. Does not actually do anything.
- sudo apt-get -d ACTION – Downloads the package only. Does not actually install it. Use ACTION with install.
- sudo apt-get -f install – Fixes broken dependencies.
- sudo apt-get autoclean – See #5 above.
- sudo apt-get purge – Remove and purge packages.
- sudo apt-get moo – Self-explaining. (Will format your hard disk and render it unusable.)
If you found this list useful or helpful, please help Compdigitec by spreading the word. Don’t forget to subscribe to Compdigitec Labs!
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Linux | 19 Comments »
April 14th, 2022 at 10:38
… [Trackback]
[…] Find More here to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
April 23rd, 2022 at 02:25
… [Trackback]
[…] Find More Info here on that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
May 21st, 2022 at 20:03
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
May 23rd, 2022 at 08:26
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
June 5th, 2022 at 11:55
… [Trackback]
[…] Find More Info here to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
June 15th, 2022 at 18:23
… [Trackback]
[…] Find More on to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
July 3rd, 2022 at 09:48
… [Trackback]
[…] Read More Information here to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
July 8th, 2022 at 22:27
… [Trackback]
[…] Here you can find 51868 more Info to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
July 20th, 2022 at 08:36
… [Trackback]
[…] Read More on on that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
July 31st, 2022 at 02:12
… [Trackback]
[…] Find More Info here to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
July 31st, 2022 at 18:43
… [Trackback]
[…] Here you can find 80525 more Info on that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
August 21st, 2022 at 22:24
… [Trackback]
[…] Read More here on that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
September 7th, 2022 at 23:08
… [Trackback]
[…] Info on that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
September 9th, 2022 at 19:54
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
September 15th, 2022 at 18:21
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
October 2nd, 2022 at 11:11
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
December 26th, 2022 at 19:26
… [Trackback]
[…] Read More Information here on that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
January 15th, 2023 at 18:12
… [Trackback]
[…] There you can find 17319 more Information to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]
February 3rd, 2023 at 14:06
… [Trackback]
[…] Here you will find 12408 more Info to that Topic: compdigitec.com/labs/2008/09/21/using-apt-get-in-ubuntu-linux/ […]