How To Install yara-doc on CentOS 8

yara-doc is Documentation for yara

Introduction

In this tutorial we learn how to install yara-doc on CentOS 8.

What is yara-doc

This package contains documentation for yara.

We can use yum or dnf to install yara-doc on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install yara-doc.

Install yara-doc on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install yara-doc

Install yara-doc on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install yara-doc

How To Uninstall yara-doc on CentOS 8

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

sudo dnf remove yara-doc

yara-doc Package Contents on CentOS 8

/usr/share/doc/yara-doc
/usr/share/doc/yara-doc/html
/usr/share/doc/yara-doc/html/.buildinfo
/usr/share/doc/yara-doc/html/_sources
/usr/share/doc/yara-doc/html/_sources/capi.rst.txt
/usr/share/doc/yara-doc/html/_sources/commandline.rst.txt
/usr/share/doc/yara-doc/html/_sources/gettingstarted.rst.txt
/usr/share/doc/yara-doc/html/_sources/index.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules
/usr/share/doc/yara-doc/html/_sources/modules.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules/cuckoo.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules/dotnet.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules/elf.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules/hash.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules/magic.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules/math.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules/pe.rst.txt
/usr/share/doc/yara-doc/html/_sources/modules/time.rst.txt
/usr/share/doc/yara-doc/html/_sources/writingmodules.rst.txt
/usr/share/doc/yara-doc/html/_sources/writingrules.rst.txt
/usr/share/doc/yara-doc/html/_sources/yarapython.rst.txt
/usr/share/doc/yara-doc/html/_static
/usr/share/doc/yara-doc/html/_static/ajax-loader.gif
/usr/share/doc/yara-doc/html/_static/basic.css
/usr/share/doc/yara-doc/html/_static/classic.css
/usr/share/doc/yara-doc/html/_static/comment-bright.png
/usr/share/doc/yara-doc/html/_static/comment-close.png
/usr/share/doc/yara-doc/html/_static/comment.png
/usr/share/doc/yara-doc/html/_static/default.css
/usr/share/doc/yara-doc/html/_static/doctools.js
/usr/share/doc/yara-doc/html/_static/documentation_options.js
/usr/share/doc/yara-doc/html/_static/down-pressed.png
/usr/share/doc/yara-doc/html/_static/down.png
/usr/share/doc/yara-doc/html/_static/file.png
/usr/share/doc/yara-doc/html/_static/jquery-3.2.1.js
/usr/share/doc/yara-doc/html/_static/jquery.js
/usr/share/doc/yara-doc/html/_static/minus.png
/usr/share/doc/yara-doc/html/_static/plus.png
/usr/share/doc/yara-doc/html/_static/pygments.css
/usr/share/doc/yara-doc/html/_static/searchtools.js
/usr/share/doc/yara-doc/html/_static/sidebar.js
/usr/share/doc/yara-doc/html/_static/underscore-1.3.1.js
/usr/share/doc/yara-doc/html/_static/underscore.js
/usr/share/doc/yara-doc/html/_static/up-pressed.png
/usr/share/doc/yara-doc/html/_static/up.png
/usr/share/doc/yara-doc/html/_static/websupport.js
/usr/share/doc/yara-doc/html/capi.html
/usr/share/doc/yara-doc/html/commandline.html
/usr/share/doc/yara-doc/html/genindex.html
/usr/share/doc/yara-doc/html/gettingstarted.html
/usr/share/doc/yara-doc/html/index.html
/usr/share/doc/yara-doc/html/modules
/usr/share/doc/yara-doc/html/modules.html
/usr/share/doc/yara-doc/html/modules/cuckoo.html
/usr/share/doc/yara-doc/html/modules/dotnet.html
/usr/share/doc/yara-doc/html/modules/elf.html
/usr/share/doc/yara-doc/html/modules/hash.html
/usr/share/doc/yara-doc/html/modules/magic.html
/usr/share/doc/yara-doc/html/modules/math.html
/usr/share/doc/yara-doc/html/modules/pe.html
/usr/share/doc/yara-doc/html/modules/time.html
/usr/share/doc/yara-doc/html/objects.inv
/usr/share/doc/yara-doc/html/py-modindex.html
/usr/share/doc/yara-doc/html/search.html
/usr/share/doc/yara-doc/html/searchindex.js
/usr/share/doc/yara-doc/html/writingmodules.html
/usr/share/doc/yara-doc/html/writingrules.html
/usr/share/doc/yara-doc/html/yarapython.html
/usr/share/licenses/yara-doc
/usr/share/licenses/yara-doc/COPYING

References

Summary

In this tutorial we learn how to install yara-doc on CentOS 8 using yum and dnf.