3 ms·
Since Debian Stretch / Ubuntu 17.04 they do the right thing. If you install parallel & moreutils you get the GNU parallel as /usr/bin/parallel and moreutil's p
by bryanlarsen 6y ago
Since Debian Stretch / Ubuntu 17.04 they do the right thing.
If you install parallel & moreutils you get the GNU parallel as /usr/bin/parallel and moreutil's parallel as /usr/bin/parallel.moreutils. If you only install moreutils, it provides /usr/bin/parallel.
You can use the debian alternatives system to flip the order.
https://superuser.com/a/1253492/78988 https://superuser.com/a/1253492/78988
- dredmorbius 6y agoAnother alternative might be to have a set of packages, 'moreutils-spnge, moreutiles-pee, ... moreutils-common, moreutils-doc', which could be installed independently, and, if desired, a 'moreutils' virtual package dependent on the whole set for simplified installation. Debian also has namespace-collision policies and an 'alternatives' facility for deciding which of multiple implementations of a tool (gawk, nawk, mawk; vim, vim-tiny, nvi; python3, python2; etc.) is primary on a given system. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597050 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597050 https://www.debian.org/doc/debian-policy/ch-binary.html#virtual-packages https://www.debian.org/doc/debian-policy/ch-binary.html#virt... https://www.debian.org/doc/debian-policy/ap-pkg-alternatives.html https://www.debian.org/doc/debian-policy/ap-pkg-alternatives...