Skip to content

Instantly share code, notes, and snippets.

@jbylund
Created February 10, 2016 00:03
Show Gist options
  • Save jbylund/9dd46e35b3bd465cfd77 to your computer and use it in GitHub Desktop.
Save jbylund/9dd46e35b3bd465cfd77 to your computer and use it in GitHub Desktop.
export workdir=$(mktemp -d)
(
cd $workdir
wget http://ftpmirror.gnu.org/parallel/parallel-latest.tar.bz2
tar -xf parallel-latest.tar.bz2
cd $(find . -maxdepth 1 -mindepth 1 -type d)
./configure
make -j $(grep -c processor /proc/cpuinfo)
sudo --non-interactive make install
)
/bin/rm -vf $workdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment