Using the PPA

Using the PPA allows Affinity to be updated and installed easily and often.
1) Go to the PPA page and copy the first line of the sources.list entries (after choosing the correct Ubuntu version) to the clipboard. Go to System->Administration->Software Sources->Third-Party Software click the Add button. Then go back to the PPA page and click on the key id and the key id on the next page (leading you to this page), copy the text from -BEGIN PGP PUBLIC KEY BLOCK- to -END PGP PUBLIC KEY BLOCK- and paste it in a text editor (Applications->Accessories->Text Editor) and save it. Then go back to the Software Sources window and click on Authentication and click the "Import Key File…" button and choose the saved file. Close the window click the refresh button. The go to Synaptic (System->Administration->Synaptic Package Manager), select the "affinity" and "affinity-preferences" packages to install, and apply the changes. Affinity will now show in Applications->Accessories->Affinity Search.

If you prefer to use the command line, just add the lines

deb jaunty main
deb-src jaunty main

(changing jaunty into the correct version if necessary) to your /etc/apt/sources.list file and run
sudo apt-key adv --recv-keys --keyserver fa0afec25360a1cbbfa715acf97aa0211338672b
sudo apt-get update
sudo apt-get install affinity affinity-preferences

Installing from source

If you prefer to compile from source, do the following:

bzr co lp:affinity
cd affinity
sudo make install
sudo ldconfig

To update the branch, run bzr up (or bzr pull if you branched instead).


This is the command to run to get all the Ubuntu/Debian dependencies for building from source:

sudo apt-get install \
python-central \
libgnome-desktop-dev \
libpanel-applet2-dev \
libawn-dev \
gnome-common \
python-glade2 \
python-gnome2 \
libgnome2-dev \

If you want Affinity to work with Tracker, install the libtrackerclient-dev package.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License