How To Install plplot on Fedora 34

plplot is Library of functions for making scientific plots Library of functions for making scientific plots

Introduction

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

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. plplot 5.15.0 24.fc34 x86_64 490 k plplot-5.15.0-24.fc34.src.rpm fedora Library of functions for making scientific plots http LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install plplot.

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

sudo dnf -y install plplot

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

sudo yum -y install plplot

How To Uninstall plplot on Fedora 34

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

sudo dnf remove plplot

plplot Package Contents on Fedora 34

/usr/bin/pltek
/usr/bin/pstex2eps
/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/1a04062aa12bba143f18521330b6bb2f76a7c2
/usr/lib/.build-id/59
/usr/lib/.build-id/59/bb3976bada4201b94a08028f721df957e293be
/usr/lib/python3.9/site-packages/Plframe.py
/usr/lib/python3.9/site-packages/TclSup.py
/usr/lib/python3.9/site-packages/__pycache__/Plframe.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/__pycache__/Plframe.cpython-39.pyc
/usr/lib/python3.9/site-packages/__pycache__/TclSup.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/__pycache__/TclSup.cpython-39.pyc
/usr/lib/python3.9/site-packages/__pycache__/plplot.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/__pycache__/plplot.cpython-39.pyc
/usr/lib/python3.9/site-packages/__pycache__/plplotc.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/__pycache__/plplotc.cpython-39.pyc
/usr/lib/python3.9/site-packages/_plplotc.so
/usr/lib/python3.9/site-packages/plplot.py
/usr/lib/python3.9/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.15.0/examples
/usr/share/plplot5.15.0/examples/Chloe.pgm
/usr/share/plplot5.15.0/examples/README.Chloe
/usr/share/plplot5.15.0/examples/plplot-test-interactive.sh
/usr/share/plplot5.15.0/examples/plplot-test.sh
/usr/share/plplot5.15.0/examples/python
/usr/share/plplot5.15.0/examples/python/CMakeLists.txt
/usr/share/plplot5.15.0/examples/python/README.logo
/usr/share/plplot5.15.0/examples/python/README.pythondemos
/usr/share/plplot5.15.0/examples/python/README.rendering_tests
/usr/share/plplot5.15.0/examples/python/plplot_logo.py
/usr/share/plplot5.15.0/examples/python/plplot_python_start.py
/usr/share/plplot5.15.0/examples/python/pyqt5_example.py
/usr/share/plplot5.15.0/examples/python/pythondemos.py
/usr/share/plplot5.15.0/examples/python/pytkdemo
/usr/share/plplot5.15.0/examples/python/restore.py
/usr/share/plplot5.15.0/examples/python/test_axis_precision.py
/usr/share/plplot5.15.0/examples/python/test_circle.py
/usr/share/plplot5.15.0/examples/python/test_fill.py
/usr/share/plplot5.15.0/examples/python/test_gradient.py
/usr/share/plplot5.15.0/examples/python/test_hebrew_diacritic.py
/usr/share/plplot5.15.0/examples/python/test_linebreak.py
/usr/share/plplot5.15.0/examples/python/test_plplot_encodings.py
/usr/share/plplot5.15.0/examples/python/test_plsmem.py
/usr/share/plplot5.15.0/examples/python/test_style.py
/usr/share/plplot5.15.0/examples/python/test_superscript_subscript.py
/usr/share/plplot5.15.0/examples/python/test_symbol_clip.py
/usr/share/plplot5.15.0/examples/python/test_type1.py
/usr/share/plplot5.15.0/examples/python/testh.py
/usr/share/plplot5.15.0/examples/python/x00
/usr/share/plplot5.15.0/examples/python/x00.py
/usr/share/plplot5.15.0/examples/python/x01
/usr/share/plplot5.15.0/examples/python/x01.py
/usr/share/plplot5.15.0/examples/python/x02
/usr/share/plplot5.15.0/examples/python/x02.py
/usr/share/plplot5.15.0/examples/python/x03
/usr/share/plplot5.15.0/examples/python/x03.py
/usr/share/plplot5.15.0/examples/python/x04
/usr/share/plplot5.15.0/examples/python/x04.py
/usr/share/plplot5.15.0/examples/python/x05
/usr/share/plplot5.15.0/examples/python/x05.py
/usr/share/plplot5.15.0/examples/python/x06
/usr/share/plplot5.15.0/examples/python/x06.py
/usr/share/plplot5.15.0/examples/python/x07
/usr/share/plplot5.15.0/examples/python/x07.py
/usr/share/plplot5.15.0/examples/python/x08
/usr/share/plplot5.15.0/examples/python/x08.py
/usr/share/plplot5.15.0/examples/python/x09
/usr/share/plplot5.15.0/examples/python/x09.py
/usr/share/plplot5.15.0/examples/python/x10
/usr/share/plplot5.15.0/examples/python/x10.py
/usr/share/plplot5.15.0/examples/python/x11
/usr/share/plplot5.15.0/examples/python/x11.py
/usr/share/plplot5.15.0/examples/python/x12
/usr/share/plplot5.15.0/examples/python/x12.py
/usr/share/plplot5.15.0/examples/python/x13
/usr/share/plplot5.15.0/examples/python/x13.py
/usr/share/plplot5.15.0/examples/python/x14
/usr/share/plplot5.15.0/examples/python/x14.py
/usr/share/plplot5.15.0/examples/python/x15
/usr/share/plplot5.15.0/examples/python/x15.py
/usr/share/plplot5.15.0/examples/python/x16
/usr/share/plplot5.15.0/examples/python/x16.py
/usr/share/plplot5.15.0/examples/python/x17
/usr/share/plplot5.15.0/examples/python/x17.py
/usr/share/plplot5.15.0/examples/python/x18
/usr/share/plplot5.15.0/examples/python/x18.py
/usr/share/plplot5.15.0/examples/python/x19
/usr/share/plplot5.15.0/examples/python/x19.py
/usr/share/plplot5.15.0/examples/python/x20
/usr/share/plplot5.15.0/examples/python/x20.py
/usr/share/plplot5.15.0/examples/python/x21
/usr/share/plplot5.15.0/examples/python/x21.py
/usr/share/plplot5.15.0/examples/python/x22
/usr/share/plplot5.15.0/examples/python/x22.py
/usr/share/plplot5.15.0/examples/python/x23
/usr/share/plplot5.15.0/examples/python/x23.py
/usr/share/plplot5.15.0/examples/python/x24
/usr/share/plplot5.15.0/examples/python/x24.py
/usr/share/plplot5.15.0/examples/python/x25
/usr/share/plplot5.15.0/examples/python/x25.py
/usr/share/plplot5.15.0/examples/python/x26
/usr/share/plplot5.15.0/examples/python/x26.py
/usr/share/plplot5.15.0/examples/python/x27
/usr/share/plplot5.15.0/examples/python/x27.py
/usr/share/plplot5.15.0/examples/python/x28
/usr/share/plplot5.15.0/examples/python/x28.py
/usr/share/plplot5.15.0/examples/python/x29
/usr/share/plplot5.15.0/examples/python/x29.py
/usr/share/plplot5.15.0/examples/python/x30
/usr/share/plplot5.15.0/examples/python/x30.py
/usr/share/plplot5.15.0/examples/python/x31
/usr/share/plplot5.15.0/examples/python/x31.py
/usr/share/plplot5.15.0/examples/python/x33
/usr/share/plplot5.15.0/examples/python/x33.py
/usr/share/plplot5.15.0/examples/test_python.sh
/usr/bin/pltek
/usr/bin/pstex2eps
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/045d5b6d45c6b9ad46ddac309626f16b32986d
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/fad0932ef477eeec7609d62a9daee67b224f6c
/usr/lib64/python3.9/site-packages/Plframe.py
/usr/lib64/python3.9/site-packages/TclSup.py
/usr/lib64/python3.9/site-packages/__pycache__/Plframe.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/__pycache__/Plframe.cpython-39.pyc
/usr/lib64/python3.9/site-packages/__pycache__/TclSup.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/__pycache__/TclSup.cpython-39.pyc
/usr/lib64/python3.9/site-packages/__pycache__/plplot.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/__pycache__/plplot.cpython-39.pyc
/usr/lib64/python3.9/site-packages/__pycache__/plplotc.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/__pycache__/plplotc.cpython-39.pyc
/usr/lib64/python3.9/site-packages/_plplotc.so
/usr/lib64/python3.9/site-packages/plplot.py
/usr/lib64/python3.9/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.15.0/examples
/usr/share/plplot5.15.0/examples/Chloe.pgm
/usr/share/plplot5.15.0/examples/README.Chloe
/usr/share/plplot5.15.0/examples/plplot-test-interactive.sh
/usr/share/plplot5.15.0/examples/plplot-test.sh
/usr/share/plplot5.15.0/examples/python
/usr/share/plplot5.15.0/examples/python/CMakeLists.txt
/usr/share/plplot5.15.0/examples/python/README.logo
/usr/share/plplot5.15.0/examples/python/README.pythondemos
/usr/share/plplot5.15.0/examples/python/README.rendering_tests
/usr/share/plplot5.15.0/examples/python/plplot_logo.py
/usr/share/plplot5.15.0/examples/python/plplot_python_start.py
/usr/share/plplot5.15.0/examples/python/pyqt5_example.py
/usr/share/plplot5.15.0/examples/python/pythondemos.py
/usr/share/plplot5.15.0/examples/python/pytkdemo
/usr/share/plplot5.15.0/examples/python/restore.py
/usr/share/plplot5.15.0/examples/python/test_axis_precision.py
/usr/share/plplot5.15.0/examples/python/test_circle.py
/usr/share/plplot5.15.0/examples/python/test_fill.py
/usr/share/plplot5.15.0/examples/python/test_gradient.py
/usr/share/plplot5.15.0/examples/python/test_hebrew_diacritic.py
/usr/share/plplot5.15.0/examples/python/test_linebreak.py
/usr/share/plplot5.15.0/examples/python/test_plplot_encodings.py
/usr/share/plplot5.15.0/examples/python/test_plsmem.py
/usr/share/plplot5.15.0/examples/python/test_style.py
/usr/share/plplot5.15.0/examples/python/test_superscript_subscript.py
/usr/share/plplot5.15.0/examples/python/test_symbol_clip.py
/usr/share/plplot5.15.0/examples/python/test_type1.py
/usr/share/plplot5.15.0/examples/python/testh.py
/usr/share/plplot5.15.0/examples/python/x00
/usr/share/plplot5.15.0/examples/python/x00.py
/usr/share/plplot5.15.0/examples/python/x01
/usr/share/plplot5.15.0/examples/python/x01.py
/usr/share/plplot5.15.0/examples/python/x02
/usr/share/plplot5.15.0/examples/python/x02.py
/usr/share/plplot5.15.0/examples/python/x03
/usr/share/plplot5.15.0/examples/python/x03.py
/usr/share/plplot5.15.0/examples/python/x04
/usr/share/plplot5.15.0/examples/python/x04.py
/usr/share/plplot5.15.0/examples/python/x05
/usr/share/plplot5.15.0/examples/python/x05.py
/usr/share/plplot5.15.0/examples/python/x06
/usr/share/plplot5.15.0/examples/python/x06.py
/usr/share/plplot5.15.0/examples/python/x07
/usr/share/plplot5.15.0/examples/python/x07.py
/usr/share/plplot5.15.0/examples/python/x08
/usr/share/plplot5.15.0/examples/python/x08.py
/usr/share/plplot5.15.0/examples/python/x09
/usr/share/plplot5.15.0/examples/python/x09.py
/usr/share/plplot5.15.0/examples/python/x10
/usr/share/plplot5.15.0/examples/python/x10.py
/usr/share/plplot5.15.0/examples/python/x11
/usr/share/plplot5.15.0/examples/python/x11.py
/usr/share/plplot5.15.0/examples/python/x12
/usr/share/plplot5.15.0/examples/python/x12.py
/usr/share/plplot5.15.0/examples/python/x13
/usr/share/plplot5.15.0/examples/python/x13.py
/usr/share/plplot5.15.0/examples/python/x14
/usr/share/plplot5.15.0/examples/python/x14.py
/usr/share/plplot5.15.0/examples/python/x15
/usr/share/plplot5.15.0/examples/python/x15.py
/usr/share/plplot5.15.0/examples/python/x16
/usr/share/plplot5.15.0/examples/python/x16.py
/usr/share/plplot5.15.0/examples/python/x17
/usr/share/plplot5.15.0/examples/python/x17.py
/usr/share/plplot5.15.0/examples/python/x18
/usr/share/plplot5.15.0/examples/python/x18.py
/usr/share/plplot5.15.0/examples/python/x19
/usr/share/plplot5.15.0/examples/python/x19.py
/usr/share/plplot5.15.0/examples/python/x20
/usr/share/plplot5.15.0/examples/python/x20.py
/usr/share/plplot5.15.0/examples/python/x21
/usr/share/plplot5.15.0/examples/python/x21.py
/usr/share/plplot5.15.0/examples/python/x22
/usr/share/plplot5.15.0/examples/python/x22.py
/usr/share/plplot5.15.0/examples/python/x23
/usr/share/plplot5.15.0/examples/python/x23.py
/usr/share/plplot5.15.0/examples/python/x24
/usr/share/plplot5.15.0/examples/python/x24.py
/usr/share/plplot5.15.0/examples/python/x25
/usr/share/plplot5.15.0/examples/python/x25.py
/usr/share/plplot5.15.0/examples/python/x26
/usr/share/plplot5.15.0/examples/python/x26.py
/usr/share/plplot5.15.0/examples/python/x27
/usr/share/plplot5.15.0/examples/python/x27.py
/usr/share/plplot5.15.0/examples/python/x28
/usr/share/plplot5.15.0/examples/python/x28.py
/usr/share/plplot5.15.0/examples/python/x29
/usr/share/plplot5.15.0/examples/python/x29.py
/usr/share/plplot5.15.0/examples/python/x30
/usr/share/plplot5.15.0/examples/python/x30.py
/usr/share/plplot5.15.0/examples/python/x31
/usr/share/plplot5.15.0/examples/python/x31.py
/usr/share/plplot5.15.0/examples/python/x33
/usr/share/plplot5.15.0/examples/python/x33.py
/usr/share/plplot5.15.0/examples/test_python.sh

References

Summary

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