Disk Cleanup on Linux | |||||
| |||||
Downloading & Installing Kleansweep | |||||
| |||||
Using a free program designed to find unnecessary files on your Linux PC and delete them. | |||||
| |||||
Steps | |||||
| |||||
1. Download the program "kleensweap" from | |||||
| |||||
http://kde-apps.org/content/show.php?content=28631 . | |||||
| |||||
Note: It is a KDE application, thus it requires KDE base in order to install and function. You can install it on any Linux distro if you have install K Desktop Environment, even though you are currently using Gnome Desktop environment; if you only have Gnome(or XFCE/etc) installed on your Linux box, you may have to install lots of dependencies. | |||||
| |||||
2. Download Kleansweep from the URL given above. | |||||
| |||||
3. Start the terminal and navigate to the directory where you have downloaded Kleansweep. | |||||
| |||||
4. Extract the files using GNU Tar utility: | |||||
| |||||
5. Now navigate to the directory where you have extracted the Kleansweep. | |||||
| |||||
6. Become super user user using su command | |||||
| |||||
Note: root credential is required to install the Kleansweep. | |||||
| |||||
7. Use ./scons to configure the Kleansweep installation | |||||
| |||||
Message shows that scons has successfully build Kleansweep. | |||||
| |||||
8. Use ./scons install command to install Kleansweep on your system | |||||
| |||||
| |||||
Kleansweep has been installed successfully on your Linux box. | |||||
| |||||
If you are having problem with Kleansweep please read INSTALL and Readme files. | |||||
| |||||
Disk Cleanup on Linux | |||||
| |||||
Using Kleansweep | |||||
| |||||
After installing Kleansweep we will now use it for eliminating unused and dead file from linux box. | |||||
| |||||
1. Start Kleansweep by executing kleansweep from command line[terminal]. | |||||
| |||||
Startup dialogue when run as a super user[root]. | |||||
| |||||
Start kleansweep. If you only want to get rid of files in your home directory, then run it as a regular user. | |||||
| |||||
However, if you would like to use it to delete files from anywheres in the file system, then run it as root (kdesu kleansweep). | |||||
| |||||
2. Run the Kleansweep as normal user and from the wizard select what kind of files you want to search to. | |||||
| |||||
3. Be extremely careful not to delete important files. Review the files that kleensweep reports are unnecessary, even when not running it as root. | |||||
| |||||
4. Config page of kleansweep when run as root. | | |||||
| |||||
Only Debian- and Fedora-based systems are supported (this is an OK for anyone running Ubuntu), and you can customize which folders not to search, etc ... | |||||
| |||||
5. When you're ready, click Next. This will take a while. Go get a tea, feed your pet iguana, or do something else to bide the time. | |||||
| |||||
6. Review all or at least most of the files to be deleted. Say your home directory is '/home/ash', and and you have 100 empty directories all named /home/xyz/.programY/1XX, and you don't use that program, then it would probably be safe to remove them. | |||||
| |||||
7. | |||||
-- Selected Entries | |||||
| |||||
• Review all the entries and click next to remove them. | |||||
| |||||
8. | |||||
| |||||
• Save a backup of the files you're deleting. This isn't pointless, as the files aren't scattered about the drive anymore, and the backup is compressed. | |||||
| |||||
10. Do not blindly delete all the files in /tmp. Some files are necessary. Delete downloads or browser files, but leave most intact. | |||||
| |||||
Warnings | |||||
| |||||
• Be careful, or you'll break your machine. Don't say I didn't warn you! | |||||
| |||||
| |||||
|
No comments
Post a Comment