latest linux release

This commit is contained in:
Alex Grintsvayg 2016-04-11 20:24:51 -04:00
parent e02cadb9ea
commit d5e6badb22
2 changed files with 8 additions and 17 deletions

View file

@ -55,6 +55,8 @@ class Controller
return static::redirect('https://raw.githubusercontent.com/lbryio/lbry-setup/master/lbry_setup.sh', 307);
case '/lbry-osx-latest.dmg':
return static::redirect('https://s3.amazonaws.com/files.lbry.io/osx/lbry.0.2.0.dmg', 307);
case '/lbry-linux-latest.deb':
return static::redirect('https://s3.amazonaws.com/files.lbry.io/linux/lbry_0.2.1_amd64.deb', 307);
default:
$noSlashUri = ltrim($uri, '/');
if (View::exists('page/' . $noSlashUri))

View file

@ -1,33 +1,22 @@
<?php Response::setMetaDescription('Download/install the latest version of LBRY for Linux.') ?>
<?php ob_start() ?>
<h1>Install LBRY on Linux <span class="icon-linux"></span></h1>
<h1>Install LBRY on Linux<span class="icon-linux"></span></h1>
<?php echo View::render('get/alphaNotice') ?>
<div class="meta spacer1 text-center">Choose an install option.</div>
<div class="row-fluid">
<div class="span6">
<h3>For the Efficient and Lazy</h3>
<ol>
<li>Open the terminal.</li>
<li>Go to the directory you want to install in. If you're unsure, run <code>cd ~</code>.</li>
<li>
<p>Copy and paste.</p>
<div class="code-bash">
<code><span class="code-bash-kw2">mkdir</span> -p lbry</code>
<code><span class="code-bash-kw1">cd</span> lbry</code>
<code><span class="code-bash-kw2">wget</span> http:<span class="sy0">//</span>lbry.io<span class="sy0">/</span>dl<span class="sy0">/</span>lbry_setup.sh</code>
<code><span class="code-bash-kw2">bash</span> lbry_setup.sh</code>
<code><span class="code-bash-kw1">lbrynet-console</span></code>
</div>
</li>
</ol>
<p>
<a class="btn-primary" download href="//lbry.io/lbry-linux-latest.deb">Download lbry-linux-latest.deb</a>
</p>
</div>
<div class="span6">
<h3>For the Shrewd and Frivolous</h3>
<ol>
<li>Clone and follow the build steps for <a href="https://github.com/lbryio/lbrycrd" class="link-primary">lbrycrd</a>, a miner for LBRY credits.</li>
<li>Clone and follow the build steps for <a href="https://github.com/lbryio/lbryum" class="link-primary">lbryum</a>, a lightweight client for LBRY.</li>
<li>Clone and follow the build steps for <a href="https://github.com/lbryio/lbry" class="link-primary">lbry</a>, a console based application for using the LBRY protocol.</li>
</ol>
</div>
</div>
<?php $html = ob_get_clean() ?>
<?php echo View::render('get/getSharedCli', ['installHtml' => $html]) ?>
<?php echo View::render('get/getSharedCli', ['installHtml' => $html]) ?>