问题
I want to install GNU parrallel on Centos 7 There is not much info to find. Can someone explain me how to do this? This is some useful info I found
回答1:
The 10 seconds installation is:
$ (wget -O - pi.dk/3 || lynx -source pi.dk/3 || curl pi.dk/3/ || \
fetch -o - http://pi.dk/3 ) > install.sh
$ sha1sum install.sh | grep 3374ec53bacb199b245af2dda86df6c9
12345678 3374ec53 bacb199b 245af2dd a86df6c9
$ md5sum install.sh | grep 029a9ac06e8b5bc6052eac57b2c3c9ca
029a9ac0 6e8b5bc6 052eac57 b2c3c9ca
$ sha512sum install.sh | grep f517006d9897747bed8a4694b1acba1b
40f53af6 9e20dae5 713ba06c f517006d 9897747b ed8a4694 b1acba1b 1464beb4
60055629 3f2356f3 3e9c4e3c 76e3f3af a9db4b32 bd33322b 975696fc e6b23cfb
$ bash install.sh
It will download the script pi.dk/3
and execute it. The script basically does what it says in GNU Parallel's README, so if you feel uncomfortable by executing it directly, download the script and look at it before executing it. Or simply follow the README.
It will install the newest version of GNU Parallel, but it will not install it as a package.
回答2:
In a nutshell, Download from http://ftp.gnu.org/gnu/parallel/
Tar to new folder , build and install it.
Here is steps to install GNU on Centos
https://medium.com/@gchandra/simple-tutorial-to-install-use-gnu-parallel-79251120d618
回答3:
You can use gsrc (https://www.gnu.org/software/gsrc/) to do that. Just like 'hello' example given on that page, except replace name with 'parallel'.
来源:https://stackoverflow.com/questions/35017360/how-to-install-gnu-parallel-noarc-rpm-on-centos-7