I have previously written a post showing you how to compile software from source. You can find it here.
In this article I will show you how to install Caffeine 2.4.1 on Ubuntu 13.04 Raring Ringtail, from sources.
1. Download the caffeine*.tar.gz file, like this:
$ wget https://launchpad.net/caffeine/2.4/2.4.1/+download/caffeine_2.4.1%2B419%7Eoneiric1.tar.gz
2. Extract the tar.gz archive:
$ tar -xzvf caffeine_2.4.1+419~oneiric1.tar
3. Create the makefile:
$ cd recipe-2.4.1+419
$ ./update_translations
4. Now, as root, compile the sources:
$ sudo su
# make
5. Install the application, as root:
# make install
6. Remove the temporary unusefull files created by the installation, as root:
# make clean
To uninstall, just type, as root:
# make uninstall
In step # 3 I get a returned error stating “No such file or directory”. How do I get around this?
I have fixed the error. tip: always read the README to find out the name of the file needed for creating the makefile.
in the step 3, do ./update_translations (usually it is ./configure, but this time it tricked me and I did not pay enough attention when I wrote it.)
http://ubuntuforums.org/showthread.php?t=2089955&p=12537501#post12537501
1 -> Add ppa: sudo add-apt-repository ppa:caffeine-developers/ppa
2 -> Go to Software & Updates > Other Software > Select: http://ppa.launchpad.net/caffeine-developers/ppa/ubuntu raring main > Edit > Change raring to quantal
3 -> sudo apt-get update && sudo apt-get install caffeine
4 -> profit
thanks. I have written an article on how to install caffeine on 13.04 by using a PPA.