Jump to content

Recommended Posts

Posted

<div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2011/07/lynx-from-macports.jpg" alt="Lynx in Mac OS X via MacPorts" title="lynx-from-macports" width="620" height="383" class="aligncenter size-full wp-image-19255" /></p>

<p>Lynx is a text based <a href="http://osxdaily.com/category/command-line/">command line</a> web browser, it’s relatively popular within unix communities but it also has a variety of general uses too; it’s great if you want to discretely browse the web and read articles at work or school, and developers use lynx frequently to test accessibility and to roughly estimate how spiders or crawlers view a website. Because it only loads text and avoids javascript and images, it’s also lightning fast.</p>

<p>Anyway, after updating to <a href="http://osxdaily.com/tag/mac-os-x-10-7/">Lion</a> 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.</p>

<h2 style="font-size:1.2em;">Installing and Running Lynx in Mac OS X 10.7 Lion</h2>

<p>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:</p>

<ul>

<li><a href="http://www.macports.org/install.php">MacPorts 2.0</a> – this was <a href="http://osxdaily.com/2011/07/25/macports-2-0-for-mac-os-x-10-7-lion/">recently updated for Lion</a></li>

<li><a href="http://itunes.apple.com/us/app/xcode/id448457090?mt=12">Xcode 4.1</a> – now <a href="http://osxdaily.com/2011/07/20/xcode-4-1-for-os-x-lion-released-as-free-download-on-mac-app-store/">freely available</a> to OS X Lion users via the Mac App Store</li>

</ul>

<p>Assuming you have now installed Xcode 4.1 and MacPorts 2.0, here’s how to install lynx:</p>

<p><code>sudo port install lynx</code></p>

<p>MacPorts will then fetch all the required dependencies including ncurses and zlib, and then proceed to install the lynx browser. </p>

<p>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. </p>

<p>This opens OSXDaily.com, for example:</p>

<p><code>lynx osxdaily.com</code></p>

<p>You then just use the arrow keys and return/enter to navigate around a site.</p>

<p>Lynx is great, enjoy!</p>

</div>

<p><a href="http://feedads.g.doubleclick.net/~a/bwI_0ZmEeUgGEIEBX9-9Gj41YIg/0/da"><img src="http://feedads.g.doubleclick.net/~a/bwI_0ZmEeUgGEIEBX9-9Gj41YIg/0/di" border="0" ismap="true"></img></a><br/>

<a href="http://feedads.g.doubleclick.net/~a/bwI_0ZmEeUgGEIEBX9-9Gj41YIg/1/da"><img src="http://feedads.g.doubleclick.net/~a/bwI_0ZmEeUgGEIEBX9-9Gj41YIg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">

<a href="http://feeds.feedburner.com/~ff/osxdaily?a=SH0YVE_m6xA:mxTFSMCpC44:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=SH0YVE_m6xA:mxTFSMCpC44:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=SH0YVE_m6xA:mxTFSMCpC44:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=SH0YVE_m6xA:mxTFSMCpC44:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=SH0YVE_m6xA:mxTFSMCpC44:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=SH0YVE_m6xA:mxTFSMCpC44:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=SH0YVE_m6xA:mxTFSMCpC44:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a>

</div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/SH0YVE_m6xA" height="1" width="1"/>

 

View the full article

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic


×
×
  • Create New...