How to Uninstall or Install libudunits2-data Ubuntu 22.04

Updated: October 26, 2022

The UDUNITS package supports units of physical quantities (e.g., meters, seconds). Specifically, it supports conversion between string and binary representations of units, arithmetic manipulation of units, and conversion of numeric values between compatible units. The package is written in the C programming language. In this tutorial, I will show you how to install libudunits2-data on Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 is needed for libudunits2-data to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install libudunits2-data on Ubuntu 22.04

Install libudunits2-data Ubuntu 22.04

libudunits2-data 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 libudunits2-data using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these instructions to get libudunits2-data on your Ubuntu.

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 -y update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install libudunits2-data Ubuntu by executing this command in the terminal.

sudo apt-get install libudunits2-data

Install libudunits2-data using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt -y install aptitude

After that, you can now install libudunits2-data by following these steps:

Step 1: Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install libudunits2-data Ubuntu by executing this command in the terminal.

sudo aptitude -y install libudunits2-data

Uninstall libudunits2-data on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a libudunits2-data.

If you installed libudunits2-data using APT or Aptitude, you could uninstall libudunits2-data on Ubuntu by following this step:

sudo apt remove --auto-remove libudunits2-data

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

sudo apt autoremove --purge libudunits2-data

Ending

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