Where did my port go?

Polytropon freebsd at edvax.de
Mon Jul 30 00:46:15 UTC 2012


On Mon, 30 Jul 2012 06:52:24 +0700, Erich Dollansky wrote:
> Hi,
> 
> whereis name
> 
> will show where the program name is.

And "which <name>" can work similarly, but you need to know the
name to ask for. If it's not the same as the port name, you need
to find it out first. This particular Haskell port werks that
way: There is no "haskell" binary installed by that name. If
the port installed is a metaport, you need to track some
references (Makefile or pkg-plist) or check the info in the
package database at /var/db/pkg.

The port name in question was "hs-haskell-platform", and by
doing the previously mentioned investigation, it's probably
the "ghc" or "runhaskell" command. I'm not familiar with
Haskell, so I can only guess. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list