How To Install wpg2odg on Ubuntu 18.04

In this tutorial we learn how to install wpg2odg on Ubuntu 18.04. wpg2odg is WordPerfect Graphics to OpenDocument converter

Introduction

In this tutorial we learn how to install wpg2odg on Ubuntu 18.04.

What is wpg2odg

wpg2odg is:

This package contains a utility for converting WordPerfect graphic files into OpenDocument draw documents.

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

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

sudo apt-get update

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

sudo apt-get -y install wpg2odg

Install wpg2odg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wpg2odg using apt by running the following command:

sudo apt -y install wpg2odg

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

sudo aptitude -y install wpg2odg

How To Uninstall wpg2odg on Ubuntu 18.04

To uninstall only the wpg2odg package we can use the following command:

sudo apt-get remove wpg2odg

Uninstall wpg2odg And Its Dependencies

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

sudo apt-get -y autoremove wpg2odg

Remove wpg2odg Configurations and Data

To remove wpg2odg configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge wpg2odg

Remove wpg2odg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge wpg2odg

References

Summary

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