How To Install pgmodeler on Fedora 34

pgmodeler is PostgreSQL Database Modeler

Introduction

In this tutorial we learn how to install pgmodeler on Fedora 34.

What is pgmodeler

PostgreSQL Database Modeler, or simply, pgModeler is an open source tool for modeling databases that merges the classical concepts of entity-relationship diagrams with specific features that only PostgreSQL implements. The pgModeler translates the models created by the user to SQL code and apply them onto database clusters (Version 9.x).

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

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

sudo dnf -y install pgmodeler

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

sudo yum -y install pgmodeler

How To Uninstall pgmodeler on Fedora 34

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

sudo dnf remove pgmodeler

pgmodeler Package Contents on Fedora 34

/usr/bin/pgmodeler
/usr/bin/pgmodeler-cli
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/19a13ff474bf6a6cb90051d22937984f071a3a
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/782994e67c546fa5862ab2c1d8c26c4fcde125
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/47f57eabdc783ff45b2e7c83e55a69257c8a95
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/c85121de75dbb87ca6bbebfe78cc1315e608d2
/usr/lib/.build-id/96
/usr/lib/.build-id/96/544a7c595ad0804ff3c449b4dfc51d17ab3205
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/7a21b04541f381d996616677586d344aae12bf
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/73d4926716b0036440042f84a40c25124779e1
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/4046b63c8ca29138a376624b562ff2b7d0643c
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/86c590a8b216659eeb3f79b273fab814cadf13
/usr/lib64/pgmodeler
/usr/lib64/pgmodeler/libobjrenderer.so
/usr/lib64/pgmodeler/libobjrenderer.so.1
/usr/lib64/pgmodeler/libobjrenderer.so.1.0
/usr/lib64/pgmodeler/libobjrenderer.so.1.0.0
/usr/lib64/pgmodeler/libparsers.so
/usr/lib64/pgmodeler/libparsers.so.1
/usr/lib64/pgmodeler/libparsers.so.1.0
/usr/lib64/pgmodeler/libparsers.so.1.0.0
/usr/lib64/pgmodeler/libpgconnector.so
/usr/lib64/pgmodeler/libpgconnector.so.1
/usr/lib64/pgmodeler/libpgconnector.so.1.0
/usr/lib64/pgmodeler/libpgconnector.so.1.0.0
/usr/lib64/pgmodeler/libpgmodeler.so
/usr/lib64/pgmodeler/libpgmodeler.so.1
/usr/lib64/pgmodeler/libpgmodeler.so.1.0
/usr/lib64/pgmodeler/libpgmodeler.so.1.0.0
/usr/lib64/pgmodeler/libpgmodeler_ui.so
/usr/lib64/pgmodeler/libpgmodeler_ui.so.1
/usr/lib64/pgmodeler/libpgmodeler_ui.so.1.0
/usr/lib64/pgmodeler/libpgmodeler_ui.so.1.0.0
/usr/lib64/pgmodeler/libutils.so
/usr/lib64/pgmodeler/libutils.so.1
/usr/lib64/pgmodeler/libutils.so.1.0
/usr/lib64/pgmodeler/libutils.so.1.0.0
/usr/lib64/pgmodeler/plugins
/usr/libexec/pgmodeler-ch
/usr/share/appdata/pgmodeler.appdata.xml
/usr/share/applications/pgmodeler.desktop
/usr/share/doc/pgmodeler
/usr/share/doc/pgmodeler/CHANGELOG.md
/usr/share/doc/pgmodeler/README.md
/usr/share/doc/pgmodeler/RELEASENOTES.md
/usr/share/icons/hicolor/256x256/apps/pgmodeler_logo.png
/usr/share/licenses/pgmodeler
/usr/share/licenses/pgmodeler/LICENSE
/usr/share/mime/packages/pgmodeler.xml
/usr/share/pgmodeler
/usr/share/pgmodeler/conf
/usr/share/pgmodeler/conf/connections.conf
/usr/share/pgmodeler/conf/defaults
/usr/share/pgmodeler/conf/defaults/connections.conf
/usr/share/pgmodeler/conf/defaults/example.dbm
/usr/share/pgmodeler/conf/defaults/objects-style.conf
/usr/share/pgmodeler/conf/defaults/pattern-highlight.conf
/usr/share/pgmodeler/conf/defaults/pgmodeler.conf
/usr/share/pgmodeler/conf/defaults/relationships.conf
/usr/share/pgmodeler/conf/defaults/snippets.conf
/usr/share/pgmodeler/conf/defaults/sql-highlight.conf
/usr/share/pgmodeler/conf/defaults/ui-style.conf
/usr/share/pgmodeler/conf/defaults/xml-highlight.conf
/usr/share/pgmodeler/conf/dtd
/usr/share/pgmodeler/conf/dtd/connections.dtd
/usr/share/pgmodeler/conf/dtd/objects-style.dtd
/usr/share/pgmodeler/conf/dtd/pgmodeler.dtd
/usr/share/pgmodeler/conf/dtd/relationships.dtd
/usr/share/pgmodeler/conf/dtd/snippets.dtd
/usr/share/pgmodeler/conf/dtd/source-code-highlight.dtd
/usr/share/pgmodeler/conf/dtd/sql-history.dtd
/usr/share/pgmodeler/conf/example.dbm
/usr/share/pgmodeler/conf/objects-style.conf
/usr/share/pgmodeler/conf/pattern-highlight.conf
/usr/share/pgmodeler/conf/pgmodeler.conf
/usr/share/pgmodeler/conf/pgmodeler_dbm.png
/usr/share/pgmodeler/conf/pgmodeler_logo.png
/usr/share/pgmodeler/conf/relationships.conf
/usr/share/pgmodeler/conf/schemas
/usr/share/pgmodeler/conf/schemas/application-dbm.sch
/usr/share/pgmodeler/conf/schemas/commands.sch
/usr/share/pgmodeler/conf/schemas/connections.sch
/usr/share/pgmodeler/conf/schemas/desktop.sch
/usr/share/pgmodeler/conf/schemas/file.sch
/usr/share/pgmodeler/conf/schemas/objects-style.sch
/usr/share/pgmodeler/conf/schemas/patterns.sch
/usr/share/pgmodeler/conf/schemas/pgmodeler.sch
/usr/share/pgmodeler/conf/schemas/relationships.sch
/usr/share/pgmodeler/conf/schemas/snippet.sch
/usr/share/pgmodeler/conf/schemas/snippets.sch
/usr/share/pgmodeler/conf/schemas/sql-history.sch
/usr/share/pgmodeler/conf/schemas/widget.sch
/usr/share/pgmodeler/conf/snippets.conf
/usr/share/pgmodeler/conf/sql-highlight.conf
/usr/share/pgmodeler/conf/ui-style.conf
/usr/share/pgmodeler/conf/xml-highlight.conf
/usr/share/pgmodeler/lang
/usr/share/pgmodeler/samples
/usr/share/pgmodeler/samples/3dcitydb.dbm
/usr/share/pgmodeler/samples/demo.dbm
/usr/share/pgmodeler/samples/oldsample.dbm
/usr/share/pgmodeler/samples/pagila.dbm
/usr/share/pgmodeler/samples/usda.dbm
/usr/share/pgmodeler/schemas
/usr/share/pgmodeler/schemas/alter
/usr/share/pgmodeler/schemas/alter/collation.sch
/usr/share/pgmodeler/schemas/alter/column.sch
/usr/share/pgmodeler/schemas/alter/constraint.sch
/usr/share/pgmodeler/schemas/alter/database.sch
/usr/share/pgmodeler/schemas/alter/diff.sch
/usr/share/pgmodeler/schemas/alter/domain.sch
/usr/share/pgmodeler/schemas/alter/domconstraint.sch
/usr/share/pgmodeler/schemas/alter/eventtrigger.sch
/usr/share/pgmodeler/schemas/alter/extension.sch
/usr/share/pgmodeler/schemas/alter/function.sch
/usr/share/pgmodeler/schemas/alter/index.sch
/usr/share/pgmodeler/schemas/alter/owner.sch
/usr/share/pgmodeler/schemas/alter/permission.sch
/usr/share/pgmodeler/schemas/alter/policy.sch
/usr/share/pgmodeler/schemas/alter/relationship.sch
/usr/share/pgmodeler/schemas/alter/rename.sch
/usr/share/pgmodeler/schemas/alter/role.sch
/usr/share/pgmodeler/schemas/alter/schema.sch
/usr/share/pgmodeler/schemas/alter/sequence.sch
/usr/share/pgmodeler/schemas/alter/table.sch
/usr/share/pgmodeler/schemas/alter/tablespace.sch
/usr/share/pgmodeler/schemas/alter/truncate.sch
/usr/share/pgmodeler/schemas/alter/usertype.sch
/usr/share/pgmodeler/schemas/catalog
/usr/share/pgmodeler/schemas/catalog/aggregate.sch
/usr/share/pgmodeler/schemas/catalog/cast.sch
/usr/share/pgmodeler/schemas/catalog/collation.sch
/usr/share/pgmodeler/schemas/catalog/column.sch
/usr/share/pgmodeler/schemas/catalog/comment.sch
/usr/share/pgmodeler/schemas/catalog/constraint.sch
/usr/share/pgmodeler/schemas/catalog/conversion.sch
/usr/share/pgmodeler/schemas/catalog/database.sch
/usr/share/pgmodeler/schemas/catalog/domain.sch
/usr/share/pgmodeler/schemas/catalog/eventtrigger.sch
/usr/share/pgmodeler/schemas/catalog/extension.sch
/usr/share/pgmodeler/schemas/catalog/function.sch
/usr/share/pgmodeler/schemas/catalog/index.sch
/usr/share/pgmodeler/schemas/catalog/language.sch
/usr/share/pgmodeler/schemas/catalog/notextobject.sch
/usr/share/pgmodeler/schemas/catalog/opclass.sch
/usr/share/pgmodeler/schemas/catalog/operator.sch
/usr/share/pgmodeler/schemas/catalog/opfamily.sch
/usr/share/pgmodeler/schemas/catalog/policy.sch
/usr/share/pgmodeler/schemas/catalog/role.sch
/usr/share/pgmodeler/schemas/catalog/rule.sch
/usr/share/pgmodeler/schemas/catalog/schema.sch
/usr/share/pgmodeler/schemas/catalog/sequence.sch
/usr/share/pgmodeler/schemas/catalog/server.sch
/usr/share/pgmodeler/schemas/catalog/table.sch
/usr/share/pgmodeler/schemas/catalog/tablespace.sch
/usr/share/pgmodeler/schemas/catalog/template.sch
/usr/share/pgmodeler/schemas/catalog/trigger.sch
/usr/share/pgmodeler/schemas/catalog/usertype.sch
/usr/share/pgmodeler/schemas/catalog/view.sch
/usr/share/pgmodeler/schemas/sql
/usr/share/pgmodeler/schemas/sql/aggregate.sch
/usr/share/pgmodeler/schemas/sql/cast.sch
/usr/share/pgmodeler/schemas/sql/collation.sch
/usr/share/pgmodeler/schemas/sql/column.sch
/usr/share/pgmodeler/schemas/sql/comment.sch
/usr/share/pgmodeler/schemas/sql/constraint.sch
/usr/share/pgmodeler/schemas/sql/conversion.sch
/usr/share/pgmodeler/schemas/sql/database.sch
/usr/share/pgmodeler/schemas/sql/dbmodel.sch
/usr/share/pgmodeler/schemas/sql/domain.sch
/usr/share/pgmodeler/schemas/sql/domconstraint.sch
/usr/share/pgmodeler/schemas/sql/drop.sch
/usr/share/pgmodeler/schemas/sql/element.sch
/usr/share/pgmodeler/schemas/sql/eventtrigger.sch
/usr/share/pgmodeler/schemas/sql/excelement.sch
/usr/share/pgmodeler/schemas/sql/extension.sch
/usr/share/pgmodeler/schemas/sql/function.sch
/usr/share/pgmodeler/schemas/sql/genericsql.sch
/usr/share/pgmodeler/schemas/sql/idxelement.sch
/usr/share/pgmodeler/schemas/sql/index.sch
/usr/share/pgmodeler/schemas/sql/language.sch
/usr/share/pgmodeler/schemas/sql/opclass.sch
/usr/share/pgmodeler/schemas/sql/operator.sch
/usr/share/pgmodeler/schemas/sql/opfamily.sch
/usr/share/pgmodeler/schemas/sql/parameter.sch
/usr/share/pgmodeler/schemas/sql/permission.sch
/usr/share/pgmodeler/schemas/sql/policy.sch
/usr/share/pgmodeler/schemas/sql/relationship.sch
/usr/share/pgmodeler/schemas/sql/role.sch
/usr/share/pgmodeler/schemas/sql/rule.sch
/usr/share/pgmodeler/schemas/sql/schema.sch
/usr/share/pgmodeler/schemas/sql/sequence.sch
/usr/share/pgmodeler/schemas/sql/table.sch
/usr/share/pgmodeler/schemas/sql/tablespace.sch
/usr/share/pgmodeler/schemas/sql/trigger.sch
/usr/share/pgmodeler/schemas/sql/typeattribute.sch
/usr/share/pgmodeler/schemas/sql/usertype.sch
/usr/share/pgmodeler/schemas/sql/view.sch
/usr/share/pgmodeler/schemas/xml
/usr/share/pgmodeler/schemas/xml/aggregate.sch
/usr/share/pgmodeler/schemas/xml/appendedsql.sch
/usr/share/pgmodeler/schemas/xml/basetype.sch
/usr/share/pgmodeler/schemas/xml/cast.sch
/usr/share/pgmodeler/schemas/xml/collation.sch
/usr/share/pgmodeler/schemas/xml/column.sch
/usr/share/pgmodeler/schemas/xml/comment.sch
/usr/share/pgmodeler/schemas/xml/constraint.sch
/usr/share/pgmodeler/schemas/xml/conversion.sch
/usr/share/pgmodeler/schemas/xml/customidxs.sch
/usr/share/pgmodeler/schemas/xml/database.sch
/usr/share/pgmodeler/schemas/xml/dbmodel.sch
/usr/share/pgmodeler/schemas/xml/domain.sch
/usr/share/pgmodeler/schemas/xml/domconstraint.sch
/usr/share/pgmodeler/schemas/xml/dtd
/usr/share/pgmodeler/schemas/xml/dtd/aggregate.dtd
/usr/share/pgmodeler/schemas/xml/dtd/baseelements.dtd
/usr/share/pgmodeler/schemas/xml/dtd/basetype.dtd
/usr/share/pgmodeler/schemas/xml/dtd/cast.dtd
/usr/share/pgmodeler/schemas/xml/dtd/collation.dtd
/usr/share/pgmodeler/schemas/xml/dtd/column.dtd
/usr/share/pgmodeler/schemas/xml/dtd/constraint.dtd
/usr/share/pgmodeler/schemas/xml/dtd/conversion.dtd
/usr/share/pgmodeler/schemas/xml/dtd/customidxs.dtd
/usr/share/pgmodeler/schemas/xml/dtd/database.dtd
/usr/share/pgmodeler/schemas/xml/dtd/dbmodel.dtd
/usr/share/pgmodeler/schemas/xml/dtd/domain.dtd
/usr/share/pgmodeler/schemas/xml/dtd/element.dtd
/usr/share/pgmodeler/schemas/xml/dtd/eventtrigger.dtd
/usr/share/pgmodeler/schemas/xml/dtd/extension.dtd
/usr/share/pgmodeler/schemas/xml/dtd/function.dtd
/usr/share/pgmodeler/schemas/xml/dtd/genericsql.dtd
/usr/share/pgmodeler/schemas/xml/dtd/index.dtd
/usr/share/pgmodeler/schemas/xml/dtd/label.dtd
/usr/share/pgmodeler/schemas/xml/dtd/language.dtd
/usr/share/pgmodeler/schemas/xml/dtd/metadata.dtd
/usr/share/pgmodeler/schemas/xml/dtd/opclass.dtd
/usr/share/pgmodeler/schemas/xml/dtd/operator.dtd
/usr/share/pgmodeler/schemas/xml/dtd/opfamily.dtd
/usr/share/pgmodeler/schemas/xml/dtd/permission.dtd
/usr/share/pgmodeler/schemas/xml/dtd/policy.dtd
/usr/share/pgmodeler/schemas/xml/dtd/relationship.dtd
/usr/share/pgmodeler/schemas/xml/dtd/role.dtd
/usr/share/pgmodeler/schemas/xml/dtd/rule.dtd
/usr/share/pgmodeler/schemas/xml/dtd/schema.dtd
/usr/share/pgmodeler/schemas/xml/dtd/sequence.dtd
/usr/share/pgmodeler/schemas/xml/dtd/table.dtd
/usr/share/pgmodeler/schemas/xml/dtd/tablespace.dtd
/usr/share/pgmodeler/schemas/xml/dtd/tag.dtd
/usr/share/pgmodeler/schemas/xml/dtd/textbox.dtd
/usr/share/pgmodeler/schemas/xml/dtd/trigger.dtd
/usr/share/pgmodeler/schemas/xml/dtd/usertype.dtd
/usr/share/pgmodeler/schemas/xml/dtd/view.dtd
/usr/share/pgmodeler/schemas/xml/element.sch
/usr/share/pgmodeler/schemas/xml/eventtrigger.sch
/usr/share/pgmodeler/schemas/xml/excelement.sch
/usr/share/pgmodeler/schemas/xml/extension.sch
/usr/share/pgmodeler/schemas/xml/function.sch
/usr/share/pgmodeler/schemas/xml/genericsql.sch
/usr/share/pgmodeler/schemas/xml/idxelement.sch
/usr/share/pgmodeler/schemas/xml/index.sch
/usr/share/pgmodeler/schemas/xml/info.sch
/usr/share/pgmodeler/schemas/xml/label.sch
/usr/share/pgmodeler/schemas/xml/language.sch
/usr/share/pgmodeler/schemas/xml/metadata.sch
/usr/share/pgmodeler/schemas/xml/object.sch
/usr/share/pgmodeler/schemas/xml/opclass.sch
/usr/share/pgmodeler/schemas/xml/operator.sch
/usr/share/pgmodeler/schemas/xml/opfamily.sch
/usr/share/pgmodeler/schemas/xml/parameter.sch
/usr/share/pgmodeler/schemas/xml/permission.sch
/usr/share/pgmodeler/schemas/xml/policy.sch
/usr/share/pgmodeler/schemas/xml/position.sch
/usr/share/pgmodeler/schemas/xml/prependedsql.sch
/usr/share/pgmodeler/schemas/xml/reference.sch
/usr/share/pgmodeler/schemas/xml/relationship.sch
/usr/share/pgmodeler/schemas/xml/role.sch
/usr/share/pgmodeler/schemas/xml/rule.sch
/usr/share/pgmodeler/schemas/xml/schema.sch
/usr/share/pgmodeler/schemas/xml/sequence.sch
/usr/share/pgmodeler/schemas/xml/style.sch
/usr/share/pgmodeler/schemas/xml/table.sch
/usr/share/pgmodeler/schemas/xml/tablespace.sch
/usr/share/pgmodeler/schemas/xml/tag.sch
/usr/share/pgmodeler/schemas/xml/textbox.sch
/usr/share/pgmodeler/schemas/xml/trigger.sch
/usr/share/pgmodeler/schemas/xml/typeattribute.sch
/usr/share/pgmodeler/schemas/xml/usertype.sch
/usr/share/pgmodeler/schemas/xml/view.sch

References

Summary

In this tutorial we learn how to install pgmodeler on Fedora 34 using yum and dnf.