How To Install libwpg-doc on Ubuntu 18.04

In this tutorial we learn how to install libwpg-doc on Ubuntu 18.04. libwpg-doc is WordPerfect graphics import/convert library (documentation)

Introduction

In this tutorial we learn how to install libwpg-doc on Ubuntu 18.04.

What is libwpg-doc

libwpg-doc is:

Libwpg is a collection of library and tools to work with graphics in WPG (WordPerfect Graphics) format. WPG is the format used among others in Corel software, such as WordPerfect(tm) and Presentations(tm).

This package contains the API documentation.

There are three methods to install libwpg-doc 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 libwpg-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libwpg-doc

Install libwpg-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libwpg-doc

Install libwpg-doc 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 libwpg-doc using aptitude by running the following command:

sudo aptitude -y install libwpg-doc

How To Uninstall libwpg-doc on Ubuntu 18.04

To uninstall only the libwpg-doc package we can use the following command:

sudo apt-get remove libwpg-doc

Uninstall libwpg-doc And Its Dependencies

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

sudo apt-get -y autoremove libwpg-doc

Remove libwpg-doc Configurations and Data

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

sudo apt-get -y purge libwpg-doc

Remove libwpg-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libwpg-doc

References

Summary

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