Skip to content

Instantly share code, notes, and snippets.

@wandersoncferreira
Created June 14, 2021 12:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wandersoncferreira/ec643e5331732f5f8610e03e3b95c1c3 to your computer and use it in GitHub Desktop.
Save wandersoncferreira/ec643e5331732f5f8610e03e3b95c1c3 to your computer and use it in GitHub Desktop.
pgFormatter installer for Fedora 34
#!/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