[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] How to install eggs in $HOME?
From: |
Manfred Lotz |
Subject: |
Re: [Chicken-users] How to install eggs in $HOME? |
Date: |
Sun, 15 Jun 2014 17:40:18 +0200 |
On Sun, 15 Jun 2014 14:51:50 +0400
Oleg Kolosov <address@hidden> wrote:
> On 06/15/14 13:28, Manfred Lotz wrote:
> > Hi there,
> > I was playing a bit with Chicken Scheme and was unable to install an
> > egg.
> >
> > chicken is installed as rpm package chicken in fedora 20.
> >
> > Now when doing, e.g.
> > chicken-install numbers
> > I get a permission denied:
> > cp: cannot create regular file ‘/usr/lib64/chicken/6/numbers.so’:
> > Permission denied
> >
> >
> > I could run chicken-install with sudo but I do want to have only
> > stuff in /usr/lib64 which is installed by using the system's
> > package manager.
> >
> > Question: Could I point chicken to a directory in $HOME where my egg
> > installations could go to?
> >
>
> # exact path is irrelevant as long as you can write to it
> mkdir -p $HOME/.local/lib/chicken
> chicken-install -init $HOME/.local/lib/chicken
> export CHICKEN_REPOSITORY=$HOME/.local/lib/chicken
>
> chicken-install numbers
>
> Add "export CHICKEN_REPOSITORY ..." command to .bashrc or kde env or
> so to persist.
>
Great. This is what I was looking for. Thanks a lot.
--
Manfred