Now while installing the dependencies I've realized that they actually take up quite a lot of space (depending on what the dependencies are). So my question is:
- How do I remove all of the dependency files which my operating system does not require? Is
sudo apt-get autoremove
enough?
Yes,
apt-get autoremove
is the command to use; it'll remove dependencies that were installed automatically and are no longer required.You can choose during removal of a program to remove the dependencies at the same time with
apt-get remove --auto-remove packagename
.You can also use Bleachbit - it does the following:
Probably what you're looking for...
yes you may use
apt-get autoremove
to get rid those. But with term that dependencies was installed viaapt-get
command.If those dependencies are installed manually from tarball or source, then no other way you need to remove it manually.