7

Preferably without having to compile it from source. I tried adding repositories I found on Google: CentOS 6 and CentOS 5, but both give me:

[ec2-user@ip-10-0-1-202 yum.repos.d]$ sudo yum install parallel -y
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/2016.03                                                                                                                                                                                                  | 2.1 kB     00:00
amzn-updates/2016.03                                                                                                                                                                                               | 2.3 kB     00:00
952 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package parallel.noarch 0:20160522-1.1 will be installed
--> Processing Dependency: /usr/bin/fish for package: parallel-20160522-1.1.noarch
--> Processing Dependency: /usr/bin/ksh for package: parallel-20160522-1.1.noarch
--> Processing Dependency: /usr/bin/zsh for package: parallel-20160522-1.1.noarch
--> Processing Dependency: /bin/pdksh for package: parallel-20160522-1.1.noarch
--> Processing Dependency: /usr/bin/ksh for package: parallel-20160522-1.1.noarch
--> Processing Dependency: /usr/bin/zsh for package: parallel-20160522-1.1.noarch
--> Processing Dependency: /usr/bin/fish for package: parallel-20160522-1.1.noarch
--> Processing Dependency: /bin/pdksh for package: parallel-20160522-1.1.noarch
--> Finished Dependency Resolution
Error: Package: parallel-20160522-1.1.noarch (home_tange)
           Requires: /bin/pdksh
Error: Package: parallel-20160522-1.1.noarch (home_tange)
           Requires: /usr/bin/fish
Error: Package: parallel-20160522-1.1.noarch (home_tange)
           Requires: /usr/bin/zsh
Error: Package: parallel-20160522-1.1.noarch (home_tange)
           Requires: /usr/bin/ksh
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
  • 1
    That's odd. I see no reason why gnu parallel would need any of those. Shouldn't need to be compiled from source, though... GNU parallel is written in Perl. – Michael - sqlbot Jun 16 '16 at 2:19
  • (GNU Parallel does not need the shells. But it supports them, and thus refers to them. I do not know how to tell RPM that these are not required, but that GNU Parallel will only use them if you ask it to. If you know how to do a .spec-file the problem is in the env_parallel.* files.) – Ole Tange Oct 15 '16 at 9:48
4

Installation can be done in less than 10 seconds if you follow the official installation instructions:

http://git.savannah.gnu.org/cgit/parallel.git/tree/README

| improve this answer | |
0

I was having the same issue with pdksh but was able to work around it. I was able to install GNU parallel without pdksh, and thus didn't have any errors, by:

  1. Downloading rpmforge
  2. rpm installing rpmforge
  3. yum installing parallel.
| improve this answer | |
  • Since the OP mentioned attempts for following the CentOS 6 instructions to installing parallel and got the same errors as I did, I figured that instructions that did work for me on CentOS 6 (which I posted) would work on his amazon instance. If that doesn't make sense to you I'm happy to delete the answer and post as a comment - I just wanted to provide info for people who were running into the same issue (this question was one of the top search results when I was looking for a solution.) – Tchotchke Jul 7 '16 at 20:54

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.