Rainbow/Installation Instructions: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
make build |
make build |
||
sudo make install |
sudo make install |
||
''NB: if you are installing on a system (like Debian squeeze) that uses [http://linux.die.net/man/8/nscd nscd], then you '''must''' restart nscd for rainbow to function'': |
|||
sudo /etc/init.d/nscd restart |
|||
'''from a distro package:''' |
'''from a distro package:''' |
Revision as of 02:02, 3 July 2009
Rainbow :: git :: sources :: rainbow-0.8.6.tar.bz2 :: announcement
Last updated: Michael Stone 21:07, 9 March 2009 (UTC)
The basic idea is to install rainbow, either
from source:
RAINBOW=rainbow-0.8.4 wget http://dev.laptop.org/~mstone/releases/SOURCES/$RAINBOW.tar.bz2 tar xf $RAINBOW.tar.bz2 && cd $RAINBOW make build sudo make install
NB: if you are installing on a system (like Debian squeeze) that uses nscd, then you must restart nscd for rainbow to function:
sudo /etc/init.d/nscd restart
from a distro package:
- Fedora >= 10: yum install rainbow
- Ubuntu: Bernie's PPA contains some basic rainbow packages which you can install.
- Other: Install rainbow from source or help others by packaging it for your distro!
from a unified builder or image:
like sugar-jhbuild or Sugar on a Stick (SoaS). (nb: future work)
setup:
In order for rainbow to function, you need to inject its users and groups into the system by running:
sudo /bin/sed -i -e s/^passwd:/passwd:\ rainbow/ /etc/nsswitch.conf sudo /bin/sed -i -e s/^group:/group:\ rainbow/ /etc/nsswitch.conf
To use the current "rainbow-easy" helper, you need to have an "audio" group on your system:
sudo groupadd -f audio
To use Rainbow with Sugar Activities, you need to add the following line to /etc/dbus-1/session.conf inside the <policy context="default"> section:
<allow user="*"/>
This will allow other uids besides yours to access the session bus. This might allow people on the same machine to control your applications and access your data, so only make this change if you're fine with that (e.g. no one else or only trusted ones using your computer). (We hope to improve on this situation in the future.)
Congratulations. You are now ready to test rainbow.