Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to migrate a virtual machine I use for my classes at the university from 10.04 to 12.04 and in that I am using xulrunner so that

  • first, I can have SQLiteManager as a stand alone app
  • next, KNIME can provide help for its nodes

I tried adding the the mozilla ppa as described in some posts, e.g. here or here, but when I search for xulrunner in Synaptic I get no match.

I read in this link, that xulrunner was left out intentionally, which, frankly, I think is a bad decision! Anyway, does anyone know a way out of this, i.e. how to get xulrunner?

share|improve this question
2  
Please take a moment to look at the answers to your question, and to upvote and/or accept the best answer which solves your problem (use tick/check mark on the left). This way, the question is marked as "answered" and future readers can refer to it knowing the solution works. Thank you! –  izx Jul 11 '12 at 19:57

5 Answers 5

xulrunner is no longer available in the repositories for 12.04, but it's very easy to install the latest versions provided by the Mozilla Foundation here. Since these xulrunner releases are self-contained, we'll put them in the /opt directory.

  1. Open the terminal with Ctrl+Alt+T
  2. Type cd /opt
  3. The below steps will automatically download the appropriate version of xulrunner based on the currently installed version of Firefox and whether your Ubuntu is 32-bit or 64-bit. (If you are running a Firefox beta, etc., please copy the URL manually from your browser and set XURL= to it (see below)

    • Copy and paste in the terminal, line by line:
    FFVER=`grep -Po  "\d{2}\.\d+" /usr/lib/firefox/platform.ini`
    ARCH=`uname -p`
    XURL=https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$FFVER/runtimes/xulrunner-$FFVER.en-US.linux-$ARCH.tar.bz2
    cd /opt
    sudo sh -c "wget -O- $XURL | tar -xj"
    sudo ln -s /opt/xulrunner/xulrunner /usr/bin/xulrunner
    sudo ln -s /opt/xulrunner/xpcshell /usr/bin/xpcshell
    

xulrunner is now installed, and can be run with simply xulrunner from anywhere.

  • To uninstall it, simply remove the xulrunner directory under /opt, and the /usr/bin/xulrunner and /usr/bin/xpcshell symbolic links.
share|improve this answer
    
if you want to install some specific version of xul the replace first line like this FVER='10.0' –  Uzair Farooq Jan 18 at 13:53

I had similar issue with Eclipse failing. I was able to get my version of Eclipse working, by doing the following. You can do this for your intended applications.

  1. To find the version of XULRunner supported for your Eclipse version: http://www.eclipse.org/swt/faq.php#browserlinux
  2. Go to Mozilla XULRunner releases downloads. Choose the version you want. Ignore b* suffixed versions (beta), and try to opt for latest. Again, its your choice to go for required version.

    [DIR]   10.0.1/         09-Feb-2012 01:11   -    
    [DIR]   10.0.2/         16-Feb-2012 02:55   -    
    [DIR]   10.0.4esr/      22-May-2012 20:56   -    
    [DIR]   10.0/           29-Jan-2012 11:32   -    
    [DIR]   10.0b2/         28-Dec-2011 10:38   -    
    [DIR]   10.0b3/         08-Jan-2012 03:02   -    
    [DIR]   10.0b5/         18-Jan-2012 15:27   -    
    [DIR]   10.0b6/         24-Jan-2012 03:53   -
    

    I am installing 10.0.2 in this example.

  3. Choose the download based on your OS.

    I am running 32bit Linux so I go for xulrunner-10.0.2.en-US.linux-i686.tar.bz2

  4. Save the downloaded file, extract/install it.

    sudo tar -xjvf xulrunner-10.0.2.en-US.linux-i686.tar.bz2
    
  5. Set the path of xulrunner in the application file (eclipse.ini).

    -Dorg.eclipse.swt.browser.XULRunnerPath=/Path_where_xulrunner_is extracted/xulrunner/
    

Now Eclipse will use the given version of xulrunner installed.

share|improve this answer

You might want to take a look at this thread to see if the solution that worked for conkeror would work for you as well: http://www.mozdev.org/pipermail/conkeror/2011-October/002666.html

share|improve this answer

You can find a description of this problem in the KNIME FAQ. Basically, just install the binaries from the KNIME Update Site and voila; things should be properly formatted again.

share|improve this answer
    
Can you give a link of where to look? –  hexafraction Nov 5 '12 at 13:41

Try installing firefox-dev. I think that package should provide the libs xulrunner had previously. I'm not sure about runtime libs but it sure does contain the libs required for compiling XUL apps that were previously shipped with XULRunner

share|improve this answer

protected by Community Oct 4 '13 at 1:33

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.