How To Install eccodes-doc on CentOS 8

eccodes-doc is Documentation and example code

Introduction

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

What is eccodes-doc

This package contains the html documentation for ecCodes and a fair number of example programs and scripts to use it in C, and Fortran 90.

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

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

sudo dnf -y install eccodes-doc

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

sudo yum -y install eccodes-doc

How To Uninstall eccodes-doc on CentOS 8

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

sudo dnf remove eccodes-doc

eccodes-doc Package Contents on CentOS 8

/usr/share/doc/eccodes
/usr/share/doc/eccodes/AUTHORS
/usr/share/doc/eccodes/ChangeLog
/usr/share/doc/eccodes/NEWS
/usr/share/doc/eccodes/NOTICE
/usr/share/doc/eccodes/README.md
/usr/share/doc/eccodes/examples
/usr/share/doc/eccodes/examples/C
/usr/share/doc/eccodes/examples/C/box.c
/usr/share/doc/eccodes/examples/C/bufr_attributes.c
/usr/share/doc/eccodes/examples/C/bufr_clone.c
/usr/share/doc/eccodes/examples/C/bufr_copy_data.c
/usr/share/doc/eccodes/examples/C/bufr_expanded.c
/usr/share/doc/eccodes/examples/C/bufr_get_keys.c
/usr/share/doc/eccodes/examples/C/bufr_get_string_array.c
/usr/share/doc/eccodes/examples/C/bufr_keys_iterator.c
/usr/share/doc/eccodes/examples/C/bufr_missing.c
/usr/share/doc/eccodes/examples/C/bufr_pthreads.c
/usr/share/doc/eccodes/examples/C/bufr_read_header.c
/usr/share/doc/eccodes/examples/C/bufr_read_scatterometer.c
/usr/share/doc/eccodes/examples/C/bufr_read_synop.c
/usr/share/doc/eccodes/examples/C/bufr_read_temp.c
/usr/share/doc/eccodes/examples/C/bufr_set_keys.c
/usr/share/doc/eccodes/examples/C/bufr_subset.c
/usr/share/doc/eccodes/examples/C/fieldset.c
/usr/share/doc/eccodes/examples/C/get_product_kind.c
/usr/share/doc/eccodes/examples/C/grib_clone.c
/usr/share/doc/eccodes/examples/C/grib_copy_message.c
/usr/share/doc/eccodes/examples/C/grib_ensemble_index.c
/usr/share/doc/eccodes/examples/C/grib_get_data.c
/usr/share/doc/eccodes/examples/C/grib_get_keys.c
/usr/share/doc/eccodes/examples/C/grib_index.c
/usr/share/doc/eccodes/examples/C/grib_iterator.c
/usr/share/doc/eccodes/examples/C/grib_iterator_bitmap.c
/usr/share/doc/eccodes/examples/C/grib_keys_iterator.c
/usr/share/doc/eccodes/examples/C/grib_list.c
/usr/share/doc/eccodes/examples/C/grib_multi.c
/usr/share/doc/eccodes/examples/C/grib_multi_write.c
/usr/share/doc/eccodes/examples/C/grib_nearest.c
/usr/share/doc/eccodes/examples/C/grib_nearest_multiple.c
/usr/share/doc/eccodes/examples/C/grib_precipitation.c
/usr/share/doc/eccodes/examples/C/grib_precision.c
/usr/share/doc/eccodes/examples/C/grib_print_data.c
/usr/share/doc/eccodes/examples/C/grib_pthreads.c
/usr/share/doc/eccodes/examples/C/grib_sections_copy.c
/usr/share/doc/eccodes/examples/C/grib_set_bitmap.c
/usr/share/doc/eccodes/examples/C/grib_set_data.c
/usr/share/doc/eccodes/examples/C/grib_set_keys.c
/usr/share/doc/eccodes/examples/C/grib_set_pv.c
/usr/share/doc/eccodes/examples/C/large_grib1.c
/usr/share/doc/eccodes/examples/C/mars_param.c
/usr/share/doc/eccodes/examples/C/multi2.c
/usr/share/doc/eccodes/examples/C/nc.c
/usr/share/doc/eccodes/examples/C/new_sample.c
/usr/share/doc/eccodes/examples/C/set_missing.c
/usr/share/doc/eccodes/examples/C/values_check.c
/usr/share/doc/eccodes/examples/F90
/usr/share/doc/eccodes/examples/F90/bufr_attributes.f90
/usr/share/doc/eccodes/examples/F90/bufr_clone.f90
/usr/share/doc/eccodes/examples/F90/bufr_copy_data.f90
/usr/share/doc/eccodes/examples/F90/bufr_copy_keys.f90
/usr/share/doc/eccodes/examples/F90/bufr_copy_message.f90
/usr/share/doc/eccodes/examples/F90/bufr_expanded.f90
/usr/share/doc/eccodes/examples/F90/bufr_get_keys.f90
/usr/share/doc/eccodes/examples/F90/bufr_get_string_array.f90
/usr/share/doc/eccodes/examples/F90/bufr_keys_iterator.f90
/usr/share/doc/eccodes/examples/F90/bufr_read_header.f90
/usr/share/doc/eccodes/examples/F90/bufr_read_scatterometer.f90
/usr/share/doc/eccodes/examples/F90/bufr_read_synop.f90
/usr/share/doc/eccodes/examples/F90/bufr_read_temp.f90
/usr/share/doc/eccodes/examples/F90/bufr_read_tropical_cyclone.f90
/usr/share/doc/eccodes/examples/F90/bufr_set_keys.f90
/usr/share/doc/eccodes/examples/F90/bufr_subset.f90
/usr/share/doc/eccodes/examples/F90/get_fortran.f90
/usr/share/doc/eccodes/examples/F90/get_pl.f90
/usr/share/doc/eccodes/examples/F90/get_product_kind.f90
/usr/share/doc/eccodes/examples/F90/get_pv.f90
/usr/share/doc/eccodes/examples/F90/get_set_uuid.f90
/usr/share/doc/eccodes/examples/F90/grib_clone.f90
/usr/share/doc/eccodes/examples/F90/grib_copy_message.f90
/usr/share/doc/eccodes/examples/F90/grib_copy_namespace.f90
/usr/share/doc/eccodes/examples/F90/grib_count_messages.f90
/usr/share/doc/eccodes/examples/F90/grib_count_messages_multi.f90
/usr/share/doc/eccodes/examples/F90/grib_ecc-671.f90
/usr/share/doc/eccodes/examples/F90/grib_get_data.f90
/usr/share/doc/eccodes/examples/F90/grib_get_keys.f90
/usr/share/doc/eccodes/examples/F90/grib_index.f90
/usr/share/doc/eccodes/examples/F90/grib_keys_iterator.f90
/usr/share/doc/eccodes/examples/F90/grib_multi.f90
/usr/share/doc/eccodes/examples/F90/grib_multi_write.f90
/usr/share/doc/eccodes/examples/F90/grib_nearest.f90
/usr/share/doc/eccodes/examples/F90/grib_precision.f90
/usr/share/doc/eccodes/examples/F90/grib_print_data.f90
/usr/share/doc/eccodes/examples/F90/grib_print_data_static.f90
/usr/share/doc/eccodes/examples/F90/grib_samples.f90
/usr/share/doc/eccodes/examples/F90/grib_set_bitmap.f90
/usr/share/doc/eccodes/examples/F90/grib_set_data.f90
/usr/share/doc/eccodes/examples/F90/grib_set_gvc.f90
/usr/share/doc/eccodes/examples/F90/grib_set_keys.f90
/usr/share/doc/eccodes/examples/F90/grib_set_missing.f90
/usr/share/doc/eccodes/examples/F90/grib_set_pv.f90
/usr/share/doc/eccodes/examples/F90/iterator_fortran.f90
/usr/share/doc/eccodes/examples/F90/keys_iterator_fortran.f90
/usr/share/doc/eccodes/examples/F90/multi_fortran.f90
/usr/share/doc/eccodes/examples/F90/new_from_file.f90
/usr/share/doc/eccodes/examples/F90/precision_fortran.f90
/usr/share/doc/eccodes/examples/F90/print_data_fortran.f90
/usr/share/doc/eccodes/examples/F90/read_from_file.f90
/usr/share/doc/eccodes/examples/F90/read_message.f90
/usr/share/doc/eccodes/examples/F90/set_fortran.f90
/usr/share/doc/eccodes/examples/F90/set_missing_fortran.f90
/usr/share/doc/eccodes/html
/usr/share/doc/eccodes/html/annotated.html
/usr/share/doc/eccodes/html/bc_s.png
/usr/share/doc/eccodes/html/bdwn.png
/usr/share/doc/eccodes/html/classeccodes.html
/usr/share/doc/eccodes/html/classes.html
/usr/share/doc/eccodes/html/classhigh__level__api_1_1_test_bufr_file.html
/usr/share/doc/eccodes/html/classhigh__level__api_1_1_test_bufr_message.html
/usr/share/doc/eccodes/html/classhigh__level__api_1_1_test_grib_file.html
/usr/share/doc/eccodes/html/classhigh__level__api_1_1_test_grib_index.html
/usr/share/doc/eccodes/html/classhigh__level__api_1_1_test_grib_message.html
/usr/share/doc/eccodes/html/closed.png
/usr/share/doc/eccodes/html/dir_9d95adc37effe2d0447790667f945c24.html
/usr/share/doc/eccodes/html/dir_d050070cc3e4bbd91d897ff8856046e0.html
/usr/share/doc/eccodes/html/dir_d28a4824dc47e487b107a5db32ef43c4.html
/usr/share/doc/eccodes/html/dir_da7ee69c60c6cc261c862ec60d8c4bc7.html
/usr/share/doc/eccodes/html/doxygen.css
/usr/share/doc/eccodes/html/doxygen.png
/usr/share/doc/eccodes/html/dynsections.js
/usr/share/doc/eccodes/html/eccodes_8h.html
/usr/share/doc/eccodes/html/files.html
/usr/share/doc/eccodes/html/ftv2blank.png
/usr/share/doc/eccodes/html/ftv2cl.png
/usr/share/doc/eccodes/html/ftv2doc.png
/usr/share/doc/eccodes/html/ftv2folderclosed.png
/usr/share/doc/eccodes/html/ftv2folderopen.png
/usr/share/doc/eccodes/html/ftv2lastnode.png
/usr/share/doc/eccodes/html/ftv2link.png
/usr/share/doc/eccodes/html/ftv2mlastnode.png
/usr/share/doc/eccodes/html/ftv2mnode.png
/usr/share/doc/eccodes/html/ftv2mo.png
/usr/share/doc/eccodes/html/ftv2node.png
/usr/share/doc/eccodes/html/ftv2ns.png
/usr/share/doc/eccodes/html/ftv2plastnode.png
/usr/share/doc/eccodes/html/ftv2pnode.png
/usr/share/doc/eccodes/html/ftv2splitbar.png
/usr/share/doc/eccodes/html/ftv2vertline.png
/usr/share/doc/eccodes/html/functions.html
/usr/share/doc/eccodes/html/functions_0x74.html
/usr/share/doc/eccodes/html/functions_func.html
/usr/share/doc/eccodes/html/functions_func_0x74.html
/usr/share/doc/eccodes/html/globals.html
/usr/share/doc/eccodes/html/globals_defs.html
/usr/share/doc/eccodes/html/globals_func.html
/usr/share/doc/eccodes/html/group__codes__handle.html
/usr/share/doc/eccodes/html/group__codes__index.html
/usr/share/doc/eccodes/html/group__context.html
/usr/share/doc/eccodes/html/group__environment.html
/usr/share/doc/eccodes/html/group__errors.html
/usr/share/doc/eccodes/html/group__get__set.html
/usr/share/doc/eccodes/html/group__handling__coded__messages.html
/usr/share/doc/eccodes/html/group__iterators.html
/usr/share/doc/eccodes/html/group__keys__iterator.html
/usr/share/doc/eccodes/html/index.html
/usr/share/doc/eccodes/html/installation.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__get.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__get__element.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__get__message__size.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__get__size.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__grib__find__nearest.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__grib__get__data.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__index__get.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__index__get__size.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__index__select.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__new__from__message.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__read__bytes.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__read__from__file.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__set.html
/usr/share/doc/eccodes/html/interfaceeccodes_1_1codes__write__bytes.html
/usr/share/doc/eccodes/html/jquery.js
/usr/share/doc/eccodes/html/modules.html
/usr/share/doc/eccodes/html/namespaceec_codes.html
/usr/share/doc/eccodes/html/namespacemembers.html
/usr/share/doc/eccodes/html/namespacemembers_func.html
/usr/share/doc/eccodes/html/namespaces.html
/usr/share/doc/eccodes/html/nav_f.png
/usr/share/doc/eccodes/html/nav_g.png
/usr/share/doc/eccodes/html/nav_h.png
/usr/share/doc/eccodes/html/open.png
/usr/share/doc/eccodes/html/pages.html
/usr/share/doc/eccodes/html/search
/usr/share/doc/eccodes/html/search/all_61.html
/usr/share/doc/eccodes/html/search/all_61.js
/usr/share/doc/eccodes/html/search/all_63.html
/usr/share/doc/eccodes/html/search/all_63.js
/usr/share/doc/eccodes/html/search/all_65.html
/usr/share/doc/eccodes/html/search/all_65.js
/usr/share/doc/eccodes/html/search/all_67.html
/usr/share/doc/eccodes/html/search/all_67.js
/usr/share/doc/eccodes/html/search/all_68.html
/usr/share/doc/eccodes/html/search/all_68.js
/usr/share/doc/eccodes/html/search/all_69.html
/usr/share/doc/eccodes/html/search/all_69.js
/usr/share/doc/eccodes/html/search/all_74.html
/usr/share/doc/eccodes/html/search/all_74.js
/usr/share/doc/eccodes/html/search/classes_63.html
/usr/share/doc/eccodes/html/search/classes_63.js
/usr/share/doc/eccodes/html/search/classes_65.html
/usr/share/doc/eccodes/html/search/classes_65.js
/usr/share/doc/eccodes/html/search/classes_74.html
/usr/share/doc/eccodes/html/search/classes_74.js
/usr/share/doc/eccodes/html/search/close.png
/usr/share/doc/eccodes/html/search/files_65.html
/usr/share/doc/eccodes/html/search/files_65.js
/usr/share/doc/eccodes/html/search/functions_63.html
/usr/share/doc/eccodes/html/search/functions_63.js
/usr/share/doc/eccodes/html/search/functions_74.html
/usr/share/doc/eccodes/html/search/functions_74.js
/usr/share/doc/eccodes/html/search/groups_61.html
/usr/share/doc/eccodes/html/search/groups_61.js
/usr/share/doc/eccodes/html/search/groups_65.html
/usr/share/doc/eccodes/html/search/groups_65.js
/usr/share/doc/eccodes/html/search/groups_68.html
/usr/share/doc/eccodes/html/search/groups_68.js
/usr/share/doc/eccodes/html/search/groups_69.html
/usr/share/doc/eccodes/html/search/groups_69.js
/usr/share/doc/eccodes/html/search/groups_74.html
/usr/share/doc/eccodes/html/search/groups_74.js
/usr/share/doc/eccodes/html/search/mag_sel.png
/usr/share/doc/eccodes/html/search/namespaces_65.html
/usr/share/doc/eccodes/html/search/namespaces_65.js
/usr/share/doc/eccodes/html/search/nomatches.html
/usr/share/doc/eccodes/html/search/pages_63.html
/usr/share/doc/eccodes/html/search/pages_63.js
/usr/share/doc/eccodes/html/search/pages_65.html
/usr/share/doc/eccodes/html/search/pages_65.js
/usr/share/doc/eccodes/html/search/pages_67.html
/usr/share/doc/eccodes/html/search/pages_67.js
/usr/share/doc/eccodes/html/search/search.css
/usr/share/doc/eccodes/html/search/search.js
/usr/share/doc/eccodes/html/search/search_l.png
/usr/share/doc/eccodes/html/search/search_m.png
/usr/share/doc/eccodes/html/search/search_r.png
/usr/share/doc/eccodes/html/structcodes__context.html
/usr/share/doc/eccodes/html/structcodes__handle.html
/usr/share/doc/eccodes/html/structcodes__index.html
/usr/share/doc/eccodes/html/structcodes__iterator.html
/usr/share/doc/eccodes/html/structcodes__keys__iterator.html
/usr/share/doc/eccodes/html/structcodes__multi__handle.html
/usr/share/doc/eccodes/html/structcodes__nearest.html
/usr/share/doc/eccodes/html/sync_off.png
/usr/share/doc/eccodes/html/sync_on.png
/usr/share/doc/eccodes/html/tab_a.png
/usr/share/doc/eccodes/html/tab_b.png
/usr/share/doc/eccodes/html/tab_h.png
/usr/share/doc/eccodes/html/tab_s.png
/usr/share/doc/eccodes/html/tabs.css

References

Summary

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