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?
In 13.04, you can install with
sudo apt-get install parallel sudo rm /etc/parallel/config
The second line is necessary because GNU parallel is installed in
--tollef mode (if anyone can provide a rationale for this, I'd like to know).
In 14.04, the config file is apparently no longer included, since the
--tollef option was removed from the GNU parallel source entirely: http://lists.gnu.org/archive/html/parallel/2013-02/msg00018.html
This should work well with 10.10. If not, you could also try the Debian 5.0 Package from here.
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.
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.
- Go to the official GNU Parallel site: http://www.gnu.org/software/parallel/
- Download the latest source tarball: http://ftp.gnu.org/gnu/parallel/
- 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
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
See http://0install.net for more info about zero install.
As of today (11th March 2015) I recommend reading:
gnu parallel can't get along.
You can do
sudo apt-get install parallel
but you will lose
moreutils - even if you don't use
parallel, you would lose for example
ifne as well.
You could build from scratch as in the other answer.
sudo apt-get install parallel sudo mv /usr/bin/parallel /usr/bin/gnu_parallel sudo apt-get install moreutils
And then used
gnu_parallel in my scripts
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.
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
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.)
For Ubuntu 12.04 you can download it from http://packages.ubuntu.com/precise-backports/all/parallel/download
and of course install with dpkg -i