How To Install nvdtools on Fedora 34

nvdtools is A collection of tools for working with National Vulnerability Database feeds

Introduction

In this tutorial we learn how to install nvdtools on Fedora 34.

What is nvdtools

A set of tools to work with the feeds (vulnerabilities, CPE dictionary etc.) distributed by National Vulnerability Database (NVD)

We can use yum or dnf to install nvdtools on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nvdtools.

Install nvdtools on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install nvdtools using dnf by running the following command:

sudo dnf -y install nvdtools

Install nvdtools on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install nvdtools using yum by running the following command:

sudo yum -y install nvdtools

How To Uninstall nvdtools on Fedora 34

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

sudo dnf remove nvdtools

nvdtools Package Contents on Fedora 34

/usr/bin/b64schema
/usr/bin/cpe2cve
/usr/bin/csv2cpe
/usr/bin/fireeye2nvd
/usr/bin/flexera2nvd
/usr/bin/idefense2nvd
/usr/bin/nvdsync
/usr/bin/rbs2nvd
/usr/bin/redhat2nvd
/usr/bin/redhat_filter
/usr/bin/redhat_query
/usr/bin/rpm2cpe
/usr/bin/rustsec2nvd
/usr/bin/snyk2nvd
/usr/bin/vfeed2nvd
/usr/bin/vulndb
/usr/bin/wfnconvert
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/43c865f1b65a55673404cd09d413ce47689f31
/usr/lib/.build-id/65
/usr/lib/.build-id/65/5f8544803e153094dda82f4ade81a8df72879c
/usr/lib/.build-id/93
/usr/lib/.build-id/93/1ed8f691f381678f71cc178b59cc09a548e71d
/usr/lib/.build-id/96
/usr/lib/.build-id/96/1c7744e8aad6b24deb877f6c56d649818daf69
/usr/lib/.build-id/99
/usr/lib/.build-id/99/3eeda6ff5f880895cf90eefcfbcda4e5e9c371
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/a696cf94dc1dc2552b7949f833311a22ce264a
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/5c7071a37ce2a409a67a6960b0f480fcfc3436
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/df697bd449ddd935d3f911be6a06ec58d4cde8
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/650ff228e47ad09184c0650660d947ae03784b
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/e770a850ef2ca7cae7aa4931dbc34cda97542b
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/f2196a00db355150f8de8cb658b4ab4d47cad3
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/b1d3b3ead8eefc58f59cf95b91afb5cf48335a
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/fb9415935fa44a323dc46d496a1636e9cbe4cd
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/df69090cd865468e3bf32b5eff7df672b6e872
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/967a37e514741b6134614361730243f5262553
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/d663e4afe8551b27f41eb48b78cb58eccc1d01
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/45cb5c4c5c160272e96c82d0c6b7d7da86aede
/usr/share/doc/nvdtools
/usr/share/doc/nvdtools/CODE_OF_CONDUCT.md
/usr/share/doc/nvdtools/CONTRIBUTING.md
/usr/share/doc/nvdtools/HOWTO.md
/usr/share/doc/nvdtools/README.md
/usr/share/doc/nvdtools/cvss2.md
/usr/share/doc/nvdtools/cvss3.md
/usr/share/doc/nvdtools/fireeye2nvd.md
/usr/share/doc/nvdtools/flexera2nvd.md
/usr/share/doc/nvdtools/idefense2nvd.md
/usr/share/doc/nvdtools/nvdsync.md
/usr/share/doc/nvdtools/rbs2nvd.md
/usr/share/doc/nvdtools/snyk2nvd.md
/usr/share/doc/nvdtools/sqlutil.md
/usr/share/doc/nvdtools/vfeed2nvd.md
/usr/share/licenses/nvdtools
/usr/share/licenses/nvdtools/LICENSE

References

Summary

In this tutorial we learn how to install nvdtools on Fedora 34 using yum and dnf.