How To Install gnuplot-common on CentOS 8

gnuplot-common is The common gnuplot parts

Introduction

In this tutorial we learn how to install gnuplot-common on CentOS 8.

What is gnuplot-common

Gnuplot is a command-line driven, interactive function plotting program especially suited for scientific data representation. Gnuplot can be used to plot functions and data points in both two and three dimensions and in many different formats. This subpackage contains common parts needed for all versions of gnuplot.

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

Install gnuplot-common 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 gnuplot-common using dnf by running the following command:

sudo dnf -y install gnuplot-common

Install gnuplot-common 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 gnuplot-common using yum by running the following command:

sudo yum -y install gnuplot-common

How To Uninstall gnuplot-common on CentOS 8

To uninstall only the gnuplot-common package we can use the following command:

sudo dnf remove gnuplot-common

gnuplot-common Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/d133b1f3591b807f4198962e17cfb327f9477c
/usr/libexec/gnuplot
/usr/libexec/gnuplot/5.2
/usr/libexec/gnuplot/5.2/gnuplot_x11
/usr/share/X11/app-defaults/Gnuplot
/usr/share/doc/gnuplot-common
/usr/share/doc/gnuplot-common/BUGS
/usr/share/doc/gnuplot-common/ChangeLog
/usr/share/doc/gnuplot-common/Copyright
/usr/share/doc/gnuplot-common/NEWS
/usr/share/doc/gnuplot-common/README
/usr/share/gnuplot
/usr/share/gnuplot/5.2
/usr/share/gnuplot/5.2/PostScript
/usr/share/gnuplot/5.2/PostScript/8859-1.ps
/usr/share/gnuplot/5.2/PostScript/8859-15.ps
/usr/share/gnuplot/5.2/PostScript/8859-2.ps
/usr/share/gnuplot/5.2/PostScript/8859-9.ps
/usr/share/gnuplot/5.2/PostScript/aglfn.txt
/usr/share/gnuplot/5.2/PostScript/cp1250.ps
/usr/share/gnuplot/5.2/PostScript/cp1251.ps
/usr/share/gnuplot/5.2/PostScript/cp1252.ps
/usr/share/gnuplot/5.2/PostScript/cp437.ps
/usr/share/gnuplot/5.2/PostScript/cp850.ps
/usr/share/gnuplot/5.2/PostScript/cp852.ps
/usr/share/gnuplot/5.2/PostScript/koi8r.ps
/usr/share/gnuplot/5.2/PostScript/koi8u.ps
/usr/share/gnuplot/5.2/PostScript/prologue.ps
/usr/share/gnuplot/5.2/PostScript/utf-8.ps
/usr/share/gnuplot/5.2/colors_default.gp
/usr/share/gnuplot/5.2/colors_mono.gp
/usr/share/gnuplot/5.2/colors_podo.gp
/usr/share/gnuplot/5.2/gnuplot.gih
/usr/share/gnuplot/5.2/gnuplotrc
/usr/share/gnuplot/5.2/js
/usr/share/gnuplot/5.2/js/README
/usr/share/gnuplot/5.2/js/canvasmath.js
/usr/share/gnuplot/5.2/js/canvastext.js
/usr/share/gnuplot/5.2/js/gnuplot_common.js
/usr/share/gnuplot/5.2/js/gnuplot_dashedlines.js
/usr/share/gnuplot/5.2/js/gnuplot_mouse.css
/usr/share/gnuplot/5.2/js/gnuplot_mouse.js
/usr/share/gnuplot/5.2/js/gnuplot_svg.js
/usr/share/gnuplot/5.2/js/grid.png
/usr/share/gnuplot/5.2/js/help.png
/usr/share/gnuplot/5.2/js/nextzoom.png
/usr/share/gnuplot/5.2/js/previouszoom.png
/usr/share/gnuplot/5.2/js/return.png
/usr/share/gnuplot/5.2/js/textzoom.png
/usr/share/gnuplot/5.2/lua
/usr/share/gnuplot/5.2/lua/gnuplot-tikz.lua
/usr/share/info/gnuplot.info.gz
/usr/share/man/ja/man1/gnuplot-ja.1.gz
/usr/share/man/man1/gnuplot-qt.1.gz
/usr/share/man/man1/gnuplot.1.gz

References

Summary

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