From 780e7f0d882a22503f9ce7caab0a2e969e8529e6 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 21 Jul 2014 02:17:06 -0700 Subject: initial draft content --- pages/install/linux/_notice.haml | 5 +++ pages/install/linux/_via_packages.html.haml | 54 +++++++++++++++++++++++++ pages/install/linux/en.md | 61 +++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 pages/install/linux/_notice.haml create mode 100644 pages/install/linux/_via_packages.html.haml create mode 100644 pages/install/linux/en.md (limited to 'pages/install/linux') diff --git a/pages/install/linux/_notice.haml b/pages/install/linux/_notice.haml new file mode 100644 index 0000000..314b1c7 --- /dev/null +++ b/pages/install/linux/_notice.haml @@ -0,0 +1,5 @@ +.row + .col-sm-8.col-sm-offset-2 + .p.alert.alert-info + %i.fa.fa-envelope + NOTE: Encrypted email support in Bitmask is still experimental. diff --git a/pages/install/linux/_via_packages.html.haml b/pages/install/linux/_via_packages.html.haml new file mode 100644 index 0000000..23243a4 --- /dev/null +++ b/pages/install/linux/_via_packages.html.haml @@ -0,0 +1,54 @@ +- if @locals[:os] == 'debian' + + %p.b + To install + + %pre + - if @locals[:distro] == 'wheezy' + :preserve + sudo -s + echo "deb http://deb.bitmask.net/debian #{@locals[:distro]} main" > /etc/apt/sources.list.d/bitmask.list + echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list.d/bitmask.list + wget -O- https://dl.bitmask.net/apt.key | apt-key add - + apt-get update + apt-get install bitmask leap-keyring + - else + :preserve + sudo -s + echo "deb http://deb.bitmask.net/debian #{@locals[:distro]} main" > /etc/apt/sources.list.d/bitmask.list + wget -O- https://dl.bitmask.net/apt.key | apt-key add - + apt-get update + apt-get install bitmask leap-keyring + + %p.b + To remove + + %pre + :preserve + sudo -s + apt-get remove bitmask leap-keyring + apt-key del 0x1E34A1828E207901 + rm /etc/apt/sources.list.d/bitmask.list + +- else + + %p.b + To install + + %pre + :preserve + sudo -s + add-apt-repository "deb http://deb.bitmask.net/debian #{@locals[:distro]} main" + wget -O- https://dl.bitmask.net/apt.key | apt-key add - + apt-get update + apt-get install bitmask leap-keyring + + %p.b + To remove + + %pre + :preserve + sudo -s + apt-get remove bitmask leap-keyring + apt-key del 0x1E34A1828E207901 + add-apt-repository --remove "deb http://deb.bitmask.net/debian #{@locals[:distro]} main" diff --git a/pages/install/linux/en.md b/pages/install/linux/en.md new file mode 100644 index 0000000..7efe5f7 --- /dev/null +++ b/pages/install/linux/en.md @@ -0,0 +1,61 @@ +- @title = 'Bitmask for Linux' +- @nav_title = 'Linux' + +<%= render :partial => 'notice' %> + +## Install as packages + +This is the recommended method of installing Bitmask. If installed as a package, Bitmask will run faster, be better integrated in the system, and will be kept up to date. + +### Ubuntu 14.04 (Trusty Tahr) + +<%= render({:partial => 'via_packages'}, {:distro => 'trusty'}) %> + +### Ubuntu 13.10 (Saucy Salamander) + +<%= render({:partial => 'via_packages'}, {:distro => 'saucy'}) %> + +### Debian 7.0 (Wheezy) + +Note: for wheezy, these instructions will enable `wheezy-backports`, causing your computer to install more up-to-date versions of many packages. For more information, see the [Debian backports page](https://wiki.debian.org/Backports). + +<%= render({:partial => 'via_packages'}, {:distro => 'wheezy', :os => 'debian'}) %> + +### Debian 8.0 (Jessie) + +<%= render({:partial => 'via_packages'}, {:distro => 'jessie', :os => 'debian'}) %> + +## Install stand-alone bundle + +Alternately, you can run Bitmask from a stand alone bundle. This is useful if want to run Bitmask from a thumb drive. The bundle should work on most recent Linux distributions that are derived from Debian (e.g. Ubuntu, Mint, etc). + +There are several disadvantages to the stand-alone bundle: + +* Installing via the bundle takes up more space. +* The Bitmask app will be less well integrated with the desktop environment. +* Running from the bundle is slower to start than via packages. +* You will not get automatic updates running the stand alone bundle. + +How do you tell if you running a 32 bit or 64 bit kernel? Run the following command: + + uname -m + +If the result is: + +* `x86_64`, you have **64 bit** +* `i686`, you have **32 bit** +* `i386`, you have **32 bit** + +### 32 bit kernel + +<%= render({:partial => 'common/download_button'}, {:link => '/client/linux/Bitmask-linux32-latest.tar.bz2', :text => 'Download 32 bit'}) %> + +### 64 bit kernel + +<%= render({:partial => 'common/download_button'}, {:link => '/client/linux/Bitmask-linux64-latest.tar.bz2', :text => 'Download 64 bit'}) %> + +### Other options + +If you want to install an old or development version of Bitmask, you can [browse all releases.](/client/linux/) + +<%= render({:partial => 'common/email'}) %> -- cgit v1.2.3