Thread: Packaging pgAdmin 4
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
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
True but they're usually out-of-date.
On Sat, Nov 27, 2021 at 2: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
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