How To Install libgoffice-0.10-dev on Ubuntu 18.04

In this tutorial we learn how to install libgoffice-0.10-dev on Ubuntu 18.04. libgoffice-0.10-dev is Document centric objects library - development files

Introduction

In this tutorial we learn how to install libgoffice-0.10-dev on Ubuntu 18.04.

What is libgoffice-0.10-dev

libgoffice-0.10-dev is:

GOffice is a library of document centric objects and utilities building on top of GLib and Gtk+.

These are the files needed when building applications that use GOffice.

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

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

sudo apt-get update

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

sudo apt-get -y install libgoffice-0.10-dev

Install libgoffice-0.10-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgoffice-0.10-dev using apt by running the following command:

sudo apt -y install libgoffice-0.10-dev

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

sudo aptitude -y install libgoffice-0.10-dev

How To Uninstall libgoffice-0.10-dev on Ubuntu 18.04

To uninstall only the libgoffice-0.10-dev package we can use the following command:

sudo apt-get remove libgoffice-0.10-dev

Uninstall libgoffice-0.10-dev And Its Dependencies

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

sudo apt-get -y autoremove libgoffice-0.10-dev

Remove libgoffice-0.10-dev Configurations and Data

To remove libgoffice-0.10-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgoffice-0.10-dev

Remove libgoffice-0.10-dev configuration, data, and all of its dependencies

We can use the following command to remove libgoffice-0.10-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgoffice-0.10-dev

References

Summary

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