How To Install devhelp on Ubuntu 20.04

In this tutorial we learn how to install devhelp on Ubuntu 20.04. devhelp is GNOME developers help program GNOME developers help program

Introduction

In this tutorial we learn how to install devhelp on Ubuntu 20.04.

What is devhelp

devhelp is:

Devhelp’s primary goal is to be an API documentation browser for GNOME. It is able to scan for .devhelp files generated automatically for packages that use gtk-doc-tools to generate documentation for libraries and programs.

Devhelp provides some integration capabilities, which is used to allow command-line searches, emacs integration and embedding in applications like the Anjuta IDE.

Package: devhelp Architecture: amd64 Version: 3.36.1-1 Priority: optional Section: universe/devel Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 199 Depends: python3:any, libamtk-5-0 (>= 5.0.0), libc6 (>= 2.4), libdevhelp-3-6 (>= 3.36.0), libglib2.0-0 (>= 2.60), libgtk-3-0 (>= 3.22), libpango-1.0-0 (>= 1.14.0), libwebkit2gtk-4.0-37 (>= 2.24) Recommends: libgtk-3-doc, libglib2.0-doc, libpango1.0-doc Breaks: devhelp-common (« 3.21.91-1) Replaces: devhelp-common (« 3.21.91-1) Filename: pool/universe/d/devhelp/devhelp_3.36.1-1_amd64.deb Size: 58916 MD5sum: 01e4547224b584cc838d4b77e6351d9c SHA1: 024df81949c65769a275b3997c93d12a816ae5b7 SHA256: f4ed66ba0c8407b3c2f94af4ee12028cc5a6af60c03070c641add00721e29d34 Homepage: https://wiki.gnome.org/Apps/Devhelp Description-en: GNOME developers help program Devhelp’s primary goal is to be an API documentation browser for GNOME. It is able to scan for .devhelp files generated automatically for packages that use gtk-doc-tools to generate documentation for libraries and programs.

Devhelp provides some integration capabilities, which is used to allow command-line searches, emacs integration and embedding in applications like the Anjuta IDE.

There are three methods to install devhelp on Ubuntu 20.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 devhelp Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install devhelp

Install devhelp Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install devhelp

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

sudo aptitude -y install devhelp

How To Uninstall devhelp on Ubuntu 20.04

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

sudo apt-get remove devhelp

Uninstall devhelp And Its Dependencies

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

sudo apt-get -y autoremove devhelp

Remove devhelp Configurations and Data

To remove devhelp configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge devhelp

Remove devhelp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge devhelp

References

Summary

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