*

Welcome, Guest. Please login or register.

Get your own OLPC - Buy an XO laptop on eBay!
Pages: [1]
Print
Author Topic: How to install the links2 browser  (Read 16321 times)

How to install the links2 browser

eeksock
Contributor
*
Posts: 31


May 11, 2008, 12:07:22 PM

I've been very pleased with the lightweight size and fast performance of the links2 browser.  It is under 3MB in size, has both a text mode as well as a graphics mode, and while it doesn't support CSS (so some web pages come out funny), it does support cookies, tables, bookmarking, downloading, etc. and so I find myself able to do most of what I want in a browser, very quickly, in links before I need to resort to Opera or Firefox.

links2 description and screenshots are here: http://links.twibright.com/features.php

More screenshots here:  http://linuxhelp.blogspot.com/2007/02/links2-cross-platform-console-based-web.html

Here are the steps I took to install it:

1. Download the RPM

Download http://jakub.horky.net/rpm/links/links-2.1pre15-2/links-2.1pre15-2.i386.rpm and save it somewhere on your OLPC, say the home directory.  The easiest way to do this is open a Terminal, and enter:

Code:
wget http://jakub.horky.net/rpm/links/links-2.1pre15-2/links-2.1pre15-2.i386.rpm

2. Install gpm

Open Terminal, and make sure you are root ("sudo" or "sudo su") and then enter

Code:
yum install gpm

3. Install the RPM

Now enter (again as root)

Code:
rpm -ivf links-2.1pre15-2.i386.rpm

That's it!  To run links2, just enter

Code:
links -g

and start browsing.  You can use the mouse or hit the ESC key (top-left key that looks like a circle with an X in it) to access the menu.  Links2 also has a number of handy keyboard shortcuts that are described in Help > Keys.


eeksock
Logged

#1 See Links2 in action Playing web video with mplayer

samphilomath
Senior Contributor
**
Posts: 214


Let GO my XO


WWW
July 10, 2008, 08:45:48 PM

This is Links2 in action playing web video with mplayer. And yes, this is the OLPC XO by itself. No other OS and SD card or USB stick involved.
No Ubuntu, No Windows XP. Just XFCE with some cool Apple Mac Leopard look a like Theme.

I think Links2 is one of the Best Lightweight Browser out there.

If you are using your OLPC XO to read this post, use this link bellow with your media player to view the video:
http://youtube.com/get_video?video_id=wdMaXS36ayo&t=OEgsToPDskKguClofiIk3fqEfCKz5p9_

<a href="http://www.youtube.com/v/wdMaXS36ayo" target="_blank">http://www.youtube.com/v/wdMaXS36ayo</a>


There are a lot more possibilities with links2, its just no one is telling you about them.
samphilomath.
« Last Edit: July 13, 2008, 08:51:16 AM by samphilomath » Logged

#2 Re: How to install the links2 browser

newbie
Senior Contributor
**
Posts: 126

Don't know much about computers but LOVE my Olpc.


July 12, 2008, 04:29:13 AM

I'd love to try this browser, but I can't install it due to missing dependencies:

libcrypto.so.4 and libssl.so.4

Do you know where I can get them? The browser looks really good.
Logged

#3 Re: How to install the links2 browser

samphilomath
Senior Contributor
**
Posts: 214


Let GO my XO


WWW
July 12, 2008, 07:42:20 AM

I'd love to try this browser, but I can't install it due to missing dependencies:

libcrypto.so.4 and libssl.so.4

Do you know where I can get them? The browser looks really good.

Must dependencies can be find on http://rpmfind.net/ or http://rpm.pbone.net , just pick the download link for Fedora 7 i386

You could Also try changing repositories on your XO, Its really easy to do if you are using Yumex, I personally like to unable only Fedora-core and Fedora-update.

And here is a link from rpm.phone.net for those dependencies required
http://ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/7/Everything/i386/os/Fedora/openssl097a-0.9.7a-9.i386.rpm

Hope this help
samphilomath
Logged

#4 Re: How to install the links2 browser

newbie
Senior Contributor
**
Posts: 126

Don't know much about computers but LOVE my Olpc.


July 13, 2008, 11:48:10 AM

Thanks a lot! I downloaded the package you've linked to (wget, http://ftp://etc...).to my XO. However, this means it is simply saved, not installed, right?

Because when I run the rpm -ivf links-2.1pre15-2.i386-command, it still tells me that those two dependencies are missing.

Did nobody else have that problem installing this browser?
Logged

#5 Re: How to install the links2 browser

samphilomath
Senior Contributor
**
Posts: 214


Let GO my XO


WWW
July 16, 2008, 08:17:59 PM

Thanks a lot! I downloaded the package you've linked to (wget, http://ftp://etc...).to my XO. However, this means it is simply saved, not installed, right?

Because when I run the rpm -ivf links-2.1pre15-2.i386-command, it still tells me that those two dependencies are missing.

Did nobody else have that problem installing this browser?


If I remember correctly, I got my Links2 copy from this link
http://jakub.horky.net/rpm/links/links-2.1pre15-2/links-2.1pre15-2.i386.rpm

It did required for a dependency which I installed and everything worked fine.


Download url found via http://links.twibright.com/download.php under Archives.

Please don't quote me on this, since I installed Links2 on my OLPC XO like months ago. Back then I didn't even know I could do thing like watching online video as you see on my post above, or even play Shoutcast Radio. Awesome

I am sorry I can't remember where I got my Links2 RPM copy
After you installed the Openssl, Links2 should have work.
Logged

#6 Re: How to install the links2 browser

eeksock
Contributor
*
Posts: 31


July 18, 2008, 04:46:54 PM

I'd love to try this browser, but I can't install it due to missing dependencies:

libcrypto.so.4 and libssl.so.4

You can often resolve dependencies like this using the "whatprovides" command.  In the Terminal, as root, enter something like this:

Code:
yum whatprovides "libcrypto.so.*"

and you'll quickly get a response like this (at least, I get this on my system):

Code:
openssl.i386 : The OpenSSL toolkit

So that means you want to install the "openssl.i386" package, so the following should fix your problem:

Code:
yum install openssl


eeksock
Logged

#7 Re: How to install the links2 browser

newbie
Senior Contributor
**
Posts: 126

Don't know much about computers but LOVE my Olpc.


July 19, 2008, 08:40:12 AM

Arrrrrgh.....

Thank you so much, both of you! I really appreciate your help with this!

I STILL can't get this to work, of course...

I tried yum install openssl - but it doesn't really seem to install anything. It says:

Setting up install process
Parsing package install arguments
Nothing to do

Normally, after a yum install, I'm asked to push "y" to confirm I really want this installed. That didn't happen here. And links2 still asks for those two dependencies.

Do any of you have an idea what is going on?
Logged

#8 Re: How to install the links2 browser

newbie
Senior Contributor
**
Posts: 126

Don't know much about computers but LOVE my Olpc.


July 22, 2008, 12:04:07 AM

Woo-hoo! It works now!

Strangely enough, I had to install the independencies even after the "yum install". I have no idea what went on there, I'm just glad to have the Browser running.

And, wow, it is fast! What a huge difference to opera and firefox! Do you have any advice how to optimize it in the settings? Anything that will make it run better on the xo (or make the pages look less weird - right now all the text and photos are on a grey background)?
Logged

#9 Re: How to install the links2 browser

kimtoufectis
Contributor
*
Posts: 97


July 25, 2008, 12:12:08 PM

Help!

I'm very, very, VERY new to the world of linux and am trying to get a bit savvier.  I've got Opera running well, then got Foxfire running okay (the icon never stops blinking, thus it won't register in the journal, and I have to restart Sugar to get it to stop), so I'm willing to venture into the scary "su" realm.

Here's my problem:  I tried to follow the instructions, as did a prior commenter, and eventually it got pretty far.  "links -g" didn't work, so I tried "links -h" and did get a screenful of help as hoped, no mention of a graphics option.

So if I just type "links" I get a text-only browser, responsive but too spare on info.  What do I do to get Links-2 running?  I tried every permutation of "Links-2" but none were recognized as a command.

Thanks in advance!
Logged

#10 Re: How to install the links2 browser

chrisadam12
New

Posts: 2


August 30, 2010, 11:26:07 PM

Something must have happened to famous PSP developer Raf over the past few weeks. We haven't heard from him in a long time and yesterday, out of the blue came a new PSPRadio release, closely followed-up today by another release of the only homebrew alternative to the Sony firmware browser - Links2. Those 'in the know' will recognise the name as Links2 is an open source browser for Linux, which Raf has kindly ported to the PSP.

The Links2 browser has many advantages over the Sony firmware browser, including an extensive options menu and an enhanced compatibility with large websites, making the 'not enough memory error' a non-existent thing of the past. Links2 r1261 (the new release) comes in 2 versions - standalone for running from the PSP game menu and a plugin version for use inside PSPRadio.

Please note that although the plugin version can run within PSPRadio itself, it does have a memory limit of 5MB, which although larger than the PSP browser's cache size, might restrict browsing to a certain extent. Raf still has to optimize priorities on the plugin version so for now the plugin will run slow if PSPRadio is playing music. So if you want the most out of your browsing experience go for the standalone version!

Here's the changelog:

New features:
Changed default background color from gray to white (for html).
UP/DOWN in html now scroll up/down (without R+)
UP/DOWN at the top/bottom of a menu list will wrap (user request).
Bug fixes:
Plugin: Fixed openssl compile options (-mno-explicit-relocs), this fixes the problem where the Links2 plugin wasn't working. (You will need to upgrade openssl from the pspdev svn to rev.2169 or greater --if you want to compile links2 yourself).




________________________________________




Spam removed
« Last Edit: August 30, 2010, 11:47:58 PM by mavrothal » Logged
Pages: [1]
Print
Jump to:  

Members
Total Members: 2406
Latest: sembik
Stats
Total Posts: 31943
Total Topics: 3843
Online Today: 26
Online Ever: 238
(April 18, 2011, 09:48:50 PM)
Users Online
Users: 0
Guests: 12
Total: 12