[xmonad] how to install xmonad for group of users.

Brandon Allbery allbery.b at gmail.com
Thu Apr 5 02:44:21 CEST 2012


On Wed, Apr 4, 2012 at 20:15, Imam Toufique <wnyrodeo at yahoo.com> wrote:

> I have been trying to install xmonad (using cabal) for the past week for a
> group of users and having some issues with it.  When I try to install it
> for myself it works just fine, but I when I try install it for a group of
> users, it gives me errors that some packages/modules are missing.  I used
> the following cabal command:
>
> >cabal install --prefix=$PREFIX --build-log=/tmp/xmonad.log.3 xmonad
> (where my prefix is /net/tools/xmonad/0.10
>

There are two aspects to use of cabal-install:  install location and
registry information.  Changing --prefix does not change the registry used;
if you want to do a global install, you need to add the --global option so
that the package is registered in the global database instead of the local
one.  (Note that --global will also change the default install location to
the one ghc itself is installed in, which is /usr/local for the official
Haskell Platform packages and /usr for most Linux distribution packages.)

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120404/ce36ca10/attachment.htm>


More information about the xmonad mailing list