我如何获得“psql” (来自 pgadmin4)安装在 Fedora 34 上?

发布于 2025-01-16 17:06:08 字数 681 浏览 5 评论 0原文

我尝试在 Fedora 34 VM (AWS AMI EC2) 上安装“pgadmin4”,但它没有安装“psql


我运行了以下命令:< /strong>

sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-2-1.noarch.rpm
sudo yum install pgadmin4-desktop

psql 找不到

我运行:sudo find / -type f -name psql,但什么也没找到。

如何在 Fedora 34 上安装 psql

我不想安装服务器/数据库。我只需要系统上的“psql”。我不需要或不想要网络组件。


我为此浪费了大约三个小时,非常沮丧。

我搜索了又搜索,尝试了很多事情。

如果我能让这个工作正常运行,如果有人有任何想法或者已经成功安装了 pgadmin4-desktop 或者找到了将 psql 放到系统上的方法(无需安装数据库软件)。

我只需要 psql 客户端。

谢谢你,

I am attempting to install 'pgadmin4' on a Fedora 34 VM (AWS AMI EC2), but it is not installing 'psql'


I ran these commands:

sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-2-1.noarch.rpm
sudo yum install pgadmin4-desktop

and psql is no where to be found

I ran: sudo find / -type f -name psql, and nothing was found.

How do I get psql installed on Fedora 34?

I do not want to install the server / database. I just need 'psql' on the system. I do not need or want the web components.


I have lost about three hours with this, extremely frustrated.

I have searched and searched, tried a number of things.

It will be a miracle if I can get this working, if anyone has any ideas or has actually installed pgadmin4-desktop successfully or found a way to get psql onto a system (without installing the database software).

I just need the psql client.

Thank You,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

少女净妖师 2025-01-23 17:06:08

尝试一下

sudo yum install postgresql 

pgadmin4-desktop 对我来说听起来像 GUI。如果您需要服务器,它位于 postgresql-server 中

Try

sudo yum install postgresql 

pgadmin4-desktop sounds like GUI to me. If you need server it's in postgresql-server

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文