How To Install eccodes on Fedora 36

In this tutorial we learn how to install eccodes in Fedora 36. eccodes is WMO data format decoding and encoding

Introduction

In this tutorial we learn how to install eccodes on Fedora 36.

What is eccodes

ecCodes is a package developed by ECMWF which provides an application programming interface and a set of tools for decoding and encoding messages in the following formats * WMO FM-92 GRIB edition 1 and edition 2 * WMO FM-94 BUFR edition 3 and edition 4 * WMO GTS abbreviated header (only decoding). A useful set of command line tools provide quick access to the messages. C, and Fortran 90 interfaces provide access to the main ecCodes functionality. ecCodes is an evolution of GRIB-API. It is designed to provide the user with a simple set of functions to access data from several formats with a key/value approach. For GRIB encoding and decoding, the GRIB-API functionality is provided fully in ecCodes with only minor interface and behaviour changes. Interfaces for C, and Fortran 90 are all maintained as in GRIB-API. However, the GRIB-API Fortran 77 interface is no longer available. In addition, a new set of functions with the prefix “codes_” is provided to operate on all the supported message formats. These functions have the same interface and behaviour as the “grib_” functions. A selection of GRIB-API tools has been included in ecCodes (ecCodes GRIB tools), while new tools are available for the BUFR (ecCodes BUFR tools) and GTS formats. The new tools have been developed to be as similar as possible to the existing GRIB-API tools maintaining, where possible, the same options and behaviour. A significant difference compared with GRIB-API tools is that bufr_dump produces output in JSON format suitable for many web based applications.

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

Install eccodes on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install eccodes

Install eccodes on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install eccodes

How To Uninstall eccodes on Fedora 36

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

sudo dnf remove eccodes

eccodes Package Contents on Fedora 36

/usr/bin/bufr_compare
/usr/bin/bufr_compare_dir
/usr/bin/bufr_copy
/usr/bin/bufr_count
/usr/bin/bufr_dump
/usr/bin/bufr_filter
/usr/bin/bufr_get
/usr/bin/bufr_index_build
/usr/bin/bufr_ls
/usr/bin/bufr_set
/usr/bin/codes_bufr_filter
/usr/bin/codes_count
/usr/bin/codes_info
/usr/bin/codes_parser
/usr/bin/codes_split_file
/usr/bin/grib2ppm
/usr/bin/grib_compare
/usr/bin/grib_copy
/usr/bin/grib_count
/usr/bin/grib_dump
/usr/bin/grib_filter
/usr/bin/grib_get
/usr/bin/grib_get_data
/usr/bin/grib_histogram
/usr/bin/grib_index_build
/usr/bin/grib_ls
/usr/bin/grib_merge
/usr/bin/grib_set
/usr/bin/grib_to_netcdf
/usr/bin/gts_compare
/usr/bin/gts_copy
/usr/bin/gts_count
/usr/bin/gts_dump
/usr/bin/gts_filter
/usr/bin/gts_get
/usr/bin/gts_ls
/usr/bin/metar_compare
/usr/bin/metar_copy
/usr/bin/metar_dump
/usr/bin/metar_filter
/usr/bin/metar_get
/usr/bin/metar_ls
/usr/bin/tigge_check
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/0b2e1096afd27f404b1b3941dcc8dc4c1a4d5a
/usr/lib/.build-id/05
/usr/lib/.build-id/05/1debe58b6d9a709f84f59491faefde1cd98434
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/81eb36ababd5111835ca5d2dfe86b1a9b314ce
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/c4553db2e5d902e85debcd02541c10dc70e0fc
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/120fddb83e876d4762f221a322db3b559ca15c
/usr/lib/.build-id/26
/usr/lib/.build-id/26/668207745b0b6f7c01309df8f5673ab89e0e86
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/60b02c6ca44c8c3f3ded4022cd8897a8f3aefb
/usr/lib/.build-id/61
/usr/lib/.build-id/61/77587d9bc914761a055946e595f1ce21795616
/usr/lib/.build-id/65
/usr/lib/.build-id/65/b5a184164d7b72367fdc0f2bdf9cb5eedc48c5
/usr/lib/.build-id/70
/usr/lib/.build-id/70/119feac30da4a77a6e2fc125baced79e3f0406
/usr/lib/.build-id/74
/usr/lib/.build-id/74/212c31a2d5736e1e3a15233f6aabf0a2655381
/usr/lib/.build-id/76
/usr/lib/.build-id/76/15fb834a2efc21f42ba9e1b1e11a662e12bb6a
/usr/lib/.build-id/77
/usr/lib/.build-id/77/7967d0255c5ec225ce398b0f111369aee44f80
/usr/lib/.build-id/77/7967d0255c5ec225ce398b0f111369aee44f80.1
/usr/lib/.build-id/77/7967d0255c5ec225ce398b0f111369aee44f80.2
/usr/lib/.build-id/77/7967d0255c5ec225ce398b0f111369aee44f80.3
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/d96f5f14249912c2d2beb1198dfe87d4373205
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/cfac419343dc2d3abfd6644ddfcf8cfd674b56
/usr/lib/.build-id/80
/usr/lib/.build-id/80/3c2a048be580a2897a84fcac9c6d30a19e39a4
/usr/lib/.build-id/85
/usr/lib/.build-id/85/85778e50b23812fd94d4d486515b4de527af34
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/2a1da95ad1c4d58d527e667af2d76b907369a2
/usr/lib/.build-id/90
/usr/lib/.build-id/90/e0fd40108d214ef141a5df24a96930717bdab0
/usr/lib/.build-id/92
/usr/lib/.build-id/92/f83b0d1e27a0f22781dfa000dcb20f1f833892
/usr/lib/.build-id/93
/usr/lib/.build-id/93/3b6ac669daebfe767fefbb01be7780889fe575
/usr/lib/.build-id/94
/usr/lib/.build-id/94/878373fa1f50f56a82bca448ca2b6d9eec9599
/usr/lib/.build-id/94/feace034ac6fdea6b073a38716d8595cea75cf
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/005bdf1f9584743707b39f9b86c01de1d65fdb
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/a2dc235efb4f43118ac4a939a1c0220efdf447
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/13bfb24f7e8e362e23fe12ceb8cc11c2eacbfd
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/b31ade60e1953953cd00b73e50e9d36f76762f
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/b870c593684592dfc5a1f15088b7ff76095cc1
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/1029c70795341557547ffc57e46ddeeac2ee08
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/e263fb0a3b423b2099957cf2c50a41f6bd44fd
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/9479a1e25edc52455cc9f9fa31afaf417743a6
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/56acf8ae125384cf66090e17630a181570f2be
/usr/lib/.build-id/d6/93daf1468d3a489e01240aa4bd819e4877a1e9
/usr/lib/.build-id/db
/usr/lib/.build-id/db/074b068003ca3d78f6c428c696b1bdb7cdf343
/usr/lib/.build-id/db/7235c0ad1cfeda227ebf0b032a0b702fb58f87
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/bf35b7651f791f2fdee8f085e03e734a515fae
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/fc8f6b8f3c5f54767469fc9020cfbd77bb9bae
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/155c592291b6c1a9658b4aceea7fe4f10c5221
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/1f3fc55fb9dc0e257149b5ea7ee49976ba41f5
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/df3622297ea68c2eda5812ff59efecd806bf73
/usr/lib64/libeccodes.so.0.1
/usr/lib64/libeccodes_f90.so.0.1
/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/licenses/eccodes
/usr/share/licenses/eccodes/LICENSE

References

Summary

In this tutorial we learn how to install eccodes on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).