parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie ?


From: Ole Tange
Subject: Re: newbie ?
Date: Sun, 16 Apr 2017 17:04:18 +0200

On Fri, Apr 7, 2017 at 4:42 AM, ed bierly <ebierly@gmail.com> wrote:
> thank you very much Ole
> could you point me to where i can get this capability for ubuntu 16.10

= 10 seconds installation =

For security reasons it is recommended you use your package manager to
install. But if you cannot do that then you can use this 10 seconds
installation.

The 10 seconds installation will try do to a full installation; if
that fails, a personal installation; if that fails, a minimal
installation.

    (wget -O - pi.dk/3 || curl pi.dk/3/ || fetch -o - http://pi.dk/3) | bash

This will literally install faster than reading the rest of this
document.


= Full installation =

Full installation of GNU Parallel is as simple as:

    wget http://ftpmirror.gnu.org/parallel/parallel-20170322.tar.bz2
    bzip2 -dc parallel-20170322.tar.bz2 | tar xvf -
    cd parallel-20170322
    ./configure && make && sudo make install


= Personal installation =

If you are not root you can add ~/bin to your path and install in
~/bin and ~/share:

    wget http://ftpmirror.gnu.org/parallel/parallel-20170322.tar.bz2
    bzip2 -dc parallel-20170322.tar.bz2 | tar xvf -
    cd parallel-20170322
    ./configure --prefix=$HOME && make && make install

Or if your system lacks 'make' you can simply copy src/parallel
src/sem src/niceload src/sql to a dir in your path.


= Minimal installation =

If you just need parallel and do not have 'make' installed (maybe the
system is old or Microsoft Windows):

    wget http://git.savannah.gnu.org/cgit/parallel.git/plain/src/parallel
    chmod 755 parallel
    cp parallel sem
    mv parallel sem dir-in-your-$PATH/bin/


= Test the installation =

After this you should be able to do:

    parallel -j0 ping -nc 3 ::: qubes-os.org gnu.org freenetproject.org

This will send 3 ping packets to 3 different hosts in parallel and print
the output when they complete.

Watch the intro video for a quick introduction:
https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1

Walk through the tutorial (man parallel_tutorial). You command line
will love you for it.

When using programs that use GNU Parallel to process data for
publication please cite:

    O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
    ;login: The USENIX Magazine, February 2011:42-47.

/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]