How to Install Ubuntu Cleaner on 22.04 | 20.04 - LinuxCapable (2023)

Ubuntu Cleaner is a versatile and efficient tool built specifically for Ubuntu users. It is designed to help you free up disk space and maintain the optimal performance of your Ubuntu system. Unlike other popular software, Ubuntu Cleaner shines in numerous ways, offering a tailored, user-friendly experience for Ubuntu users.

Here are some of the unique benefits of Ubuntu Cleaner:

  • Focused on Ubuntu: While other system cleaning software try to cater to a wide range of Linux distributions, Ubuntu Cleaner is specifically designed for Ubuntu. This focus allows it to be more effective and efficient when dealing with Ubuntu-related system issues.
  • Simple Interface: Ubuntu Cleaner has a straightforward and intuitive interface. Users, irrespective of their technical expertise, can easily navigate and operate the tool, making it a more accessible choice compared to other software.
  • Extensive Cleaning Options: Ubuntu Cleaner allows users to clean a wider range of system components including old kernels, language packs, and software cache, which are often overlooked by other system cleaners.
  • Safety and Precision: Ubuntu Cleaner is designed to safely clean your system without causing any damage or deleting critical files. It precisely targets and removes unneeded and redundant files, leaving the necessary ones untouched.
  • Open-Source Software: As an open-source tool, Ubuntu Cleaner encourages community participation. Users can contribute to its development, enabling it to adapt to changing user needs and Ubuntu updates more rapidly than other closed-source software.

In comparison to other popular software, Ubuntu Cleaner particularly stands out in these two key areas:

Efficiency Comparison:

  • Specificity: Ubuntu Cleaner, being a specialized tool for Ubuntu, can handle Ubuntu-specific issues more effectively. Other cleaners might have a wider range of compatibility, but they often lack the specialized approach that Ubuntu Cleaner offers.
  • Depth of Cleaning: Ubuntu Cleaner digs deeper into the system, targeting components like old kernels and language packs that other software may miss.

User Experience Comparison:

  • Ease of Use: With its simple and intuitive interface, Ubuntu Cleaner makes system cleaning a hassle-free task. In contrast, other software might come with complex interfaces that can be daunting for less tech-savvy users.
  • Community Support: Being open-source, Ubuntu Cleaner benefits from a dynamic community of users and developers who continually work to improve the software. This is a stark contrast to proprietary software, which relies solely on the parent company for updates and improvements.

The following guide will demonstrate how to install Ubuntu Cleaner on Ubuntu 22.04 Jammy Jellyfish or Ubuntu 20.04 Focal Fossa using CLI commands.

Table of Contents

Section 1: Setting Up Ubuntu Cleaner

Step 1: Preparing Your Ubuntu System

Prior to installing Ubuntu Cleaner, it is essential to ensure that your Ubuntu system is up-to-date. This step is crucial as it minimizes the chances of running into any package conflicts during the installation of Ubuntu Cleaner. Let’s start by updating the package lists for upgrades and new package installations. This action fetches the latest information about the packages from the repositories configured in your system:

sudo apt update

Having updated the package lists, it’s now time to upgrade all your system packages. This step ensures that you’re running the most recent versions of your installed software, which often includes important security patches and bug fixes:

sudo apt upgrade

Step 2: Adding Ubuntu Cleaner’s Personal Package Archive (PPA)

The next step in our journey to install Ubuntu Cleaner involves adding the necessary Personal Package Archive (PPA) to our Ubuntu system. A PPA is a special software repository for uploading source packages to be built and published as an Advanced Package Tool (APT) repository by Launchpad. In our case, we are interested in the PPA for Ubuntu Cleaner, maintained by Gerard Puig. We can add this PPA using the following command:

sudo add-apt-repository ppa:gerardpuig/ppa -y

This command will add the Ubuntu Cleaner PPA to our list of sources, allowing us to install the Ubuntu Cleaner software directly from the command line.

Step 3: Updating the Package List

With the Ubuntu Cleaner PPA added to our system, we should update the package list again. This step is crucial as it lets your system know about the new packages available from the recently added PPA. Run the following command to achieve this:

sudo apt update

Step 4: Installing Ubuntu Cleaner

With all the groundwork laid, we’re finally ready to install Ubuntu Cleaner. This step involves using the apt package handling utility. As we have already added the PPA for Ubuntu Cleaner and updated our package list, we can proceed to install Ubuntu Cleaner by simply running the command below:

sudo apt install ubuntu-cleaner

Section 2: Embarking on the Ubuntu Cleaner Journey

Step 1: Commencing Ubuntu Cleaner via Terminal

Now that Ubuntu Cleaner is successfully installed on your system, it’s time to bring this powerful tool into action. There are several ways to launch Ubuntu Cleaner, each catering to a different user preference. If you’re comfortable working with the terminal, you can effortlessly kickstart Ubuntu Cleaner using a simple command-line instruction.

Invoke the following command in your terminal:


This command will initialize Ubuntu Cleaner, readying it for your system cleaning tasks. However, it’s important to remember that while this method may appeal to those who frequently use the terminal, it might not be the most practical choice for users who prefer a more graphical interaction with their Ubuntu system.

Step 2: Initiating Ubuntu Cleaner from the Desktop

Ubuntu Cleaner is designed to cater to all user preferences, including those who favor a graphical user interface (GUI) over the command line. For desktop users, Ubuntu Cleaner can be conveniently accessed via Ubuntu’s Applications dashboard.

Navigate through the following path on your desktop:

Activities > Show Applications > Ubuntu Cleaner

This sequence will lead you straight to the Ubuntu Cleaner application, allowing you to start your system cleaning tasks with just a few clicks. If you anticipate using Ubuntu Cleaner frequently, consider adding it to your Favorites. This step will place the Ubuntu Cleaner application on your dock, providing you quick and easy access whenever you need it.

