Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install GNU Parallel in Ubuntu but I can't find a package for it in the default Ubuntu repos. Where can I get it?

share|improve this question
3  
For posterity: bugs.debian.org/cgi-bin/bugreport.cgi?bug=597050 –  Adam Monsen Jan 25 '12 at 0:27
add comment

8 Answers 8

In 13.04, you can install with apt-get:

sudo apt-get install parallel
sudo rm /etc/parallel/config

The second line is necessary because paralel is installed in --tollef mode (if anyone can provide a rationale for this, I'd like to know).

share|improve this answer
    
turn this into a wiki answer and let's pile up all the ways to install it (for 10.04, 10.10, 11.X, 13.04, etc) –  omouse May 22 '13 at 16:36
    
Probably available via this method as of Ubuntu 12.10 "Quantal": packages.ubuntu.com/quantal/parallel –  nobar May 30 '13 at 21:48
    
omg, thanks you –  AdrienBrault Jun 22 '13 at 20:34
    
The rationale behind the setting in ` /etc/parallel/config` is perhaps that moreutils already include a version of Tollef's parallel. See also unix.stackexchange.com/questions/7515/using-parallel-on-ubuntu. –  krlmlr Oct 8 '13 at 12:32
add comment

https://build.opensuse.org/package/binaries?package=parallel&project=home%3Atange&repository=xUbuntu_10.10

This should work well with 10.10. If not, you could also try the Debian 5.0 Package from here.

Edit:

Just to clarify: Even though this link is to the OpenSUSE build service, it is an Ubuntu package.

Packages for more recent Ubuntu versions are also available.

share|improve this answer
1  
Works fine on my 10.10 x86_64. I was going to build a one-off deb for this, thanks for finding one first! –  ayan4m1 Nov 12 '10 at 5:34
    
Is this package in any debian repos that I can add to be list of sources? –  balki Sep 23 '12 at 12:47
    
add comment

I looked today (2011-01-25) and didn't find any ppa or other apt repository. I did find https://launchpad.net/parallel but it only links to external resources.

Also the parallel command in the moreutils package is NOT GNU parallel but http://kitenet.net/~joey/code/moreutils/ which is not as full featured.

It's in macports and many other distributions so it should be included in Ubuntu too.

share|improve this answer
add comment

I'm on Ubuntu 11.10, and there still isn't a Canonical package of GNU Parallel. It's pretty easy to manually add though.

  1. Go to the official GNU Parallel site: http://www.gnu.org/software/parallel/
  2. Download the latest source tarball: http://ftp.gnu.org/gnu/parallel/
  3. Unpack and make it.

.

wget http://ftp.gnu.org/gnu/parallel/parallel-20120522.tar.bz2
tar -xvjf parallel*
cd parallel*
less README
./configure
make
sudo make install
share|improve this answer
    
According to the README, the shell code wget -O - pi.dk/3 | sh will install this package. If you like piping random webpages to sh. –  shabbychef Aug 14 '13 at 22:11
    
@shabbychef i strongly discourage that method, but it is in the readme.. git.savannah.gnu.org/cgit/parallel.git/tree/README –  djeikyb Aug 15 '13 at 5:03
add comment

You can use the zeroinstall feed (it should work on any os / distro):

apt-get install zeroinstall-injector
0alias parallel http://git.savannah.gnu.org/cgit/parallel.git/plain/packager/0install/parallel.xml

then just run it using the parallel command.

See http://0install.net for more info about zero install.

share|improve this answer
add comment

https://launchpad.net/~ieltonf/+archive/ppa/+packages

Or include this in your source.list:

deb http://ppa.launchpad.net/ieltonf/ppa/ubuntu oneiric main 
deb-src http://ppa.launchpad.net/ieltonf/ppa/ubuntu oneiric main 
share|improve this answer
add comment

It seems like it isn't packaged in Ubuntu & Debian, maybe you can request it be packaged.

There are also some other tools with similar features (parallel remote execution of commands on multiple systems) in the repositories that you might want to check out. (Maybe somebody else can recommend some of these.)

share|improve this answer
1  
I requested it be packaged in pad.lv/740630 –  poolie Mar 23 '11 at 0:51
    
JanC, the nice thing about gnu parallel is that it's happy to run the commands locally, rather than assuming parallelism is across different machines. –  poolie Mar 23 '11 at 0:52
add comment

It's available in *buntu 13.10 and will be 14.04LTS.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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