How To Install libecpg-devel on Rocky Linux 8

In this tutorial we learn how to install libecpg-devel on Rocky Linux 8. libecpg-devel is Development files for ECPG - Embedded SQL in C

Introduction

In this tutorial we learn how to install libecpg-devel on Rocky Linux 8.

What is libecpg-devel

ECPG development files. You will need to install this package to build any package or any clients that use the ECPG to connect to a PostgreSQL server.

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

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

sudo dnf -y install libecpg-devel

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

sudo yum -y install libecpg-devel

How To Uninstall libecpg-devel on Rocky Linux 8

To uninstall only the libecpg-devel package we can use the following command:

sudo dnf remove libecpg-devel

libecpg-devel Package Contents on Rocky Linux 8

/usr/bin/ecpg
/usr/include/ecpg_config-i386.h
/usr/include/ecpg_config.h
/usr/include/ecpg_informix.h
/usr/include/ecpgerrno.h
/usr/include/ecpglib.h
/usr/include/ecpgtype.h
/usr/include/pgsql/informix
/usr/include/pgsql/informix/esql
/usr/include/pgsql/informix/esql/datetime.h
/usr/include/pgsql/informix/esql/decimal.h
/usr/include/pgsql/informix/esql/sqltypes.h
/usr/include/pgtypes.h
/usr/include/pgtypes_date.h
/usr/include/pgtypes_error.h
/usr/include/pgtypes_interval.h
/usr/include/pgtypes_numeric.h
/usr/include/pgtypes_timestamp.h
/usr/include/sql3types.h
/usr/include/sqlca.h
/usr/include/sqlda-compat.h
/usr/include/sqlda-native.h
/usr/include/sqlda.h
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/fb35a88ff1e6199d36f221499f3512e73b2448
/usr/lib/libecpg.so
/usr/lib/libpgtypes.so
/usr/lib/pkgconfig/libecpg.pc
/usr/lib/pkgconfig/libpgtypes.pc
/usr/share/locale/cs/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/de/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/es/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/fr/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/it/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/ja/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/ko/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/pl/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/ru/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/sv/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/tr/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/uk/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/vi/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/zh_TW/LC_MESSAGES/ecpg-13.mo
/usr/bin/ecpg
/usr/include/ecpg_config-x86_64.h
/usr/include/ecpg_config.h
/usr/include/ecpg_informix.h
/usr/include/ecpgerrno.h
/usr/include/ecpglib.h
/usr/include/ecpgtype.h
/usr/include/pgsql/informix
/usr/include/pgsql/informix/esql
/usr/include/pgsql/informix/esql/datetime.h
/usr/include/pgsql/informix/esql/decimal.h
/usr/include/pgsql/informix/esql/sqltypes.h
/usr/include/pgtypes.h
/usr/include/pgtypes_date.h
/usr/include/pgtypes_error.h
/usr/include/pgtypes_interval.h
/usr/include/pgtypes_numeric.h
/usr/include/pgtypes_timestamp.h
/usr/include/sql3types.h
/usr/include/sqlca.h
/usr/include/sqlda-compat.h
/usr/include/sqlda-native.h
/usr/include/sqlda.h
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/79daccb904854f3d1031b2bcb70619e2c36682
/usr/lib64/libecpg.so
/usr/lib64/libpgtypes.so
/usr/lib64/pkgconfig/libecpg.pc
/usr/lib64/pkgconfig/libpgtypes.pc
/usr/share/locale/cs/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/de/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/es/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/fr/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/it/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/ja/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/ko/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/pl/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/ru/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/sv/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/tr/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/uk/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/vi/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ecpg-13.mo
/usr/share/locale/zh_TW/LC_MESSAGES/ecpg-13.mo

References

Summary

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