Skip to content

Instantly share code, notes, and snippets.

@scivision
Last active January 19, 2023 12:10
Show Gist options
  • Save scivision/a83bb62e3f1cdfc379223370af04e915 to your computer and use it in GitHub Desktop.
Save scivision/a83bb62e3f1cdfc379223370af04e915 to your computer and use it in GitHub Desktop.
setup GNU Parallel Bash script
#!/usr/bin/env bash
# useful for platforms that don't currently have GNU Parallel in their repo.
# does NOT work on Git Bash due to missing GNU Make etc.
# it builds on Cygwin, but may have runtime issues--give it a try.
set -e
curl -O ftp://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2
tar -xf parallel-latest.tar.bz2
(
cd parallel-*/
./configure --prefix $HOME/.local
make
make install
)
@scotty6435
Copy link

Only if you also have make available, it's not in the git bash exec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment