Anyway, after updating to Lion I discovered my previous installation of lynx was not functioning. Thankfully it’s very easy to install a working version with the help of MacPorts.
Installing and Running Lynx in Mac OS X 10.7 Lion
For the purpose of this walkthrough, we’re going to keep requirements to a minimum and install lynx through MacPorts, here’s what you’ll need:
- MacPorts 2.0 – this was recently updated for Lion
- Xcode 4.1 – now freely available to OS X Lion users via the Mac App Store
Assuming you have now installed Xcode 4.1 and MacPorts 2.0, here’s how to install lynx:
sudo port install lynx
MacPorts will then fetch all the required dependencies including ncurses and zlib, and then proceed to install the lynx browser.
Once it’s finished, just type ‘lynx’ at the command line and it’ll launch as expected. You can then hit “G” to go to a URL, or open one directly from the command line.
This opens OSXDaily.com, for example:
You then just use the arrow keys and return/enter to navigate around a site.
Lynx is great, enjoy!