Ways to Uninstall and Install liblcms-dev Ubuntu 22.04

Updated: October 31, 2022

This is a virtual package. See the Debian policy for a definition of virtual packages. In this guide, I will show you how to install liblcms-dev on Ubuntu 22.04.

Prerequisites

  • Operating system: Ubuntu 22.04 is needed for liblcms-dev to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install liblcms-dev on Ubuntu 22.04

Install liblcms-dev Ubuntu 22.04

liblcms-dev 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 liblcms-dev 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 steps to get liblcms-dev 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. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install liblcms-dev Ubuntu by executing this command in the terminal.

sudo apt-get install liblcms-dev

Install liblcms-dev using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

Then, you can now install liblcms-dev, 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 download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

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

sudo aptitude -y install liblcms-dev

Uninstall liblcms-dev 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 liblcms-dev.

You can uninstall liblcms-dev Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove liblcms-dev

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

sudo apt autoremove --purge liblcms-dev

Summary

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