You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/06/07 21:41:31 UTC

[incubator-mxnet] branch master updated: [MXNET-504] Add version select + queryString capabilities + C++ instructions to install page (#11128)

This is an automated email from the ASF dual-hosted git repository.

zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 794074d  [MXNET-504] Add version select + queryString capabilities + C++ instructions to install page (#11128)
794074d is described below

commit 794074dafded7a935112f074a693dabf74601af5
Author: kpmurali <37...@users.noreply.github.com>
AuthorDate: Thu Jun 7 14:41:12 2018 -0700

    [MXNET-504] Add version select + queryString capabilities + C++ instructions to install page (#11128)
    
    * Intial modifications to the MXNet install page versions select
    
    * Adding the acutal install instructions for Linux-Python-CPU-Virtualenv path
    
    * Adding the acutal install instructions for Linux-Python-CPU-Pip path
    
    * Adding the acutal install instructions for Linux-Python-GPU-Pip & Virtualenvs paths
    
    * Adding master version to the selector in the Install page. Added the instructions for the MacOS-Python-CPU-Pip path
    
    * Adding master version to the selector in the Install page. Added the instructions for the MacOS-Python-CPU-Virtual env path
    
    * Adding the acutal install instructions for Windows-Python-CPU-Pip
    
    * Adding the acutal install instructions for Windows-Python-GPU-Pip
    
    * Consolidating install instructions for 0.12.1 and 0.12.0
    
    * Making the install page version select available under all scenarios
    
    * In install page, removing the version specifier in pip install for 1.2.0
    
    * Adding the dropd-down version selector to the install page
    
    * Fixed the version display on the install page versions selector
    
    * Minor fixes to the new versions dropdown in the install page
    
    * Add logic for queryString on the install page
    
    * Adding the logic for version selector for processors
    
    * Fix to show C++ instructions in the install page
    
    * Enhancing the queryString capability in version select to use the default version unless an older version is explicitly selected
    
    * Add C++ installation instruction options
---
 docs/_static/js/options.js |  65 ++++-
 docs/install/index.md      | 701 +++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 742 insertions(+), 24 deletions(-)

diff --git a/docs/_static/js/options.js b/docs/_static/js/options.js
index 8fe74ee..d2d44b0 100644
--- a/docs/_static/js/options.js
+++ b/docs/_static/js/options.js
@@ -1,10 +1,47 @@
-//$('.burger-link').on('click', function(e) { e.stopPropagation() });
-//$('.burger-link').on('touchstart', function(e) { e.stopPropagation() });
+var versionSelect   = defaultVersion = 'v1.2.0';
+var deviceSelect    = 'Linux';
+var languageSelect  = 'Python';
+var processorSelect = 'CPU';
+var environSelect   = 'Pip';
 
 $(document).ready(function () {
     function label(lbl) {
         return lbl.replace(/[ .]/g, '-').toLowerCase();
     }
+
+    function setSelects(){
+        let urlParams = new URLSearchParams(window.location.search);
+        if (urlParams.get('version'))
+            versionSelect = urlParams.get('version');
+        $('li a:contains(' + versionSelect + ')').parent().siblings().removeClass('active');
+        $('li a:contains(' + versionSelect + ')').parent().addClass('active');
+        $('.current-version').html( versionSelect + ' <span class="caret"></span></button>' );
+        if (urlParams.get('device'))
+            deviceSelect = urlParams.get('device');
+        $('button:contains(' + deviceSelect + ')').siblings().removeClass('active');
+        $('button:contains(' + deviceSelect + ')').addClass('active');
+        if (urlParams.get('language'))
+            languageSelect = urlParams.get('language');
+        $('button:contains(' + languageSelect + ')').siblings().removeClass('active');
+        $('button:contains(' + languageSelect + ')').addClass('active');
+        if (urlParams.get('processor'))
+            processorSelect = urlParams.get('processor');
+        $('button:contains(' + processorSelect + ')').siblings().removeClass('active');
+        $('button:contains(' + processorSelect + ')').addClass('active');
+        if (urlParams.get('environ'))
+            environSelect = urlParams.get('environ');
+        $('button:contains(' + environSelect + ')').siblings().removeClass('active');
+        $('button:contains(' + environSelect + ')').addClass('active');
+        showContent();
+        if (window.location.href.includes("/install/index.html")) {
+            if (versionSelect.includes(defaultVersion)) {
+                history.pushState(null, null, '/install/index.html?device=' + deviceSelect + '&language=' + languageSelect + '&processor=' + processorSelect);
+            } else {
+                history.pushState(null, null, '/install/index.html?version=' + versionSelect + '&device=' + deviceSelect + '&language=' + languageSelect + '&processor=' + processorSelect);
+            }
+        } 
+    }
+
     function showContent() {
         $('.opt-group .opt').each(function(){
             $('.'+label($(this).text())).hide();
@@ -16,11 +53,35 @@ $(document).ready(function () {
         });
     }
     showContent();
+    setSelects();
     function setContent() {
         var el = $(this);
+        let urlParams = new URLSearchParams(window.location.search);
         el.siblings().removeClass('active');
         el.addClass('active');
+        if ($(this).hasClass("versions")) {
+            $('.current-version').html( $(this).text() + ' <span class="caret"></span></button>' );
+            if (!$(this).text().includes(defaultVersion)) {
+                if (!window.location.search.includes("version")) {
+                    history.pushState(null, null, '/install/index.html' + window.location.search.concat( '&version=' + $(this).text() ));
+                } else {
+                    history.pushState(null, null, '/install/index.html' + window.location.search.replace( urlParams.get('version'), $(this).text() ));
+                }
+            } else if (window.location.search.includes("version")) {
+                  history.pushState(null, null, '/install/index.html' + window.location.search.replace( 'version', 'prev' ));
+              }
+        }
+        else if ($(this).hasClass("Devices")) {
+            history.pushState(null, null, '/install/index.html' + window.location.search.replace( urlParams.get('device'), $(this).text() ));
+        }
+        else if ($(this).hasClass("languages")) {
+            history.pushState(null, null, '/install/index.html' + window.location.search.replace( urlParams.get('language'), $(this).text() ));
+        }
+        else if ($(this).hasClass("processors")) {
+            history.pushState(null, null, '/install/index.html' + window.location.search.replace( urlParams.get('processor'), $(this).text() ));
+        }
         showContent();
+        //window.location.search = window.location.search.replace( urlParams.get('version'), $(this).text() );
     }
     $('.opt-group').on('click', '.opt', setContent);
 });
diff --git a/docs/install/index.md b/docs/install/index.md
index b6a9a4e..4b966b6 100644
--- a/docs/install/index.md
+++ b/docs/install/index.md
@@ -2,43 +2,57 @@
 
 Indicate your preferred configuration. Then, follow the customized commands to install *MXNet*.
 
+  <div class="dropdown">
+    <button class="btn current-version btn-primary dropdown-toggle" type="button" data-toggle="dropdown">v1.2.0
+    <span class="caret"></span></button>
+    <ul class="dropdown-menu opt-group">
+      <li class="opt active versions"><a href="#">v1.2.0</a></li>
+      <li class="opt versions"><a href="#">v1.1.0</a></li>
+      <li class="opt versions"><a href="#">v1.0.0</a></li>
+      <li class="opt versions"><a href="#">v0.12.1</a></li>
+      <li class="opt versions"><a href="#">v0.11.0</a></li>
+      <li class="opt versions"><a href="#">master</a></li>
+    </ul>
+  </div>
+
 <script type="text/javascript" src='../_static/js/options.js'></script>
 
 <!-- START - OS Menu -->
 
 <div class="btn-group opt-group" role="group">
-  <button type="button" class="btn btn-default opt active">Linux</button>
-  <button type="button" class="btn btn-default opt">MacOS</button>
-  <button type="button" class="btn btn-default opt">Windows</button>
-  <button type="button" class="btn btn-default opt">Cloud</button>
-  <button type="button" class="btn btn-default opt">Devices</button>
+  <button type="button" class="btn btn-default opt active Devices">Linux</button>
+  <button type="button" class="btn btn-default opt Devices">MacOS</button>
+  <button type="button" class="btn btn-default opt Devices">Windows</button>
+  <button type="button" class="btn btn-default opt Devices">Cloud</button>
+  <button type="button" class="btn btn-default opt Devices">Devices</button>
 </div>
 
 <!-- START - Language Menu -->
 
 <div class="linux macos windows">
 <div class="btn-group opt-group" role="group">
-  <button type="button" class="btn btn-default opt active">Python</button>
-  <button type="button" class="btn btn-default opt">Scala</button>
-  <button type="button" class="btn btn-default opt">R</button>
-  <button type="button" class="btn btn-default opt">Julia</button>
-  <button type="button" class="btn btn-default opt">Perl</button>
+  <button type="button" class="btn btn-default opt active languages">Python</button>
+  <button type="button" class="btn btn-default opt languages">Scala</button>
+  <button type="button" class="btn btn-default opt languages">R</button>
+  <button type="button" class="btn btn-default opt languages">Julia</button>
+  <button type="button" class="btn btn-default opt languages">Perl</button>
+  <button type="button" class="btn btn-default opt languages">Cpp</button>
 </div>
 </div>
 
 <!-- No CPU GPU for other Devices -->
 <div class="linux macos windows cloud">
 <div class="btn-group opt-group" role="group">
-  <button type="button" class="btn btn-default opt active">CPU</button>
-  <button type="button" class="btn btn-default opt">GPU</button>
+  <button type="button" class="btn btn-default processors opt active">CPU</button>
+  <button type="button" class="btn btn-default processors opt">GPU</button>
 </div>
 </div>
 
 <!-- other devices -->
 <div class="devices">
 <div class="btn-group opt-group" role="group">
-  <button type="button" class="btn btn-default opt active">Raspberry Pi</button>
-  <button type="button" class="btn btn-default opt">NVIDIA Jetson TX2</button>
+  <button type="button" class="btn btn-default iots opt active">Raspberry Pi</button>
+  <button type="button" class="btn btn-default iots opt">NVIDIA Jetson TX2</button>
 </div>
 </div>
 
@@ -48,10 +62,10 @@ Indicate your preferred configuration. Then, follow the customized commands to i
 <div class="python">
 <div class="cpu gpu">
 <div class="btn-group opt-group" role="group">
-  <button type="button" class="btn btn-default opt active">Pip</button>
-  <button type="button" class="btn btn-default opt">Virtualenv</button>
-  <button type="button" class="btn btn-default opt">Docker</button>
-  <button type="button" class="btn btn-default opt">Build from Source</button>
+  <button type="button" class="btn btn-default environs opt active">Pip</button>
+  <button type="button" class="btn btn-default environs opt">Virtualenv</button>
+  <button type="button" class="btn btn-default environs opt">Docker</button>
+  <button type="button" class="btn btn-default environs opt">Build from Source</button>
 </div>
 </div>
 </div>
@@ -81,6 +95,8 @@ $ sudo apt-get install -y wget python gcc
 $ wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
 ```
 
+<div class="v1-2-0">
+
 **Step 2** Install MXNet with OpenBLAS acceleration.
 
 ```bash
@@ -100,6 +116,139 @@ pip install graphviz
 $ pip install mxnet-mkl
 ```
 
+</div> <!-- End of v1-2-0 -->
+
+<div class="v1-1-0">
+
+**Step 2** Install MXNet with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet==1.1.0
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-mkl==1.1.0
+```
+
+</div> <!-- End of v1-1-0-->
+
+<div class="v1-0-0">
+
+**Step 2** Install MXNet with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet==1.0.0
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-mkl==1.0.0
+```
+
+</div> <!-- End of v1-0-0-->
+
+
+<div class="v0-12-1">
+
+
+**Step 2** Install MXNet with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet==0.12.1
+```
+
+For MXNet 0.12.0 -
+
+```bash
+$ pip install mxnet==0.12.0
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-mkl==0.12.1
+```
+
+For MXNet 0.12.0 -
+
+```bash
+$ pip install mxnet-mkl==0.12.0
+```
+
+</div> <!-- End of v0-12-1-->
+
+<div class="v0-11-0">
+
+
+**Step 2** Install MXNet with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet==0.11.0
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-mkl==0.11.0
+```
+
+</div> <!-- End of v0-11-0-->
+
+<div class="master">
+
+
+**Step 2** Install MXNet with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet --pre
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-mkl --pre
+```
+
+</div> <!-- End of master-->
+
 </div> <!-- End of pip -->
 
 <div class="virtualenv">
@@ -140,12 +289,74 @@ Installing *MXNet* with pip requires a latest version of `pip`. Install the late
 $ pip install --upgrade pip
 ```
 
+<div class="v1-2-0">
+
 Install *MXNet* with OpenBLAS acceleration.
 
 ```bash
 $ pip install mxnet
 ```
 
+</div> <!-- End of v1-2-0-->
+
+<div class="v1-1-0">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet==1.1.0
+```
+
+</div> <!-- End of v1-1-0-->
+
+<div class="v1-0-0">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet==1.0.0
+```
+
+</div> <!-- End of v1-0-0-->
+
+
+<div class="v0-12-1">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet==0.12.1
+```
+
+For *MXNet* 0.12.0 -
+
+```bash
+$ pip install mxnet==0.12.0
+```
+
+</div> <!-- End of v0-12-1-->
+
+<div class="v0-11-0">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet==0.11.0
+```
+
+</div> <!-- End of v0-11-0-->
+
+<div class="master">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+$ pip install mxnet --pre
+```
+
+</div> <!-- End of master-->
+
+
 **Step 4**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
 ```bash
 sudo apt-get install graphviz
@@ -193,7 +404,6 @@ mxnet/python        latest              00d026968b3c        3 weeks ago
 
 </div> <!-- END of docker -->
 
-
 <div class="build-from-source">
 <br/>
 
@@ -301,6 +511,8 @@ $ sudo apt-get install -y wget python
 $ wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
 ```
 
+<div class="v1-2-0">
+
 **Step 2**  Install *MXNet* with GPU support using CUDA 9.0
 
 ```bash
@@ -320,6 +532,117 @@ pip install graphviz
 $ pip install mxnet-cu90mkl
 ```
 
+</div> <!-- End of v1-2-0-->
+
+
+<div class="v1-1-0">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0
+
+```bash
+$ pip install mxnet-cu90==1.1.0
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-cu90mkl==1.1.0
+```
+
+</div> <!-- End of v1-1-0-->
+
+
+<div class="v1-0-0">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0
+
+```bash
+$ pip install mxnet-cu90==1.0.0
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-cu90mkl==1.0.0
+```
+
+</div> <!-- End of v1-0-0-->
+
+
+<div class="v0-12-1">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0
+
+```bash
+$ pip install mxnet-cu90==0.12.1
+```
+
+For *MXNet* 0.12.0 -
+
+```bash
+$ pip install mxnet-cu90==0.12.0
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-cu90mkl==0.12.1
+```
+
+For *MXNet* 0.12.0 -
+
+```bash
+$ pip install mxnet-cu90mkl==0.12.0
+```
+
+</div> <!-- End of v0-12-1-->
+
+
+<div class="v0-11-0">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0
+
+```bash
+$ pip install mxnet-cu90==0.11.0
+```
+
+**Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
+```bash
+sudo apt-get install graphviz
+pip install graphviz
+```
+
+**Step 4**  Validate the installation by running simple MXNet code described [here](#validate-mxnet-installation).
+
+**Experimental Choice** If You would like to install mxnet with Intel MKL, try the experimental pip package with MKL:
+```bash
+$ pip install mxnet-cu90mkl==0.11.0
+```
+
+</div> <!-- End of v0-11-0-->
+
+
 </div> <!-- END of pip -->
 
 <div class="virtualenv">
@@ -361,12 +684,77 @@ Installing *MXNet* with pip requires a latest version of `pip`. Install the late
 (mxnet)$ pip install --upgrade pip
 ```
 
+
+<div class="v1-2-0">
+
 Install *MXNet* with GPU support using CUDA 9.0.
 
 ```bash
 (mxnet)$ pip install mxnet-cu90
 ```
 
+</div> <!-- End of v1-2-0-->
+
+
+<div class="v1-1-0">
+
+Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+(mxnet)$ pip install mxnet-cu90==1.1.0
+```
+
+</div> <!-- End of v1-1-0-->
+
+
+<div class="v1-0-0">
+
+Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+(mxnet)$ pip install mxnet-cu90==1.0.0
+```
+
+</div> <!-- End of v1-0-0-->
+
+
+<div class="v0-12-1">
+
+Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+(mxnet)$ pip install mxnet-cu90==0.12.1
+```
+
+For *MXNet* 0.12.0 with GPU support using CUDA 9.0.
+
+```bash
+(mxnet)$ pip install mxnet-cu90==0.12.0
+``` 
+
+</div> <!-- End of v0-12-1-->
+
+
+<div class="v0-11-0">
+
+Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+(mxnet)$ pip install mxnet-cu90==0.11.0
+```
+
+</div> <!-- End of v0-11-0-->
+
+<div class="master">
+
+Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+(mxnet)$ pip install mxnet-cu90 --pre
+```
+
+</div> <!-- End of master-->
+
 **Step 4**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
 ```bash
 sudo apt-get install graphviz
@@ -633,6 +1021,12 @@ Follow the installation instructions [in this guide](./ubuntu_setup.md) to set u
 
 </div> <!-- End of cpu gpu -->
 </div> <!-- End of scala julia perl -->
+<div class="cpp">
+<div class="cpu gpu">
+<p> To build the C++ package, please refer to <a href="build_from_source.html#build-the-c-package">this guide</a>. </p>
+<br/>
+</div> <!-- End of cpu gpu -->
+</div> <!-- END - C++-->
 </div> <!-- END - Linux -->
 
 
@@ -668,9 +1062,74 @@ $ pip install --upgrade pip
 $ pip install --upgrade setuptools
 ```
 
+<div class="v1-2-0">
+
+Then use pip to install MXNet:
+
 ```bash
 $ pip install mxnet
 ```
+</div> <!-- End of v1-2-0 -->
+
+
+<div class="v1-1-0">
+
+Then use pip to install MXNet:
+
+```bash
+$ pip install mxnet==1.1.0
+```
+
+</div> <!-- End of v1-1-0-->
+
+
+<div class="v1-0-0">
+
+Then use pip to install MXNet:
+
+```bash
+$ pip install mxnet==1.0.0
+```
+
+</div> <!-- End of v1-0-0-->
+
+<div class="v0-12-1">
+
+Then use pip to install MXNet:
+
+```bash
+$ pip install mxnet=0.12.1
+```
+
+For MXNet 0.12.0 -
+
+```bash
+$ pip install mxnet=0.12.0
+```
+
+
+</div> <!-- End of v0-12-1-->
+
+
+<div class="v0-11-0">
+
+Then use pip to install MXNet:
+
+```bash
+$ pip install mxnet==0.11.0
+```
+
+</div> <!-- End of v0-11-0-->
+
+<div class="master">
+
+Then use pip to install MXNet:
+
+```bash
+$ pip install mxnet --pre
+```
+
+</div> <!-- End of master-->
 
 **Step 3**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
 ```bash
@@ -732,12 +1191,75 @@ Installing *MXNet* with pip requires a latest version of `pip`. Install the late
 (mxnet)$ pip install --upgrade setuptools
 ```
 
+<div class="v1-2-0">
+
 Install *MXNet* with OpenBLAS acceleration.
 
 ```bash
 (mxnet)$ pip install mxnet
 ```
 
+</div> <!-- End of v1-2-0-->
+
+<div class="v1-1-0">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+(mxnet)$ pip install mxnet==1.1.0
+```
+
+</div> <!-- End of v1-1-0-->
+
+<div class="v1-0-0">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+(mxnet)$ pip install mxnet==1.0.0
+```
+
+</div> <!-- End of v1-0-0-->
+
+
+<div class="v0-12-1">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+(mxnet)$ pip install mxnet==0.12.1
+```
+
+For *MXNet* 0.12.0 -
+
+```bash
+(mxnet)$ pip install mxnet==0.12.0
+```
+
+
+</div> <!-- End of v0-12-1-->
+
+<div class="v0-11-0">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+(mxnet)$ pip install mxnet==0.11.0
+```
+
+</div> <!-- End of v0-11-0-->
+
+<div class="master">
+
+Install *MXNet* with OpenBLAS acceleration.
+
+```bash
+(mxnet)$ pip install mxnet --pre
+```
+
+</div> <!-- End of master-->
+
+
 **Step 5**  Install [Graphviz](http://www.graphviz.org/). (Optional, needed for graph visualization using `mxnet.viz` package).
 ```bash
 $ brew install graphviz
@@ -932,6 +1454,10 @@ Follow the installation instructions [in this guide](./osx_setup.md) to set up M
 
 </div> <!-- End of cpu gpu -->
 </div> <!-- End of scala julia perl -->
+<div class="cpp">
+<p>To build the C++ package, please refer to <a href="build_from_source.html#build-the-c-package">this guide</a>.</p>
+<br/>
+</div>
 </div> <!-- END - Mac OS -->
 
 
@@ -953,12 +1479,76 @@ Follow the installation instructions [in this guide](./osx_setup.md) to set up M
 
 [Anaconda](https://www.anaconda.com/download/) is recommended.
 
+<div class="v1-2-0">
+
 **Step 2**  Install *MXNet*.
 
 ```bash
 $ pip install mxnet
 ```
 
+</div> <!-- End of v1-2-0-->
+
+<div class="v1-1-0">
+
+**Step 2**  Install *MXNet*.
+
+```bash
+$ pip install mxnet==1.1.0
+```
+
+</div> <!-- End of v1-1-0-->
+
+<div class="v1-0-0">
+
+**Step 2**  Install *MXNet*.
+
+```bash
+$ pip install mxnet==1.0.0
+```
+
+</div> <!-- End of v1-0-0-->
+
+
+<div class="v0-12-1">
+
+**Step 2**  Install *MXNet*.
+
+```bash
+$ pip install mxnet==0.12.1
+```
+
+For *MXNet* 0.12.0 -
+
+```bash
+$ pip install mxnet==0.12.0
+```
+
+
+</div> <!-- End of v0-12-1-->
+
+<div class="v0-11-0">
+
+**Step 2**  Install *MXNet*.
+
+```bash
+$ pip install mxnet==0.11.0
+```
+
+
+</div> <!-- End of v0-11-0-->
+
+<div class="master">
+
+**Step 2**  Install *MXNet*.
+
+```bash
+$ pip install mxnet --pre
+```
+
+</div> <!-- End of master-->
+
+
 </div> <!-- End of pip -->
 
 
@@ -979,12 +1569,73 @@ Follow the installation instructions [in this guide](./windows_setup.md) to set
 
 [Anaconda](https://www.anaconda.com/download/) is recommended.
 
+
+<div class="v1-2-0">
+
 **Step 2**  Install *MXNet* with GPU support using CUDA 9.0.
 
 ```bash
 $ pip install mxnet-cu90
 ```
 
+</div> <!-- End of v1-2-0-->
+
+<div class="v1-1-0">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+$ pip install mxnet-cu90==1.1.0
+```
+
+</div> <!-- End of v1-1-0-->
+
+<div class="v1-0-0">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+$ pip install mxnet-cu90==1.0.0
+```
+
+</div> <!-- End of v1-0-0-->
+
+<div class="v0-12-1">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+$ pip install mxnet-cu90==0.12.1
+```
+
+Install *MXNet* 0.12.0 with GPU support using CUDA 9.0.
+
+```bash
+$ pip install mxnet-cu90==0.12.0
+```
+
+</div> <!-- End of v0-12-1-->
+
+<div class="v0-11-0">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+$ pip install mxnet-cu90==0.11.0
+```
+
+</div> <!-- End of v0-11-0-->
+
+<div class="master">
+
+**Step 2**  Install *MXNet* with GPU support using CUDA 9.0.
+
+```bash
+$ pip install mxnet-cu90 --pre
+```
+
+</div> <!-- End of master-->
+
 Refer to [#8671](https://github.com/apache/incubator-mxnet/issues/8671) for status on CUDA 9.1 support.
 
 </div>
@@ -1122,6 +1773,12 @@ Follow the installation instructions [in this guide](./windows_setup.md) to set
 
 </div> <!-- End of cpu gpu -->
 </div> <!-- End of scala julia perl -->
+<div class="cpp">
+<div class="cpu gpu">
+<p> To build the C++ package, please refer to <a href="build_from_source.html#build-the-c-package">this guide</a>. </p>
+<br/>
+</div> <!-- End of cpu gpu -->
+</div> <!-- End of C++>
 </div> <!-- End of Windows -->
 
 
@@ -1684,7 +2341,7 @@ b
 
 
 <div class="linux">
-  <div class="scala julia perl">
+  <div class="scala julia perl cpp">
     <div class="cpu gpu">
 
 Will be available soon.
@@ -1694,7 +2351,7 @@ Will be available soon.
 </div>
 
 <div class="macos">
-  <div class="scala julia perl">
+  <div class="scala julia perl cpp">
     <div class="cpu gpu">
 
 Will be available soon.
@@ -1716,7 +2373,7 @@ Will be available soon.
 </div>
 </div>
 
-<div class="scala julia perl">
+<div class="scala julia perl cpp">
 <div class="cpu gpu">
 
 Will be available soon.

-- 
To stop receiving notification emails like this one, please contact
zhasheng@apache.org.