I’m not sure what
sudo apt-get autoremove does, but have read that you should use this command to remove any unnecessary packages.
One of the processes I saw was to use
sudo apt-get autoremove and then use something like BleachBit to remove temp files etc.
Can you explain what
sudo apt-get autoremove actually does and is there any advantages of using this command over something like BleachBit or Ubuntu Tweak janitor by themselves?
Here is Solutions:
We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.
sudo apt-get autoremoveactually does
Whenever you install an application (using
apt-get) the system will also install the software that this application depends on. It is common in Ubuntu/Linux that applications share the same libraries. When you remove the application the dependency will stay on your system.
apt-get autoremove will remove those dependencies that were installed with applications and are no longer used by anything else on the system.
is there any advantages of using this command over something like Bleachbit or Ubuntu Tweak janitor?
- Bleachbit or Ubuntu Tweak janitor are graphical interfaces.
sudo apt-get autoremoveis a command
Using one option does not exclude the other: I would assume BB and UTJ use
sudo apt-get autoremove (in some sort of way) to remove dependencies. So it is not a question of "any advantages." It is a matter of preference: are you a command line type of person or are you a GUI type of person?
By the way:
deborphan is another tool to clean your system.
One minor addition: Since 14.04 you may actually write
apt autoremove to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed as dependencies.
These two commands are equivalent:
Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