How To Install libecpg on Fedora 34
Introduction
In this tutorial we learn how to install libecpg
on Fedora 34.
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. libecpg 13.1 5.fc34 x86_64 65 k libecpg-13.1-5.fc34.src.rpm fedora ECPG - Embedded SQL in C http PostgreSQL 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libecpg.
Install libecpg on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libecpg
using dnf
by running the following command:
sudo dnf -y install libecpg
Install libecpg on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the libecpg
package we can use the following command:
sudo dnf remove libecpg
libecpg Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/a682a3acc3f624af3f259672ad8b9fc89cc2a3
/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/75
/usr/lib/.build-id/75/23207953db83412d5f7af297605ab7559d9c77
/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
- [libecpg website](http://www.postgresql.org/ http://www.postgresql.org/)
Summary
In this tutorial we learn how to install libecpg
on Fedora 34 using yum and dnf.