Created
January 26, 2022 12:49
-
-
Save CauanCabral/e51c39c23f9fffc715f39eb2ca5f2de3 to your computer and use it in GitHub Desktop.
Compiling PgModeler 0.9.4 with Ubuntu 21.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# First, download, extract and join the resource path | |
wget https://github.com/pgmodeler/pgmodeler/archive/refs/tags/v0.9.4.tar.gz -O pgmodeler-0.9.4.tar.gz | |
tar -zxvf pgmodeler-0.9.4.tar.gz | |
cd pgmodeler-0.9.4 | |
# Get the plugins project using git | |
git clone https://github.com/pgmodeler/plugins.git | |
# Install all dependencies | |
sudo apt install make g++ qt5-qmake libxml2-dev libpq-dev pkg-config libqt5svg5-dev qt5 libqt5svg5 postgresql-server-dev-all qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qttools5-dev | |
# Prepare env | |
qmake pgmodeler.pro | |
# Compile | |
make | |
# Install | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment