How Do I Delete Unnecessary Files in Linux?
Contents It Removes Orphaned Packages Which Are Not Longer Needed from the System, but Not Purges Them. to Purge Them, Use the –Purge Option Together with the...
Contents
It removes orphaned packages which are not longer needed from the system, but not purges them. To purge them, use the –purge option together with the command for that.
How do I clean up Linux?
Another way to clean up Linux is using a powertool called Deborphan. Deborphan can be used as a terminal command line tool or in combination with a GUI application called GtkOrphan.
…
Terminal commands
- sudo apt-get autoclean. This terminal command deletes all . …
- sudo apt-get clean. …
- sudo apt-get autoremove.
Must Read
How do I free up space on Linux?
Freeing disk space on your Linux server
- Get to the root of your machine by running cd /
- Run sudo du -h –max-depth=1.
- Note which directories are using a lot of disk space.
- cd into one of the big directories.
- Run ls -l to see which files are using a lot of space. Delete any you don’t need.
- Repeat steps 2 to 5.