A common category of software you will find on many Windows PCs are system optimizers and cleaners. One such application is CCleaner, a powerful and popular Windows PC cleaner that scans for and deletes unwanted files, and private information such as browsing cache and history, freeing up space and guarding your privacy, and more.
Unfortunately, there is no CCleaner release for Linux systems, so if you were using it on Windows and made a switch to Ubuntu Linux (one of the recommended distros for Linux beginners), you are probably wondering which software to use for the same purpose on your new platform.
Whether you have just made the switch or you have been using Ubuntu before, if you are looking for an alternative to CCleaner, you have landed in the right place.
In this article, we will share the best CCleaner alternatives for Ubuntu Linux.
Table of Contents
BleachBit is a free open source, powerful, feature-rich, and cross-platform software to easily and quickly clean your system, free up disk space and protect your privacy. It runs on Linux systems and Windows.
It’s easy to use, and it supports up to 65 languages around the world. It helps clean your system thus freeing up disk space, reducing the time it takes to create backups, and improving overall system performance.
It also assists you to maintain privacy by shredding files (any type of file) to securely hide their contents and prevent data recovery and overwrites free disk space to securely hide previously deleted files.
Importantly, it comes with a command-line interface for those who enjoy working from a terminal, it’s therefore scriptable and also allows you to create your own cleaners via CleanerML, and many other features.
$ sudo apt install bleachbit
The version of BleachBit in the repositories of many Linux distributions is often stale, so to use the latest version, use the
.rpm package for the most similar Linux distribution at the BleachBit download page.
Stacer is a free, open-source system optimizer and monitoring tool for Linux systems, with an elegant and intuitive GUI. It comes with useful features you would expect from a system optimizer, and a real-time system resource monitor, such as a system cleaner.
Its beautifully designed dashboard gives you access to a wealth of system information; allows you to clear app caches, analyze system start-up, start/stop system services, and more so uninstall applications. In addition, it seamlessly adapts to your pre-configured system look and feel.
To install Stacer on your Ubuntu and its derivatives, use the following official PPA to install it as shown.
$ sudo apt install software-properties-common $ sudo add-apt-repository ppa:oguzhaninan/stacer $ sudo apt update $ sudo apt install stacer
Stacer is also available as an AppImage, which is a type of software package that can be run on any Linux distribution without the need for installation.
$ wget https://github.com/oguzhaninan/Stacer/releases/download/v1.1.0/Stacer-1.1.0-x64.AppImage $ chmod a+x Stacer-1.1.0-x64.AppImage ./Stacer-1.1.0-x64.AppImage
FSlint is a free open-source, simple and easy-to-use application for finding and cleaning various kinds of lint on a Linux filesystem. It has both a GTK+ GUI and a command line interface allowing you to automate certain operations via scripts.
It helps to remove/delete duplicate files in Linux, find and delete empty directories, unused temporary files, unwanted and problematic cruft in files and file names, and bad symlinks, thus keeping your system clean.
After performing all the above operations, you will regain disk space that was being hogged by unnecessary and unwanted files residing on your filesystem.
To install FSlint on your Linux systems, use the appropriate package manager to install it as shown.
$ sudo apt install fslint [On Debian/Ubuntu] $ yum install fslint [On CentOS/RHEL] $ dnf install fslint [On Fedora 22+]
Sweeper is a simple and the default system cleaner for KDE, which is used to clean unwanted traces of user activity on a system to protect your privacy and reclaim disk space by removing unused temporary files.
It can delete web-related traces such as cookies, history, cache; image thumbnails cache, and also cleans the applications and documents history.
To install Sweeper system cleaner on your Linux systems, use the appropriate package manager to install it as shown.
$ sudo apt install sweeper [On Debian/Ubuntu] $ yum install sweeper [On CentOS/RHEL] $ dnf install sweeper [On Fedora 22+]
5. Ubuntu Cleaner
Ubuntu Cleaner is also a free open source, simple, easy-to-use Ubuntu system cleaner, that frees up disk space and gets rid of all private information from your system such as browser cache.
It also removes the APT cache, thumbnail cache, unused packages, old kernels as well as old installers. This way, it keeps your system clean and helps you regain some disk space.
To install Ubuntu Cleaner on your Ubuntu and its derivatives, use the following PPA to install it as shown.
$ sudo add-apt-repository ppa:gerardpuig/ppa $ sudo apt update $ sudo apt install ubuntu-cleaner
GCleaner is a free open-source, intuitive, simple, and fast system cleaner for Ubuntu Linux and its derivatives. It’s a port of CCleaner developed using Vala, GTK+, Granite, and Glib/GIO.
Like all the above system cleaners, it protects your privacy and makes your computer faster and more secure to use.
To install GCleaner on your Ubuntu and its derivatives, use the following PPA to install it as shown.
$ sudo add-apt-repository ppa:libredeb/gcleaner $ sudo apt update $ sudo apt install gcleaner
7. Deborphan Command
The deborphan command is used to find and remove orphaned packages on Debian-based systems, such as Ubuntu.
Orphaned packages are packages that are no longer necessary and can consume valuable space on your hard drive if left unremoved.
To use deborphan, you need to install deborphan as shown:
$ sudo apt install deborphan $ deborphan
It will scan your system for orphaned packages and display a list of the results.
That’s all! In this article, we have shared the best CCleaner alternatives for Ubuntu Linux. If we have missed any software you know should be on this list, let us know via the comment form below.