Packaging pgAdmin 4

Started by Blake McBrideover 4 years ago4 messagesgeneral
Jump to latest
#1Blake McBride
blake1024@gmail.com

Greetings,

I've had ongoing difficulties installing pgAdmin 4. These difficulties
have to do with the way pgAdmin is packaged and distributed.

For example, I use LinuxMint and Manjaro. The pgAdmin distributions
support neither. Although Mint is a derivative of Ubuntu, lsb_release -cs
returns a value not usable by pgAdmin's distribution system. I had to
tweak internal files to get it to work.

I'd like to suggest using snap, flatpack, or AppImage. Using one of these,
pgAdmin would be trivial to install on nearly any distro and on nearly any
version of those distros. Secondly, you'd have to maintain far fewer
builds.

The only negative to using one of these is that the installations would be
a bit larger. This is a very small penalty to get the portable and
convenience these package managers provide.

Thanks.

Blake McBride

#2Chuck Davis
cjgunzel@gmail.com
In reply to: Blake McBride (#1)
Re: Packaging pgAdmin 4

Have you checked your distro repositories? The distro I use ships pgAdmin
together with the latest and previous versions of postgresql.

On Sat, Nov 27, 2021 at 10:52 AM Blake McBride <blake1024@gmail.com> wrote:

Show quoted text

Greetings,

I've had ongoing difficulties installing pgAdmin 4. These difficulties
have to do with the way pgAdmin is packaged and distributed.

For example, I use LinuxMint and Manjaro. The pgAdmin distributions
support neither. Although Mint is a derivative of Ubuntu, lsb_release -cs
returns a value not usable by pgAdmin's distribution system. I had to
tweak internal files to get it to work.

I'd like to suggest using snap, flatpack, or AppImage. Using one of
these, pgAdmin would be trivial to install on nearly any distro and on
nearly any version of those distros. Secondly, you'd have to maintain far
fewer builds.

The only negative to using one of these is that the installations would be
a bit larger. This is a very small penalty to get the portable and
convenience these package managers provide.

Thanks.

Blake McBride

#3Blake McBride
blake@arahant.com
In reply to: Chuck Davis (#2)
Re: Packaging pgAdmin 4

True but they're usually out-of-date.

On Sat, Nov 27, 2021 at 2:09 PM Chuck Davis <cjgunzel@gmail.com> wrote:

Show quoted text

Have you checked your distro repositories? The distro I use ships pgAdmin
together with the latest and previous versions of postgresql.

On Sat, Nov 27, 2021 at 10:52 AM Blake McBride <blake1024@gmail.com>
wrote:

Greetings,

I've had ongoing difficulties installing pgAdmin 4. These difficulties
have to do with the way pgAdmin is packaged and distributed.

For example, I use LinuxMint and Manjaro. The pgAdmin distributions
support neither. Although Mint is a derivative of Ubuntu, lsb_release -cs
returns a value not usable by pgAdmin's distribution system. I had to
tweak internal files to get it to work.

I'd like to suggest using snap, flatpack, or AppImage. Using one of
these, pgAdmin would be trivial to install on nearly any distro and on
nearly any version of those distros. Secondly, you'd have to maintain far
fewer builds.

The only negative to using one of these is that the installations would
be a bit larger. This is a very small penalty to get the portable and
convenience these package managers provide.

Thanks.

Blake McBride

#4Rob Sargent
robjsargent@gmail.com
In reply to: Chuck Davis (#2)
Re: Packaging pgAdmin 4

On Nov 27, 2021, at 1:09 PM, Chuck Davis <cjgunzel@gmail.com> wrote:


Have you checked your distro repositories? The distro I use ships pgAdmin together with the latest and previous versions of postgresql.

On Sat, Nov 27, 2021 at 10:52 AM Blake McBride <blake1024@gmail.com> wrote:
Greetings,

I've had ongoing difficulties installing pgAdmin 4. These difficulties have to do with the way pgAdmin is packaged and distributed.

For example, I use LinuxMint and Manjaro. The pgAdmin distributions support neither. Although Mint is a derivative of Ubuntu, lsb_release -cs returns a value not usable by pgAdmin's distribution system. I had to tweak internal files to get it to work.

I'd like to suggest using snap, flatpack, or AppImage. Using one of these, pgAdmin would be trivial to install on nearly any distro and on nearly any version of those distros. Secondly, you'd have to maintain far fewer builds.

The only negative to using one of these is that the installations would be a bit larger. This is a very small penalty to get the portable and convenience these package managers provide.

Thanks.

Blake McBride

Isn’t there a separate list for pgadmin? It’s not part of Postgres. People here seem to prefer psql.

Show quoted text