Ways to Install and Uninstall libiri-perl on Ubuntu 22.04

Updated: October 23, 2022

The IRI module is a Perl implementation of Internationalized Resource Identifiers (IRIs) as defined by RFC 3987. I will show you how to install libiri-perl on Ubuntu 22.04 in this tutorial.

Software Requirement

  • OS: Ubuntu 22.04 is needed for libiri-perl to work
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install libiri-perl on Ubuntu 22.04

Install libiri-perl Ubuntu 22.04

libiri-perl is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install libiri-perl 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 install libiri-perl on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. You can now install libiri-perl Ubuntu by executing this command in the terminal.

sudo apt-get -y install libiri-perl

Install libiri-perl 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 -y install aptitude

After that, you can now install libiri-perl, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. You can now install libiri-perl Ubuntu by executing this command in the terminal.

sudo aptitude -y install libiri-perl

Uninstall libiri-perl 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 libiri-perl.

You can uninstall libiri-perl on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove libiri-perl

You can also execute this command if you want to uninstall libiri-perl and remove its data and dependencies:

sudo apt autoremove --purge libiri-perl

Conclusion

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