Last active
August 29, 2024 23:10
-
-
Save meresmclr/e0295105a36039aa38ce936f39b26301 to your computer and use it in GitHub Desktop.
Install GNU Parallel on any system including Cygwin
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 | |
# useful for platforms such as Cygwin that don't currently have GNU Parallel in their repo. | |
# prerequisite: make | |
( | |
wd=$(mktemp -d) | |
wget -nc -P $wd ftp://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2 | |
cd $wd | |
tar -xf parallel-latest.tar.bz2 | |
cd parallel-* | |
./configure && make && make install | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is unclear to me why @scotty6435 believes the command will fail just because
wget
is not installed:As long as you have just one of
wget
,lynx
,curl
, orfetch
installed it should work just fine.