I am trying to install GNU parallel utility on my local ubuntu 14.04. I downloaded the tar file from here enter link description here

The version is parallel-20140622.tar.bz2

This got downloaded into my Downloads folder and then I opened a terminal and then changed my directory to Downloads and then used

tar -xjf parallel-20140622.tar.bz2 ; cd parallel-20140622; ./configure ; make;make install

But it gives me this error:

varun@varun-OptiPlex-760:~/Downloads/parallel-20140622$ make
make  all-recursive
make[1]: Entering directory `/home/varun/Downloads/parallel-20140622'
Making all in src
make[2]: Entering directory `/home/varun/Downloads/parallel-20140622/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/varun/Downloads/parallel-20140622/src'
make[2]: Entering directory `/home/varun/Downloads/parallel-20140622'
make[2]: Leaving directory `/home/varun/Downloads/parallel-20140622'
make[1]: Leaving directory `/home/varun/Downloads/parallel-20140622'
varun@varun-OptiPlex-760:~/Downloads/parallel-20140622$ make install
Making install in src
make[1]: Entering directory `/home/varun/Downloads/parallel-20140622/src'
make[2]: Entering directory `/home/varun/Downloads/parallel-20140622/src'
 /bin/mkdir -p '/usr/local/bin'
 /usr/bin/install -c parallel sem sql niceload '/usr/local/bin'
/usr/bin/install: cannot create regular file ‘/usr/local/bin/parallel’: Permission denied
/usr/bin/install: cannot create regular file ‘/usr/local/bin/sem’: Permission denied
/usr/bin/install: cannot create regular file ‘/usr/local/bin/sql’: Permission denied
/usr/bin/install: cannot create regular file ‘/usr/local/bin/niceload’: Permission denied
make[2]: *** [install-binSCRIPTS] Error 1
make[2]: Leaving directory `/home/varun/Downloads/parallel-20140622/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/varun/Downloads/parallel-20140622/src'
make: *** [install-recursive] Error 1

How to fix this?


./configure && make && sudo make install
  • 1
    This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – Pilot6 Jun 11 '15 at 3:06
  • 4
    @Pilot6 Did you try? – Ole Tange Jun 11 '15 at 5:48

You should be able to install it using apt-get. Per "Where do I get a package for GNU Parallel?":

sudo apt-get install parallel

In your specific case, though, you'll want to run sudo make install instead of just make install. Alternatively, you'll need to specify a new root directory to your configure script.

  • Thanks steve that would work; can you tell if I am installing the way I posted the question what should I do? – user3138373 Jun 10 '15 at 20:23
  • Sure! Updated the answer. – steventrouble Jun 11 '15 at 21:50
  • parallel doesn't seem to be available in 17.04 – COil Apr 27 '18 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.