Below are two quick methods of installation Gnome-Shell in Ubuntu. Please be aware that Gnome-Shell is still very much in development and should be treated as such.
Karmic Koala
If you want to try out gnome 3’s “gnome-shell” interface in Karmic, you can find it in the repo’s.
Fist of all install build-dep (sudo apt-get install build-dep). This will install any necessary dependencies needed to successfully compile and run gnome-shell.
代码: 全选
* sudo apt-get build-dep gnome-shell
代码: 全选
* sudo apt-get install gnome-shell
Once installed, you can start Gnome-Shell by typing the following command in a terminal: -
代码: 全选
* gnome-shell --replace
Updating
Gnome-shell will, once installed, automatically notify you of updates, which are installed alongside the rest of your updates in Update Manager.
==========================================华丽的分割线===========================================
Jaunty Jackalope & Intrepid Ibex
Installation
1. Download gnome-shell-build-setup.sh
代码: 全选
* wget http://svn.gnome.org/svn/gnome-shell/trunk/tools/build/gnome-shell-build-setup.sh
代码: 全选
* bash gnome-shell-build-setup.sh
2. Install the necessary build dependencies for gnome-shell (and its bundled dependencies):
代码: 全选
* sudo apt-get install build-essential automake gnome-common flex bison curl git-core subversion gtk-doc-tools mesa-common-dev xulrunner-1.9-dev libdbus-glib-1-dev libffi-dev libgconf2-dev libgtk2.0-dev libgl1-mesa-dev libgstreamer-plugins-base0.10-dev python2.5-dev
3. Download and build gnome-shell (and its bundled dependencies) by running
代码: 全选
* ~/bin/jhbuild build
Running it
1. Run
代码: 全选
* ~/bin/jhbuild shell
2. Navigate to teh correct directory using:
代码: 全选
* cd ~/gnome-shell/source/gnome-shell/scripts.
代码: 全选
* ./start-in-Xephyr
代码: 全选
* sudo apt-get install xserver-xephyr
代码: 全选
* gnome-shell --replace
If you want to keep up-to-date with the latest improvements in Gnome-Shell in Jaunty or Intrepid, you need only run one command.
代码: 全选
* ~/bin/jhbuild build –force –clean