How To Install pgcli on Fedora 36
Introduction
In this tutorial we learn how to install pgcli
on Fedora 36.
What is pgcli
CLI for Postgres Database. With auto-completion and syntax highlighting
We can use yum
or dnf
to install pgcli
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pgcli.
Install pgcli 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 pgcli
using dnf
by running the following command:
sudo dnf -y install pgcli
Install pgcli 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 pgcli
using yum
by running the following command:
sudo yum -y install pgcli
How To Uninstall pgcli on Fedora 36
To uninstall only the pgcli
package we can use the following command:
sudo dnf remove pgcli
pgcli Package Contents on Fedora 36
/usr/bin/pgcli
/usr/lib/python3.10/site-packages/pgcli
/usr/lib/python3.10/site-packages/pgcli-3.1.0.dist-info
/usr/lib/python3.10/site-packages/pgcli-3.1.0.dist-info/AUTHORS
/usr/lib/python3.10/site-packages/pgcli-3.1.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/pgcli-3.1.0.dist-info/LICENSE.txt
/usr/lib/python3.10/site-packages/pgcli-3.1.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/pgcli-3.1.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/pgcli-3.1.0.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/pgcli-3.1.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/pgcli/__init__.py
/usr/lib/python3.10/site-packages/pgcli/__main__.py
/usr/lib/python3.10/site-packages/pgcli/__pycache__
/usr/lib/python3.10/site-packages/pgcli/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/completion_refresher.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/completion_refresher.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/key_bindings.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/key_bindings.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/magic.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/magic.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgbuffer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgbuffer.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgcompleter.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgcompleter.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgexecute.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgexecute.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgstyle.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgstyle.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgtoolbar.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/__pycache__/pgtoolbar.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/completion_refresher.py
/usr/lib/python3.10/site-packages/pgcli/config.py
/usr/lib/python3.10/site-packages/pgcli/key_bindings.py
/usr/lib/python3.10/site-packages/pgcli/magic.py
/usr/lib/python3.10/site-packages/pgcli/main.py
/usr/lib/python3.10/site-packages/pgcli/packages
/usr/lib/python3.10/site-packages/pgcli/packages/__init__.py
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__/prioritization.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__/prioritization.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__/prompt_utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__/prompt_utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__/sqlcompletion.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/__pycache__/sqlcompletion.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__init__.py
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/ctes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/ctes.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/meta.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/meta.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/tables.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/tables.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/ctes.py
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/meta.py
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/tables.py
/usr/lib/python3.10/site-packages/pgcli/packages/parseutils/utils.py
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals/__init__.py
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals/__pycache__
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals/main.py
/usr/lib/python3.10/site-packages/pgcli/packages/pgliterals/pgliterals.json
/usr/lib/python3.10/site-packages/pgcli/packages/prioritization.py
/usr/lib/python3.10/site-packages/pgcli/packages/prompt_utils.py
/usr/lib/python3.10/site-packages/pgcli/packages/sqlcompletion.py
/usr/lib/python3.10/site-packages/pgcli/pgbuffer.py
/usr/lib/python3.10/site-packages/pgcli/pgclirc
/usr/lib/python3.10/site-packages/pgcli/pgcompleter.py
/usr/lib/python3.10/site-packages/pgcli/pgexecute.py
/usr/lib/python3.10/site-packages/pgcli/pgstyle.py
/usr/lib/python3.10/site-packages/pgcli/pgtoolbar.py
/usr/share/doc/pgcli
/usr/share/doc/pgcli/README.rst
/usr/share/doc/pgcli/changelog.rst
/usr/share/licenses/pgcli
/usr/share/licenses/pgcli/LICENSE.txt
References
Summary
In this tutorial we learn how to install pgcli
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).