Created
June 14, 2021 12:51
-
-
Save wandersoncferreira/ec643e5331732f5f8610e03e3b95c1c3 to your computer and use it in GitHub Desktop.
pgFormatter installer for Fedora 34
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
#!/usr/bin/env bash | |
# 1. Download pgFormatter Release | |
wget https://github.com/darold/pgFormatter/archive/refs/tags/v5.0.zip | |
# 2. Unzip | |
unzip v5.0.zip | |
# 3. Install Perl Dependencies | |
sudo dnf install perl-ExtUtils-MakeMaker perl-autodie perl-open perl-FindBin | |
# 4. Create make file | |
cd pgFormatter-5.0/ | |
perl Makefile.PL | |
# 5. Install | |
make | |
sudo make install | |
# Clean files | |
cd .. | |
rm -rf v5.0.zip pgFormatter-5.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment