How to Install or Uninstall libdigidoc-common Ubuntu 22.04

Updated: October 21, 2022

DigiDoc is an XML file format for documents with digital signatures in use by the Estonian ID card infrastructure. This library allows for creation and reading of DigiDoc files. I will show you how to install libdigidoc-common on Ubuntu 22.04 in this tutorial.

Prerequisites to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install libdigidoc-common on Ubuntu 22.04

Install libdigidoc-common Ubuntu 22.04

libdigidoc-common 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 libdigidoc-common using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install libdigidoc-common on your Ubuntu.

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: Start the package installation on Ubuntu 22.04. After updating the system, you can install libdigidoc-common Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt -y install libdigidoc-common

Install libdigidoc-common using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After that, you can now install libdigidoc-common, 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. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install libdigidoc-common Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install libdigidoc-common

Uninstall libdigidoc-common 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 libdigidoc-common.

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

sudo apt remove --auto-remove libdigidoc-common

If you want to uninstall libdigidoc-common and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge libdigidoc-common

Ending

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