How To Install go-cve-dictionary on Ubuntu 22.04

In this tutorial we learn how to install go-cve-dictionary on Ubuntu 22.04. go-cve-dictionary is builds a local copy of the NVD/JVN

Introduction

In this tutorial we learn how to install go-cve-dictionary on Ubuntu 22.04.

What is go-cve-dictionary

go-cve-dictionary is:

go-cve-dictionary is tool to build a local copy of the NVD (National Vulnerabilities Database) and the Japanese JVN, which contain security vulnerabilities according to their CVE identifiers including exhaustive information and a risk score. The local copy is generated in sqlite format, and the tool has a server mode for easy querying.

There are three methods to install go-cve-dictionary on Ubuntu 22.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 go-cve-dictionary Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install go-cve-dictionary

Install go-cve-dictionary Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install go-cve-dictionary using apt by running the following command:

sudo apt -y install go-cve-dictionary

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

sudo aptitude -y install go-cve-dictionary

How To Uninstall go-cve-dictionary on Ubuntu 22.04

To uninstall only the go-cve-dictionary package we can use the following command:

sudo apt-get remove go-cve-dictionary

Uninstall go-cve-dictionary And Its Dependencies

To uninstall go-cve-dictionary and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove go-cve-dictionary

Remove go-cve-dictionary Configurations and Data

To remove go-cve-dictionary configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge go-cve-dictionary

Remove go-cve-dictionary configuration, data, and all of its dependencies

We can use the following command to remove go-cve-dictionary configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge go-cve-dictionary

References

Summary

In this tutorial we learn how to install go-cve-dictionary package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.