Skip to content

Instantly share code, notes, and snippets.

@CauanCabral
Created January 26, 2022 12:49
Show Gist options
  • Save CauanCabral/e51c39c23f9fffc715f39eb2ca5f2de3 to your computer and use it in GitHub Desktop.
Save CauanCabral/e51c39c23f9fffc715f39eb2ca5f2de3 to your computer and use it in GitHub Desktop.
Compiling PgModeler 0.9.4 with Ubuntu 21.04
#!/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