How To Install plplot on Rocky Linux 8

In this tutorial we learn how to install plplot on Rocky Linux 8. plplot is Library of functions for making scientific plots

Introduction

In this tutorial we learn how to install plplot on Rocky Linux 8.

What is plplot

PLplot is a library of functions that are useful for making scientific plots. PLplot can be used from within compiled languages such as C, C++, FORTRAN and Java, and interactively from interpreted languages such as Octave, Python, Perl and Tcl. The PLplot library can be used to create standard x-y plots, semilog plots, log-log plots, contour plots, 3D surface plots, mesh plots, bar charts and pie charts. Multiple graphs (of the same or different sizes) may be placed on a single page with multiple lines in each graph. A variety of output file devices such as Postscript, png, jpeg, LaTeX and others, as well as interactive devices such as xwin, tk, xterm and Tektronics devices are supported. New devices can be easily added by writing a small number of device dependent routines. There are almost 2000 characters in the extended character set. This includes four different fonts, the Greek alphabet and a host of mathematical, musical, and other symbols. Some devices supports its own way of dealing with text, such as the Postscript and LaTeX drivers, or the png and jpeg drivers that uses the Freetype library.

We can use yum or dnf to install plplot on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install plplot.

Install plplot on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install plplot

Install plplot on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install plplot

How To Uninstall plplot on Rocky Linux 8

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

sudo dnf remove plplot

plplot Package Contents on Rocky Linux 8

/usr/bin/pltek
/usr/bin/pstex2eps
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/7f2fad0577c04f127b98f4b11f7b0907d0e789
/usr/lib/.build-id/51
/usr/lib/.build-id/51/89a973137c3eb868a3c53f78a7d0ea6d7f76b7
/usr/lib64/python3.6/site-packages/Plframe.py
/usr/lib64/python3.6/site-packages/TclSup.py
/usr/lib64/python3.6/site-packages/__pycache__/Plframe.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/Plframe.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/TclSup.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/TclSup.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/plplot.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/plplot.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/plplotc.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/plplotc.cpython-36.pyc
/usr/lib64/python3.6/site-packages/_plplotc.so
/usr/lib64/python3.6/site-packages/plplot.py
/usr/lib64/python3.6/site-packages/plplotc.py
/usr/share/info/plplotdoc.info-1.gz
/usr/share/info/plplotdoc.info-2.gz
/usr/share/info/plplotdoc.info-3.gz
/usr/share/info/plplotdoc.info.gz
/usr/share/man/man1/pltek.1.gz
/usr/share/man/man1/pstex2eps.1.gz
/usr/share/plplot5.14.0/examples
/usr/share/plplot5.14.0/examples/Chloe.pgm
/usr/share/plplot5.14.0/examples/README.Chloe
/usr/share/plplot5.14.0/examples/plplot-test-interactive.sh
/usr/share/plplot5.14.0/examples/plplot-test.sh
/usr/share/plplot5.14.0/examples/python
/usr/share/plplot5.14.0/examples/python/CMakeLists.txt
/usr/share/plplot5.14.0/examples/python/README.logo
/usr/share/plplot5.14.0/examples/python/README.pythondemos
/usr/share/plplot5.14.0/examples/python/README.rendering_tests
/usr/share/plplot5.14.0/examples/python/plplot_logo.py
/usr/share/plplot5.14.0/examples/python/plplot_python_start.py
/usr/share/plplot5.14.0/examples/python/pyqt5_example.py
/usr/share/plplot5.14.0/examples/python/pythondemos.py
/usr/share/plplot5.14.0/examples/python/pytkdemo
/usr/share/plplot5.14.0/examples/python/restore.py
/usr/share/plplot5.14.0/examples/python/test_axis_precision.py
/usr/share/plplot5.14.0/examples/python/test_circle.py
/usr/share/plplot5.14.0/examples/python/test_fill.py
/usr/share/plplot5.14.0/examples/python/test_gradient.py
/usr/share/plplot5.14.0/examples/python/test_hebrew_diacritic.py
/usr/share/plplot5.14.0/examples/python/test_linebreak.py
/usr/share/plplot5.14.0/examples/python/test_plplot_encodings.py
/usr/share/plplot5.14.0/examples/python/test_plsmem.py
/usr/share/plplot5.14.0/examples/python/test_style.py
/usr/share/plplot5.14.0/examples/python/test_superscript_subscript.py
/usr/share/plplot5.14.0/examples/python/test_symbol_clip.py
/usr/share/plplot5.14.0/examples/python/test_type1.py
/usr/share/plplot5.14.0/examples/python/testh.py
/usr/share/plplot5.14.0/examples/python/x00
/usr/share/plplot5.14.0/examples/python/x00.py
/usr/share/plplot5.14.0/examples/python/x01
/usr/share/plplot5.14.0/examples/python/x01.py
/usr/share/plplot5.14.0/examples/python/x02
/usr/share/plplot5.14.0/examples/python/x02.py
/usr/share/plplot5.14.0/examples/python/x03
/usr/share/plplot5.14.0/examples/python/x03.py
/usr/share/plplot5.14.0/examples/python/x04
/usr/share/plplot5.14.0/examples/python/x04.py
/usr/share/plplot5.14.0/examples/python/x05
/usr/share/plplot5.14.0/examples/python/x05.py
/usr/share/plplot5.14.0/examples/python/x06
/usr/share/plplot5.14.0/examples/python/x06.py
/usr/share/plplot5.14.0/examples/python/x07
/usr/share/plplot5.14.0/examples/python/x07.py
/usr/share/plplot5.14.0/examples/python/x08
/usr/share/plplot5.14.0/examples/python/x08.py
/usr/share/plplot5.14.0/examples/python/x09
/usr/share/plplot5.14.0/examples/python/x09.py
/usr/share/plplot5.14.0/examples/python/x10
/usr/share/plplot5.14.0/examples/python/x10.py
/usr/share/plplot5.14.0/examples/python/x11
/usr/share/plplot5.14.0/examples/python/x11.py
/usr/share/plplot5.14.0/examples/python/x12
/usr/share/plplot5.14.0/examples/python/x12.py
/usr/share/plplot5.14.0/examples/python/x13
/usr/share/plplot5.14.0/examples/python/x13.py
/usr/share/plplot5.14.0/examples/python/x14
/usr/share/plplot5.14.0/examples/python/x14.py
/usr/share/plplot5.14.0/examples/python/x15
/usr/share/plplot5.14.0/examples/python/x15.py
/usr/share/plplot5.14.0/examples/python/x16
/usr/share/plplot5.14.0/examples/python/x16.py
/usr/share/plplot5.14.0/examples/python/x17
/usr/share/plplot5.14.0/examples/python/x17.py
/usr/share/plplot5.14.0/examples/python/x18
/usr/share/plplot5.14.0/examples/python/x18.py
/usr/share/plplot5.14.0/examples/python/x19
/usr/share/plplot5.14.0/examples/python/x19.py
/usr/share/plplot5.14.0/examples/python/x20
/usr/share/plplot5.14.0/examples/python/x20.py
/usr/share/plplot5.14.0/examples/python/x21
/usr/share/plplot5.14.0/examples/python/x21.py
/usr/share/plplot5.14.0/examples/python/x22
/usr/share/plplot5.14.0/examples/python/x22.py
/usr/share/plplot5.14.0/examples/python/x23
/usr/share/plplot5.14.0/examples/python/x23.py
/usr/share/plplot5.14.0/examples/python/x24
/usr/share/plplot5.14.0/examples/python/x24.py
/usr/share/plplot5.14.0/examples/python/x25
/usr/share/plplot5.14.0/examples/python/x25.py
/usr/share/plplot5.14.0/examples/python/x26
/usr/share/plplot5.14.0/examples/python/x26.py
/usr/share/plplot5.14.0/examples/python/x27
/usr/share/plplot5.14.0/examples/python/x27.py
/usr/share/plplot5.14.0/examples/python/x28
/usr/share/plplot5.14.0/examples/python/x28.py
/usr/share/plplot5.14.0/examples/python/x29
/usr/share/plplot5.14.0/examples/python/x29.py
/usr/share/plplot5.14.0/examples/python/x30
/usr/share/plplot5.14.0/examples/python/x30.py
/usr/share/plplot5.14.0/examples/python/x31
/usr/share/plplot5.14.0/examples/python/x31.py
/usr/share/plplot5.14.0/examples/python/x33
/usr/share/plplot5.14.0/examples/python/x33.py
/usr/share/plplot5.14.0/examples/test_python.sh

References

Summary

In this tutorial we learn how to install plplot on Rocky Linux 8 using yum and dnf.