postgresql 如何在 Ubuntu 中找到 pgAdminIII GUI

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14008823/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 00:39:49  来源:igfitidea点击:

How to find pgAdminIII GUI in Ubuntu

postgresqlubuntuwindows-8

提问by priyanka.sarkar

I got a machine where the OS is Ubuntu and already PostgreSQL has been installed. And also the credentials being provided

我有一台操作系统是 Ubuntu 并且已经安装了 PostgreSQL 的机器。以及提供的凭据

User Name: somename
Password: somepassword

Basically I work in Windows 8 environment and after installation of PostgreSQL, we can find it from Start charms as

基本上我在 Windows 8 环境中工作,安装 PostgreSQL 后,我们可以从 Start Charms 中找到它

enter image description here

在此处输入图片说明

How to do the same from Ubuntu?

如何从 Ubuntu 做同样的事情?

回答by mvp

In Ubuntu, you can install PgAdmin3 using following console command:

在 Ubuntu 中,您可以使用以下控制台命令安装 PgAdmin3:

sudo apt-get install pgadmin3

After you've done that, you can start it from the console as pgadmin3or you can find it in Unity by pressing Windowskey and typing pgadmin.

完成后,您可以从控制台启动它,pgadmin3或者您可以通过按Windows键并在 Unity 中找到它pgadmin

If your Ubuntu is older than 12.04, standard provided PgAdmin may be too old to be usable and you may have to install pgadmin3 from alternative Ubuntu repository. For example, when I need to install it on Ubuntu 10.10, I do this:

如果您的 Ubuntu 早于 12.04,则标准提供的 PgAdmin 可能太旧而无法使用,您可能必须从替代 Ubuntu 存储库安装 pgadmin3。例如,当我需要在 Ubuntu 10.10 上安装它时,我会这样做:

sudo apt-add-repository ppa:rhonda/pgadmin3
sudo apt-get update
sudo apt-get install pgadmin3