Articles

Saturday, September 18, 2010

Install MIDORI web browser in Fedora 13




A few days back a friend of mine introduced me to the Midori web browser. Its a browser that aims to be lightweight and fast. It has other features like it uses the webkit rendering engine and the GTK+2 interface. So i thought of giving it a try and dowloaded the file midori-0.2.6.tar.bz2 from the following link:


http://www.twotoasts.de/index.php?/pages/midori_summary.html



I also noticed while searching the web that .deb packages were available for Ubuntu users and others who use the Debian package management system in their distro. Thus installation should not be a problem if they the synaptic packet manager as it would resolve the dependencies.


I on the other hand use Fedora 13 on my laptop and thus to work with the tar file provided. So first I unpacked the file with the following command:


    # tar -xjvf midori-0.2.6.tar.bz2                      (note the #, I am obviously working as the root)

Then peeked inside the extracted folder and opened the README file to look for instructions for the installation which in turn asked me to read the INSTALL file for the same. So I did, I opened the file and found the a step by step procedure for installing Medori on my system and they are as follows


Step 1


    # ./waf configure

This is the first command that needs to be run and it checks your system for the dependencies. Here is the list of things that you need to have in order to install Midori on your system:



    gcc, cpp, ar, ranlib, valac, glib-genmarshal, glib-mkenums, rst2html.py, rst2html, msgfmt, intltool-merge, gtk+-2.0, gio-2.0, gthread-2.0, rsvg-convert, x11, unique-1.0, sqlite3, webkit-1.0,

And some other library files, header files and some functions like inet_addr. Now when you are running './waf configure'. It will automatically check for the all the above and if anything really important is missing the process comes to a halt and notifies you of the missing packages that you need to install separately.



For me the folowing three packages were missing.


    msgfmt, intltool-merge and gtk+-2.0

So I looked for the rpm package files for these (which were readily available when I searched in Google). I had to download following files:

    gettext-0.17-16.1.fc13.i686.rpm for msgfmt

    intltool-0.41.1-1.fc13.noarch.rpm for intltool-merge

    gtk2-devel-2.20.1-1.fc13.i686.rpm for gtk+-2.0

I installed them with YUM(as i did not want to resolve their dependencies manually)


    i.e. # yum install package.rpm


Note: Your system needs to have Python 2.4 or above installed as well (Which is a part of the default package for most distros)


Step 2


Now that we all the programs that we need, the next step is to build.


    # ./waf build

Step 3


Finally I installed the package with the following command:


    # ./waf install

And thats it. To run the application you can either click on the icon in your applications menu or type the following on the terminal


    $ midori

Happy browsing!

3 comments:

  1. Nice info, I did not know about Midori,.. thanks!

    ReplyDelete
  2. On Ubuntu its very simple -
    (1) Check the "universe" channel is on. If not make it.
    (2) sudo apt-get install midori

    That's all.

    ReplyDelete
  3. One more point for the mighty apt-get over yum.
    but then yum is not that bad I like it, I use it!

    ReplyDelete

Arijit Basu has passed the CCNA practice test at Internetwork Training