How To Install projectile-doc on Ubuntu 18.04

In this tutorial we learn how to install projectile-doc on Ubuntu 18.04. projectile-doc is project interaction library for Emacs - documentation

Introduction

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

What is projectile-doc

projectile-doc is:

Projectile enhances Emacs with easy project management and navigation. The concept of a project is simple: just a folder containing a special file.

This package include projectile’s HTML documentation.

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

sudo apt-get -y install projectile-doc

Install projectile-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install projectile-doc

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

sudo aptitude -y install projectile-doc

How To Uninstall projectile-doc on Ubuntu 18.04

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

sudo apt-get remove projectile-doc

Uninstall projectile-doc And Its Dependencies

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

sudo apt-get -y autoremove projectile-doc

Remove projectile-doc Configurations and Data

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

sudo apt-get -y purge projectile-doc

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

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

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

References

Summary

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