Installing+Shotwell

Yorba allows a few ways to install Shotwell a follows:

On Ubuntu, open the Ubuntu Software Center, and search Shotwell. This is probably not necessary as Shotwell comes pre-packaged with Ubuntu since 10.10.

You may also install from Yorba's PPA by adding it to your sources list:
code $ sudo add-apt-repository ppa:yorba/ppa $ sudo apt-get update $ sudo apt-get install shotwell‍ code You may also download a tarball of the latest stable release and build the source. Get the source here.

Building Shotwell from source tarball
If you are installing Shotwell 0.11.6 from the source tarball, you can install dependencies for Shotwell like this: code $ sudo apt-get install libgconf2-dev libgee-dev libgexiv2-dev libglib2.0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgtk2.0-dev libgudev-1.0-dev libexif-dev libgphoto2-2-dev libraw-dev libsoup2.4-dev libxml2-dev libsqlite3-dev m4 libunique-dev libwebkit-dev code If you're installing Shotwell 0.11.6 on Ubuntu 11.10 (Oneiric Ocelot), an additional step is required. The version of the Vala compiler that comes with Oneiric is 0.14.0, but Shotwell must be built with Vala 0.12.x. Vala 0.12.1 is available in the Oneiric repositories. To install it, simply add valac-0.12 to the dependency list above.

To use the Vala 0.12.1 compiler on Oneiric, set your VALAC environment variable to point to it. You can do this by entering: code $ export VALAC=valac-0.12 code on the command line before building Shotwell.

Building Shotwell from git master
If you're building Shotwell directly from git master on Oneiric, you will need to install the following dependencies for Shotwell: code $ sudo apt-get install libgconf2-dev libgee-dev libgexiv2-dev libglib2.0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgtk-3-dev libgudev-1.0-dev libexif-dev libgphoto2-2-dev libraw-dev libsoup2.4-dev libxml2-dev libsqlite3-dev m4 libunique-3.0-dev libwebkitgtk-3.0-dev code Additionally, for those building Shotwell directly from git master on Oneiric, installation of the Vala 0.12.1 compiler is unnecessary; the current development snapshot of Shotwell builds with (and requires) Vala 0.15.x. You can install Vala 0.15.x from the Vala PPA.

Installing Vala Compiler:
code $ sudo add-apt-repository ppa:vala-team/ppa $ sudo apt-get update $ sudo apt-get install valac-0.16 code

Checkout the source from Yorba's git repository:
code $ cd path/to/your_source $ git clone git://yorba.org/shotwell code Note:You may need to install github to be able to checkout the code. Then checkout the source by following above. code $ sudo apt-get install git code

Build and Install
To build and install Shotwell, go to the directory where you unpacked or checked out the source code, and type the following commands: code $ ./configure $ make $ make install code By default, Shotwell will install in /usr/local. The configure script can customize the prefix directory. Run ./configure --help for instructions and other installation options. You need to execute make install as root (i.e. sudo make install) if installing to system directories.

Running Shotwell
Shotwell has a runtime dependency: code librsvg2-common (2.14.0) code You may execute Shotwell directly from its build directory by typing code $ ./shotwell code Also, if you plug a digital camera into your machine, Shotwell will be available as an option to automatically launch. See the Shotwell user guide for more information about how to import, view, modify, and export your photos.

Uninstalling Shotwell
Run: code $ make uninstall code As with "make install", you may need root privileges to do this.

All information in this wiki was provided by Yorba's Installing Shotwell Page.