Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Unified Diff: src/site/_includes/downloads/_linux_section.html

Issue 701913002: Editing Sam's downloads page (Closed) Base URL: https://github.com/dart-lang/www.dartlang.org.git@master
Patch Set: Add back original download page for A-B testing Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/site/_includes/downloads/_linux_section.html
diff --git a/src/site/_includes/downloads/_linux_section.html b/src/site/_includes/downloads/_linux_section.html
new file mode 100644
index 0000000000000000000000000000000000000000..d3f804e828fb29c84f790ba6c1cf5ad3532508f1
--- /dev/null
+++ b/src/site/_includes/downloads/_linux_section.html
@@ -0,0 +1,58 @@
+First install Dart, and then choose your editor.
+(Don't care which editor you use?
+Skip to [Step 2](#step-2-pick-an-editor-linux) and choose **Dart Editor**,
+which includes Dart.)
+
+## Step 1: Install Dart
+
+Choose either:
+
+* [Server-side development for Debian/Ubuntu](#debian)
+* [Other Linux development](#other)
+
+If you want to build Dart from scratch, see
+[Compiling from source](#compiling-from-source).
+
+### Installing for server-side development on Debian/Ubuntu {#debian}
+
+Get a 64-bit version of the Dart SDK that's easy to update:
+
+{% prettify sh %}
+# Enable HTTPS for apt.
+$ sudo apt-get update
+$ sudo apt-get install apt-transport-https
+# Get the Google Linux package signing key.
+$ sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
+# Set up the location of the stable repository.
+$ sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
+$ sudo apt-get update
+$ sudo apt-get install dart
+{% endprettify %}
+
+For more information about other options for Debian, visit the
+[Dart Debian downloads page](/tools/debian.html).
+
+
+### Installing on other Linux distros {#other}
+
+You can manually download and extract the Dart SDK from a zip file:
+
+<p class="os-choices">
+{% include downloads/_sdk.html buttonclass="btn btn-primary btn-lg" %}
+</p>
+
+If you're creating Dart web apps, also download Dartium:
+
+<p>
+{% include downloads/_dartium.html buttonclass="btn btn-primary btn-lg download-btn" %}
+</p>
+
+The Dartium binary expires after 12 weeks. When that happens, you need to
+download a new copy to continue using Dartium.
+
+### Compiling from source
+
+You can [build the SDK](https://code.google.com/p/dart/wiki/Building) yourself.
+If your system uses an older version of Ubuntu,
+you might need to update to GCC 4.6 or later.
+See the [Tools FAQ](/tools/faq.html) for more information.

Powered by Google App Engine
This is Rietveld 408576698