Ad

Ad Space

Slider

Disk Cleanup on Linux - Computer Tips

0

 


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:

 

http://www.taiahom.com/

5. Now navigate to the directory where you have extracted the Kleansweep

 

img http://www.taiahom.com/

6. Become super user user using su command 

 

img http://www.taiahom.com/

Note: root credential is required to install the Kleansweep.

 

7. Use ./scons to configure the Kleansweep installation

 

img

Message shows that scons has successfully build Kleansweep.

 

8. Use ./scons install command to install Kleansweep on your system 

 

img

 

img

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]. 

 

img

Start kleansweep. If you only want to get rid of files in your home directory, then run it as a regular user. 

 

img

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.

 

img

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. |
If you don't know what one of the options in kleansweep does, don't use it! The "Orphaned Files" option will search for files which are installed, but not registered in your distribution's installed files database. 

 

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

 

img

• Review all the entries and click next to remove them. 

 

8.
• Save a backup!

 

img

• 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! 

 

 





 


0

No comments

Post a Comment

Mega Menu

blogger
www.TaiAhom.com © all rights reserved
made with by 𑜋𑜈𑜫 𑜑𑜦𑜧 ‌‌𑜉𑜨𑜃𑜫 ‌‌𑜄𑜦𑜡 𑜇𑜥‌‌ ‌ 𑜀𑜦𑜧