How To Install gputils-doc on Ubuntu 18.04

In this tutorial we learn how to install gputils-doc on Ubuntu 18.04. gputils-doc is documentation for gputils

Introduction

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

What is gputils-doc

gputils-doc is:

Those utilities for the Microchip PIC microcontrollers family contain an assembler (compatible with MPASM), a disassembler, and other tools.

This package contains the gputils documentation in Postscript and PDF format.

There are three methods to install gputils-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 gputils-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 gputils-doc using apt-get by running the following command:

sudo apt-get -y install gputils-doc

Install gputils-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gputils-doc

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

sudo aptitude -y install gputils-doc

How To Uninstall gputils-doc on Ubuntu 18.04

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

sudo apt-get remove gputils-doc

Uninstall gputils-doc And Its Dependencies

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

sudo apt-get -y autoremove gputils-doc

Remove gputils-doc Configurations and Data

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

sudo apt-get -y purge gputils-doc

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

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

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

References

Summary

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