3

I would like to be able to use the BSD unix utilities: column, join and paste in my Cygwin installation. It seems that they are not available, or I cannot find them. Is there a way to install them so I can use them on Windows?

  • join and paste are provided as part of the coreutils package, which is installed by default. If you have ls, you should have join and paste. Or are you looking specifically for the BSD versions of them? – Keith Thompson Oct 29 '11 at 22:32
7

Cygwin is based on Linux, so its utilities come from the same packages as on Linux:

  • 2
    I'm sure coreutils is installed by default; it's the same package that provides ls, rm, cp et al, so the system wouldn't be very useful without it. – Keith Thompson Oct 29 '11 at 22:31
  • 1
    The package managers can tell you. With APT dpkg -S `which column`, with PacMan pacman -Qo `which column`. No idea how to find out without a Linux. – manatwork Oct 30 '11 at 14:59
  • 2
    You can search Cygwin package content using the command cygcheck -p or this site: cygwin.com/packages. When searching for program names, it's usually a good idea to prefix them with "bin/", so as to exclude other stuff. – ak2 Oct 30 '11 at 19:57
  • 1
    @manatwork cygcheck -p bin/column lists nothing but three versions of util-linux. As I'd mentioned, if you omit the bin/, you're likely to get lots of other hits, which is why the first line of the output of cygcheck -p column says Found 30 matches for column (search truncated due to too many matches). – ak2 Nov 2 '11 at 10:06
  • 1
    @ak2 Oops. Sorry. I missed that notice. (Hard to notice it when you try to filter out the blah-blah with grep 'util'…) – manatwork Nov 2 '11 at 10:25

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.