1

I'm working with a related issue to GNU Parallel where we suspect a bug in the most recent GNU parallel release (How To Avoid SIGCHLD error In Bash Script That Uses GNU Parallel) and I would like to revert to an older version.

Originally, this is the code I used to install:

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

(Code found here: which cygwin package to get `parallel` command?)

This is the code I found to uninstall:

(wget pi.dk/3 -qO - ||  curl pi.dk/3/) | bash
cd parallel-20*/
make uninstall

(Code found here: How to uninstall GNU parallel?)

Would it be correct to uninstall and then install the older package? Or, is there a way to install the older package and specify which version I would like to use?

Your insight and support of this question is highly appreciated.

Community
  • 1
  • 1
DomainsFeatured
  • 1,426
  • 1
  • 21
  • 39

1 Answers1

3

From README (replace 20160922 with the version you want):

wget http://ftpmirror.gnu.org/parallel/parallel-20160922.tar.bz2
bzip2 -dc parallel-20160922.tar.bz2 | tar xvf -
cd parallel-20160922
./configure && make && sudo make install
Ole Tange
  • 31,768
  • 5
  • 86
  • 104