हिंदी में देखें |

PC Tips

Mobile Users Safety Tips



DiskCleanuponLinux


Contents :-



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:

DiskCleanuponLinux2

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

DiskCleanuponLinux3

6. Become super user user using su command

DiskCleanuponLinux4

Note: root credential is required to install the Kleansweep.

7. Use ./scons to configure the Kleansweep installation

DiskCleanuponLinux5

Message shows that scons has successfully build Kleansweep.

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

DiskCleanuponLinux6

DiskCleanuponLinux7

Kleansweep has been installed successfully on your Linux box.

If you are having problem with Kleansweep please read INSTALL and Readme files.


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

DiskCleanuponLinux8

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

DiskCleanuponLinux9

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.

DiskCleanuponLinux10

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

DiskCleanuponLinux11

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

8.
• Save a backup!

DiskCleanuponLinux12

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

9. 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!



.....Previous     Same     Next.....

Tags- Disk Cleanup on Linux | How do I do a disk cleanup on Ubuntu? | How do I free up disk space on Linux? | How do I clean up Linux? | How do I check hard drive space on Ubuntu? | How do I free up space on Linux? | How increase space in Linux? | How find large files in Linux? | What does du command do in Linux? | What is Dev xvda1? | What does free command do in Linux? | How do I check my disk space? | How do I monitor memory in Linux? | What does df command do in Linux? | What is Dev sda1? | What is Dev mapper in Linux? | What is inode Linux? | How do I check swap space? | How do I open Ubuntu monitor? | What does an inode contain? | What is Tmpfs in Linux? | What is the use of df command in Unix? | How much space do you need to install Ubuntu? | How do I increase the root partition size in Linux? | What is Dev loop0? | How do I see disk usage in a directory in Linux? | How do I check my disk usage on Windows 10? | How do you check disk space on a Mac? | Which file system has journaling capability? | What is filesystem Linux? | What is journaling in ext4 file system? | What is the use of journaling in Linux? | What is the difference between ext3 and ext4? | What is metadata Linux? | What is Linux EXT? | What is XFS in Linux? | What is ext4 in Linux? | Can Windows read ext4? | How do I log into a Linux machine from Windows? | Can you read NTFS on Linux? | How mount Linux drive in Windows? | How do I connect to a Linux server from Windows? | How do I install Linux on Windows 10? | How can I access Ubuntu files from Windows? | Can I access Windows files from Ubuntu? | How do I navigate to a folder in Ubuntu terminal? | How do I access Windows drives on Ubuntu? | How do I access Windows desktop from Ubuntu? | How do I find drives in Ubuntu? | Can Ubuntu access NTFS drives? | Can Linux read and write to NTFS? | What file system does Ubuntu use? | Can Debian read NTFS?



UpImage
Home|Indian Doctors|Indian Hospitals|Utility|Career|Electronics|Family|General|Health|PC Tips|Technology|About Us|About Admin|Feedback|Apply For Job Computer Courses|Login| Created by - Er. Sanjay Singh