How To Install libatompub-perl on Ubuntu 18.04

In this tutorial we learn how to install libatompub-perl on Ubuntu 18.04. libatompub-perl is implementation of Atom Publishing Protocol

Introduction

In this tutorial we learn how to install libatompub-perl on Ubuntu 18.04.

What is libatompub-perl

libatompub-perl is:

The Atom Publishing Protocol (Atompub) is a protocol for publishing and editing Web resources described at http://www.ietf.org/rfc/rfc5023.txt.

Atompub implements client Atompub::Client and server Atompub::Server for the protocol. XML formats used in the protocol are implemented in XML::Atom and XML::Atom::Service. Catalyst extension Catalyst::Controller::Atompub is also available.

There are three methods to install libatompub-perl on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libatompub-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libatompub-perl using apt-get by running the following command:

sudo apt-get -y install libatompub-perl

Install libatompub-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libatompub-perl using apt by running the following command:

sudo apt -y install libatompub-perl

Install libatompub-perl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libatompub-perl using aptitude by running the following command:

sudo aptitude -y install libatompub-perl

How To Uninstall libatompub-perl on Ubuntu 18.04

To uninstall only the libatompub-perl package we can use the following command:

sudo apt-get remove libatompub-perl

Uninstall libatompub-perl And Its Dependencies

To uninstall libatompub-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libatompub-perl

Remove libatompub-perl Configurations and Data

To remove libatompub-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libatompub-perl

Remove libatompub-perl configuration, data, and all of its dependencies

We can use the following command to remove libatompub-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libatompub-perl

References

Summary

In this tutorial we learn how to install libatompub-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.