How To Install libecpg on Fedora 36
Introduction
In this tutorial we learn how to install libecpg on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libecpg.
Install libecpg 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 libecpg using dnf by running the following command:
sudo dnf -y install libecpg
Install libecpg 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 libecpg using yum by running the following command:
sudo yum -y install libecpg
How To Uninstall libecpg on Fedora 36
To uninstall only the libecpg package we can use the following command:
sudo dnf remove libecpg
libecpg Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/5746399bcef1e5f460b52de6a6cb3a262196b3
/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
References
Summary
In this tutorial we learn how to install libecpg on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install libecpg on Fedora 36” linkTitle: “libecpg” type: “docs” description: “In this tutorial we learn how to install libecpg in Fedora 36. libecpg is ECPG - Embedded SQL in C” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libecpg-featured.png
Introduction
In this tutorial we learn how to install libecpg on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libecpg.
Install libecpg 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 libecpg using dnf by running the following command:
sudo dnf -y install libecpg
Install libecpg 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 libecpg using yum by running the following command:
sudo yum -y install libecpg
How To Uninstall libecpg on Fedora 36
To uninstall only the libecpg package we can use the following command:
sudo dnf remove libecpg
libecpg Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/93610574551c5ef33c6aa2ca714a95fed6ad29
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).