- System Preparation
- Install Dependencies
- Clone pgModeler Repository
- Build libutils with Qt 6
- Build pgModeler
- Install pgModeler System-Wide
- Install Plugins
- Create Desktop Entry
- Pin to Launcher
sudo apt update && sudo apt upgrade -y
sudo apt install -y \
build-essential git libxml2-dev libpq-dev \
qt6-base-dev qt6-tools-dev qt6-declarative-dev qt6-svg-dev
git clone https://github.com/pgmodeler/pgmodeler.git
cd pgmodeler
cd libs/libutils
qmake6
make -j$(nproc)
sudo make install
cd ../..
qmake6 pgmodeler.pro
make -j$(nproc)
sudo make install
git clone https://github.com/pgmodeler/plugins.git
qmake6 pgmodeler.pro
make -j$(nproc)
sudo make install
sudo nano /usr/share/applications/pgmodeler.desktop
Paste:
[Desktop Entry]
Name=pgModeler
Exec=pgmodeler
Icon=/usr/local/share/pgmodeler/conf/pgmodeler_logo.png
Terminal=false
Type=Application
Categories=Development;Database;
Save and exit (Ctrl+O
→ Enter
→ Ctrl+X
).
- Launch pgModeler:
pgmodeler
- Right-click the dock icon → Add to Favorites.
If the icon doesn’t appear immediately, log out and log back in to refresh the desktop session.