How to Uninstall or Install apertium on Ubuntu 22.04

Updated: August 31, 2022

An open-source shallow-transfer machine translation engine, Apertium is initially aimed at related-language pairs. I will show you how to install apertium on Ubuntu 22.04 in this tutorial.

Requirements

  • Operating system: Ubuntu 22.04 is needed for apertium to work
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install apertium on Ubuntu 22.04

Install apertium Ubuntu 22.04

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

Install apertium using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these instructions to get apertium on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting 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 -y update

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

sudo apt -y install apertium

Install apertium using Aptitude

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

sudo apt install aptitude

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

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 fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install apertium Ubuntu by executing this command in the terminal.

sudo aptitude -y install apertium

Uninstall apertium on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

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

sudo apt remove --auto-remove apertium

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

sudo apt autoremove --purge apertium

Conclusion

In this guide, I showed you ways to install apertium on Ubuntu 22.04 and some ways to uninstall apertium too. Please contact me if you require any assistance. I’d be delighted to respond.