How to Uninstall or Install localepurge Ubuntu 22.04

Updated: September 6, 2022

This package provides a script to recover disk space wasted for unneeded locales, GNOME/KDE localizations and localized man pages. Depending on the installation, it is possible to save hundreds of megabytes of disk space taken up by localization you will most probably never have any use for. It is run automatically upon completion of any APT installation actions. I will show you how to install localepurge on Ubuntu 22.04 in this tutorial.

Requirements

  • OS: Ubuntu 22.04 is needed for localepurge to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install localepurge on Ubuntu 22.04

Install localepurge Ubuntu 22.04

localepurge is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install localepurge using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get localepurge on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install localepurge Ubuntu by pasting this command into the terminal and executing it.

sudo apt install localepurge

Install localepurge using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt-get install aptitude

Then, you can now install localepurge, just following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install localepurge Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install localepurge

Uninstall localepurge on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just localepurge.

If you installed localepurge using APT or Aptitude, you could uninstall localepurge on Ubuntu by executing this command

sudo apt remove --auto-remove localepurge

If you want to uninstall localepurge and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge localepurge

Ending

In this tutorial, I showed you ways to install localepurge on Ubuntu 22.04 and ways to uninstall localepurge too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.