Example of Ubuntu Cleaner on Ubuntu Linux:

Section 3: Mastering Ubuntu Cleaner on Ubuntu Linux

Ubuntu Cleaner is a robust tool designed to optimize your Ubuntu Linux system. However, to fully harness its power and tailor it to your specific needs, you should be aware of some key tips and customizations.

General Tips

  • Take Regular Backups: While Ubuntu Cleaner is designed to safely clean your system without removing critical files, it’s always a good practice to regularly backup your data. This way, even in the unlikely event of an error, your important data will remain safe.
  • Understand What You’re Cleaning: Before you proceed with any cleaning action, take a moment to understand what each option does. Ubuntu Cleaner provides descriptions for all cleaning options, so make sure to read these descriptions before proceeding.
  • Clean Regularly: Regular cleaning can help maintain the optimal performance of your Ubuntu system. Schedule a regular cleaning routine with Ubuntu Cleaner to keep your system running smoothly.


  • Customize Cleaning Actions: Ubuntu Cleaner allows you to choose what to clean. You don’t have to clean everything all at once. For instance, you might want to clean old kernels while leaving language packs untouched.
  • View Cleaning Details: Ubuntu Cleaner provides a detailed view of what will be cleaned. Before proceeding with the cleaning, you can review these details to ensure that only unwanted files are removed.
  • Manage PPAs: Ubuntu Cleaner also allows you to manage your PPAs. This feature can be particularly useful if you’ve added many PPAs to your system and want to clean up any unused or unnecessary ones.

Additional Tips

  • Use the ‘Auto Clean’ Option: Ubuntu Cleaner provides an ‘Auto Clean’ option that can be used to quickly clean up cache from your APT and thumbnail cache. It’s a quick and easy way to reclaim some disk space.
  • Clean Old Kernels: Old kernels can take up a significant amount of disk space. Ubuntu Cleaner can help you remove these old kernels, freeing up disk space and making your system more efficient.

Example of Ubuntu Cleaner default UI once opened on Ubuntu Linux:

Section 4: Diving Deeper into Ubuntu Cleaner Commands for Ubuntu Linux

Updating Ubuntu Cleaner

Ubuntu Cleaner, much like other installed packages on your Ubuntu system, typically updates itself automatically. This is made possible through the APT package manager, which handles updates for all installed packages on your system. However, there may be instances when you prefer or need to check for updates manually. If you find yourself in such a scenario, you can turn to the terminal for assistance:

sudo apt update && sudo apt upgrade

The above command represents a two-fold action. The first part, sudo apt update, updates the list of available packages and their versions, but it does not install or upgrade any packages. The second part, sudo apt upgrade, on the other hand, upgrades all the installed packages on your system. By using the && operator, we can conveniently run these two commands in succession.

While the graphical user interface (GUI) offers a simpler and more intuitive way for most users to manage their packages, there is considerable value in getting familiar with command-line interface (CLI) commands. This is particularly true for users transitioning from Windows, who might not be as acquainted with the terminal. Using CLI commands like the one above not only provides you with greater control over your system but also allows you to become more conversant with Ubuntu’s underlying operations.

Uninstalling Ubuntu Cleaner

In some cases, you may decide that you no longer need Ubuntu Cleaner installed on your system. Whether this is because you have found an alternative tool, or you simply want to free up some space, removing Ubuntu Cleaner can be achieved through a single command:

sudo apt autoremove ubuntu-cleaner --purge

This command is a comprehensive uninstall command. Upon execution, it not only removes Ubuntu Cleaner from your system but also deletes all associated unused dependencies and any saved data created by the software. This ensures a complete removal of the software, leaving no residual files or configurations that could clutter your system or consume unnecessary storage.

Removing the Repository

When you have finished removing Ubuntu Cleaner from your system, the final step is to remove the associated repository. However, a word of caution is in order here. If you have installed other applications from the same repository, you should not remove it. Removing a repository will prevent updates for all packages installed from it. But if you need to proceed, you can do so with the following command:

sudo add-apt-repository --remove ppa:gerardpuig/ppa -y

This command removes the repository where Ubuntu Cleaner was installed from, thereby preventing future updates from being fetched from it. If you accidentally remove this repository, don’t worry, you can re-import it following the instructions at the beginning of this tutorial.

Closing Thoughts on Installing Ubuntu Cleaner on Ubuntu Linux

Our journey through the installation and management of Ubuntu Cleaner on your Ubuntu Linux system has been quite comprehensive. We began with the installation process, moved on to understanding how to manually update the application, and then explored how to fully uninstall it, if need be. Each of these steps not only helps to maintain a clean and efficient system, but also contributes to your growing understanding of the Ubuntu environment.

Additional Resources and Links

To further enhance your understanding of Ubuntu Cleaner and Ubuntu Linux, here are some additional resources you might find helpful:

  • Official Ubuntu Documentation: This is the official Ubuntu documentation, providing comprehensive information on all aspects of Ubuntu. It’s a must-have bookmark for any Ubuntu user, regardless of their skill level.
  • Ubuntu Cleaner on GitHub: This is the official GitHub repository for Ubuntu Cleaner. It contains the source code, release notes, and any updates or changes made to the software.
  • Ubuntu Community Help Wiki: This is a community-driven platform where users share their knowledge and experiences. It is a great place to learn tips and tricks, as well as troubleshoot any issues you may encounter.


Top Articles
Latest Posts
Article information

Author: Fredrick Kertzmann

Last Updated: 11/19/2023

Views: 6432

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Fredrick Kertzmann

Birthday: 2000-04-29

Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

Phone: +2135150832870

Job: Regional Design Producer

Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.