InstallationGuide

Revision 9 as of 2010-11-12 16:55:40

Clear message

Unity Installation Guide

This page documents how you can try out Unity 3.0 on your Ubuntu system.

Note: This software is pre-alpha. You should be comfortable with being able to downgrade multiple packages if you want to go back to a stable desktop, otherwise we recommend not trying this on a production machine. Alpha 1 will have a more stable version.

Natty PPA

Unity is available in the Unity PPA.

sudo add-apt-repository ppa:unity/ppa
sudo apt-get update
sudo apt-get install unity

Natty from source

You'll need a fully updated Natty system, with the latest compiz and bamfdaemon packages installed.

You'll then need to do do this:

sudo apt-get install libglib2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpng12-dev libglew1.5-dev  libglewmx1.5-dev libxxf86vm-dev libgl1-mesa-dev libsigc++-2.0-dev libpango1.0-dev doxygen cmake build-essential debhelper pkg-config valac intltool libgee-dev libunique-dev libclutter-1.0-dev libclutter-gtk-0.10-dev libclutk-dev libbamf-dev gsettings-desktop-schemas-dev libgconf2-dev  libglib2.0-dev libdbusmenu-glib-dev libgnome-desktop-dev libgtk2.0-dev libpango1.0-dev libgnomeui-dev libdee-dev libindicator-dev  libunity-misc-dev libutouch-grail-dev libxcb-icccm1-dev compizconfig-settings-manager compiz-dev

to get all the dependencies.

You'll need to build one library that Unity depends on but isn't yet packaged in Natty called Nux:

bzr branch lp:nux
cd nux
./autogen.sh --disable-documentation
make
sudo make install

and then Unity:

bzr branch lp:unity
cd unity
mkdir build; cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCOMPIZ_PLUGIN_INSTALL_TYPE=compiz
make
make install

and finally, once that's installed, you can restart Compiz (compiz --replace) and then use CompizConfig Settings Manager (/usr/bin/ccsm) to search for and enable the Unity plugin!

Maverick PPA

Coming Soon

Maverick from source

Exactly the same as above in Natty, but you'll first need Compiz 0.9.2 patched with glib support. There aren't any packages yet but there is a build script for it in the unity source under the "tools/" directory. After installing that, make sure to update you PKG_CONFIG_PATH and you can then follow the same instructions as Natty.

What to do when it Crashes

As this is prealpha code it can crash sometimes, unchecking the Unity plugin in CCSM will stop unity from running.

[ screenshot here ]

Where to file bugs

Bugs should be filed in launchpad.