How To Install cgnslib on CentOS 8

cgnslib is Computational Fluid Dynamics General Notation System

Introduction

In this tutorial we learn how to install cgnslib on CentOS 8.

What is cgnslib

The Computational Fluid Dynamics General Notation System (CGNS) provides a general, portable, and extensible standard for the storage and retrieval of computational fluid dynamics (CFD) analysisdata. It consists of a collection of conventions, and free and open software implementing those conventions. It is self-descriptive, machine-independent, well-documented, and administered by an international steering committee.

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

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

sudo dnf -y install cgnslib

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

sudo yum -y install cgnslib

How To Uninstall cgnslib on CentOS 8

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

sudo dnf remove cgnslib

cgnslib Package Contents on CentOS 8

/usr/bin/adf2hdf
/usr/bin/cgconfig
/usr/bin/cgnscalc
/usr/bin/cgnscheck
/usr/bin/cgnscompress
/usr/bin/cgnsconvert
/usr/bin/cgnsdiff
/usr/bin/cgnslist
/usr/bin/cgnsnames
/usr/bin/cgnsnodes
/usr/bin/cgnsplot
/usr/bin/cgnstools
/usr/bin/cgnstools/aflr3_to_cgns
/usr/bin/cgnstools/calcwish
/usr/bin/cgnstools/cgiowish
/usr/bin/cgnstools/cgns_to_aflr3
/usr/bin/cgnstools/cgns_to_fast
/usr/bin/cgnstools/cgns_to_plot3d
/usr/bin/cgnstools/cgns_to_tecplot
/usr/bin/cgnstools/cgns_to_vtk
/usr/bin/cgnstools/convert_dataclass
/usr/bin/cgnstools/convert_location
/usr/bin/cgnstools/convert_variables
/usr/bin/cgnstools/extract_subset
/usr/bin/cgnstools/fast_to_cgns
/usr/bin/cgnstools/interpolate_cgns
/usr/bin/cgnstools/patran_to_cgns
/usr/bin/cgnstools/plot3d_to_cgns
/usr/bin/cgnstools/plotwish
/usr/bin/cgnstools/tecplot_to_cgns
/usr/bin/cgnstools/tetgen_to_cgns
/usr/bin/cgnstools/update_ngon
/usr/bin/cgnstools/vgrid_to_cgns
/usr/bin/cgnsupdate
/usr/bin/cgnsview
/usr/bin/hdf2adf
/usr/bin/unitconv
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/6759e6a23eee40502e6d5d81cf69f05b1ca9f1
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/db27327d5dbd99f0ccc25ffa9c43c9ef8217e7
/usr/lib/.build-id/27
/usr/lib/.build-id/27/b1f45f6e68899565f8febe33b8ab9385ea3810
/usr/lib/.build-id/28
/usr/lib/.build-id/28/9eba61f061f514f2800b6d21e424aed80d994e
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/eba1a99c84b2d3da20a596009e89581f86c4a7
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/f10a35accffc496f5fc3ddc21bb79acc3bd0d1
/usr/lib/.build-id/51
/usr/lib/.build-id/51/55eb3e44ecbc244661ea78273697d10a28c8d5
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/567b2ade0d1a6795c267d5ee4447ecf873c5ef
/usr/lib/.build-id/65
/usr/lib/.build-id/65/60c604670119436ef07858abb91c5b82ac3db7
/usr/lib/.build-id/68
/usr/lib/.build-id/68/6ea5747dc70ec92a25c1194cfeaee8c671c2af
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/55efd385be61b7489add45a1480fac1a860a84
/usr/lib/.build-id/71
/usr/lib/.build-id/71/2aaf58b600b5b3812cef041e7e013e4703455c
/usr/lib/.build-id/78
/usr/lib/.build-id/78/d1c6b709284de677036f615104b3449f101771
/usr/lib/.build-id/79
/usr/lib/.build-id/79/b9338e74138283662e2f3d71fac3f6c0ce3b9b
/usr/lib/.build-id/84
/usr/lib/.build-id/84/f3be95537f9f3754666b95b319551d86a00b4a
/usr/lib/.build-id/85
/usr/lib/.build-id/85/f030dee265de057695a362554a29bbbaa03c8e
/usr/lib/.build-id/86
/usr/lib/.build-id/86/995d3eaf0810be32fde1882c2701dcbaff75d0
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/6caea467bd14cc559e3df26ff699d67116db11
/usr/lib/.build-id/92
/usr/lib/.build-id/92/706c4c9d72970538698036a39e3853939eb68c
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/2fd93b2f0793eba1e5b4bb01e8b7d1af019239
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/c3a2947b4acdcdfec7629a23b67ae2afcb09af
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/99333f22d56b98beef6a8565b18bba42807104
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/e1dd724f3326252b907e2141070a8d4d67aaf7
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/17c9748dc18ff09adc247afe70b945859ba609
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/099f60bf89fe959a024940e04c90315413f798
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/6457e8544c51995cf5bd48682e339b02700fd2
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/7429d136d3be8f4466d5b33bf143d299b4d12c
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/77d22ca786fdc3103e73ad8401fe04f8f21f46
/usr/lib64/libcgns.so.3.4
/usr/share/cgnstools
/usr/share/cgnstools/aflr3.tcl
/usr/share/cgnstools/balloon.tcl
/usr/share/cgnstools/cgns-icon.xbm
/usr/share/cgnstools/cgns-mask.xbm
/usr/share/cgnstools/cgns.ico
/usr/share/cgnstools/cgns.png
/usr/share/cgnstools/cgns.tcl
/usr/share/cgnstools/cgnscalc-icon.xbm
/usr/share/cgnstools/cgnscalc-mask.xbm
/usr/share/cgnstools/cgnscalc.ico
/usr/share/cgnstools/cgnscalc.png
/usr/share/cgnstools/cgnscalc.tcl
/usr/share/cgnstools/cgnsnodes.tcl
/usr/share/cgnstools/cgnsplot-icon.xbm
/usr/share/cgnstools/cgnsplot-mask.xbm
/usr/share/cgnstools/cgnsplot.ico
/usr/share/cgnstools/cgnsplot.png
/usr/share/cgnstools/cgnsplot.tcl
/usr/share/cgnstools/cgnsview.tcl
/usr/share/cgnstools/color.tcl
/usr/share/cgnstools/combobox.tcl
/usr/share/cgnstools/config.tcl
/usr/share/cgnstools/conserved.cnv
/usr/share/cgnstools/convert.tcl
/usr/share/cgnstools/dialog.tcl
/usr/share/cgnstools/dimensional.cnv
/usr/share/cgnstools/editfile.tcl
/usr/share/cgnstools/export.tcl
/usr/share/cgnstools/fast.tcl
/usr/share/cgnstools/filesel.tcl
/usr/share/cgnstools/findfile.tcl
/usr/share/cgnstools/frame.tcl
/usr/share/cgnstools/help.tcl
/usr/share/cgnstools/import.tcl
/usr/share/cgnstools/menubar.tcl
/usr/share/cgnstools/patran.tcl
/usr/share/cgnstools/plot3d.tcl
/usr/share/cgnstools/primitive.cnv
/usr/share/cgnstools/tclIndex
/usr/share/cgnstools/tclreg.tcl
/usr/share/cgnstools/tecplot.tcl
/usr/share/cgnstools/tetgen.tcl
/usr/share/cgnstools/tkdir.tcl
/usr/share/cgnstools/tools.tcl
/usr/share/cgnstools/tree.tcl
/usr/share/cgnstools/unitconv.ico
/usr/share/cgnstools/unitconv.png
/usr/share/cgnstools/unitconv.tcl
/usr/share/cgnstools/unitconv.xbm
/usr/share/cgnstools/units.tcl
/usr/share/cgnstools/util.tcl
/usr/share/cgnstools/utilities.mnu
/usr/share/cgnstools/vgrid.tcl
/usr/share/cgnstools/vtk.tcl
/usr/share/doc/cgnslib
/usr/share/doc/cgnslib/README.md
/usr/share/doc/cgnslib/Release.txt
/usr/share/licenses/cgnslib
/usr/share/licenses/cgnslib/license.txt

References

Summary

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