How To Install libecpg on Rocky Linux 8
Introduction
In this tutorial we learn how to install libecpg
on Rocky Linux 8.
What is libecpg
An embedded SQL program consists of code written in an ordinary programming language, in this case C, mixed with SQL commands in specially marked sections. To build the program, the source code (.pgc) is first passed through the embedded SQL preprocessor, which converts it to an ordinary C program (.c), and afterwards it can be processed by a C compiler.
We can use yum
or dnf
to install libecpg
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libecpg.
Install libecpg 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
using dnf
by running the following command:
sudo dnf -y install libecpg
Install libecpg 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
using yum
by running the following command:
sudo yum -y install libecpg
How To Uninstall libecpg on Rocky Linux 8
To uninstall only the libecpg
package we can use the following command:
sudo dnf remove libecpg
libecpg Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/2f3071960bcc80a7e47e43c1676e6dcacc41fb
/usr/lib/libecpg.so.6
/usr/lib/libecpg.so.6.13
/usr/share/licenses/libecpg
/usr/share/licenses/libecpg/COPYRIGHT
/usr/share/locale/cs/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/de/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/es/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/fr/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/it/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/ja/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/ko/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/pl/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/ru/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/sv/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/tr/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/uk/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/vi/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ecpglib6-13.mo
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/303417db36b3ff22e25f2c9576dcf870067e04
/usr/lib64/libecpg.so.6
/usr/lib64/libecpg.so.6.13
/usr/share/licenses/libecpg
/usr/share/licenses/libecpg/COPYRIGHT
/usr/share/locale/cs/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/de/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/es/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/fr/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/it/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/ja/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/ko/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/pl/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/ru/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/sv/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/tr/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/uk/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/vi/LC_MESSAGES/ecpglib6-13.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ecpglib6-13.mo
References
Summary
In this tutorial we learn how to install libecpg
on Rocky Linux 8 using yum and dnf.