aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/docs_src/install/install_linux.md
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/docs_src/install/install_linux.md')
-rw-r--r--tensorflow/docs_src/install/install_linux.md43
1 files changed, 22 insertions, 21 deletions
diff --git a/tensorflow/docs_src/install/install_linux.md b/tensorflow/docs_src/install/install_linux.md
index b2a008fb96..80331e7ea8 100644
--- a/tensorflow/docs_src/install/install_linux.md
+++ b/tensorflow/docs_src/install/install_linux.md
@@ -114,16 +114,17 @@ Take the following steps to install TensorFlow with Virtualenv:
1. Install pip and virtualenv by issuing one of the following commands:
<pre>$ <b>sudo apt-get install python-pip python-dev python-virtualenv</b> # for Python 2.7
- $ <b>sudo apt-get install python3-pip python3-dev python-virtualenv</b> # for Python 3.n</pre>
+ $ <b>sudo apt-get install python3-pip python3-dev python-virtualenv</b> # for Python 3.n</pre>
2. Create a virtualenv environment by issuing one of the following commands:
- <pre>$ <b>virtualenv --system-site-packages</b> <i>targetDirectory</i> # for Python 2.7 </pre>
- $ <b>virtualenv --system-site-packages -p python3</b> <i>targetDirectory</i> # for Python 3.n</pre>
+ <pre>$ <b>virtualenv --system-site-packages</b> <i>targetDirectory</i> # for Python 2.7
+ $ <b>virtualenv --system-site-packages -p python3</b> <i>targetDirectory</i> # for Python 3.n</pre>
- The <code><em>targetDirectory</em></code> specifies the top of the
+ where <code><em>targetDirectory</em></code> specifies the top of the
virtualenv tree. Our instructions assume that
- <code><em>targetDirectory</em></code> is `~/tensorflow`, but you may choose any directory.
+ <code><em>targetDirectory</em></code> is `~/tensorflow`, but you may
+ choose any directory.
3. Activate the virtualenv environment by issuing one of the following
commands:
@@ -151,24 +152,24 @@ Take the following steps to install TensorFlow with Virtualenv:
lower than 8.1), install TensorFlow in the active virtualenv environment
by issuing a command of the following format:
- <pre> (tensorflow)$ <b>pip install --upgrade</b> <i>TF_PYTHON_URL</i> # Python 2.7
- (tensorflow)$ <b>pip3 install --upgrade</b> <i>TF_PYTHON_URL</i> # Python 3.n </pre>
+ <pre> (tensorflow)$ <b>pip install --upgrade</b> <i>tfBinaryURL</i> # Python 2.7
+ (tensorflow)$ <b>pip3 install --upgrade</b> <i>tfBinaryURL</i> # Python 3.n </pre>
- where <code><em>TF_PYTHON_URL</em></code> identifies the URL of the
+ where <code><em>tfBinaryURL</em></code> identifies the URL of the
TensorFlow Python package. The appropriate value of
- <code><em>TF_PYTHON_URL</em></code>depends on the operating system,
+ <code><em>tfBinaryURL</em></code>depends on the operating system,
Python version, and GPU support. Find the appropriate value for
- <code><em>TF_PYTHON_URL</em></code> for your system
+ <code><em>tfBinaryURL</em></code> for your system
[here](#the_url_of_the_tensorflow_python_package). For example, if you
are installing TensorFlow for Linux, Python 2.7, and CPU-only support,
issue the following command to install TensorFlow in the active
virtualenv environment:
<pre> (tensorflow)$ <b>pip install --upgrade \\
- https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl</pre>
+ https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl</b></pre>
If you encounter installation problems, see
-[Common Installation Problems](#CommonInstallationProblems).
+[Common Installation Problems](#common_installation_problems).
### Next Steps
@@ -233,7 +234,7 @@ of pip or pip3. If Version 8.1 or later is not installed, issue the
following command, which will either install or upgrade to the latest
pip version:
-<pre> $ <b>sudo apt-get install python-pip python-dev</b> # for Python 2.7
+<pre>$ <b>sudo apt-get install python-pip python-dev</b> # for Python 2.7
$ <b>sudo apt-get install python3-pip python3-dev</b> # for Python 3.n
</pre>
@@ -256,14 +257,14 @@ take the following steps:
2. (Optional.) If Step 1 failed, install the latest version of TensorFlow
by issuing a command of the following format:
- <pre> $ <b>sudo pip install --upgrade</b> <i>TF_BINARY_URL</i> # Python 2.7
- $ <b>sudo pip3 install --upgrade</b> <i>TF_BINARY_URL</i> # Python 3.n </pre>
+ <pre> $ <b>sudo pip install --upgrade</b> <i>tfBinaryURL</i> # Python 2.7
+ $ <b>sudo pip3 install --upgrade</b> <i>tfBinaryURL</i> # Python 3.n </pre>
- where <code><em>TF_PYTHON_URL</em></code> identifies the URL of the
+ where <code><em>tfBinaryURL</em></code> identifies the URL of the
TensorFlow Python package. The appropriate value of
- <code><em>TF_BINARY_URL</em></code> depends on the operating system,
+ <code><em>tfBinaryURL</em></code> depends on the operating system,
Python version, and GPU support. Find the appropriate value for
- <code><em>TF_BINARY_URL</em></code>
+ <code><em>tfBinaryURL</em></code>
[here](#the_url_of_the_tensorflow_python_package). For example, to
install TensorFlow for Linux, Python 2.7, and CPU-only support, issue
the following command:
@@ -272,7 +273,7 @@ take the following steps:
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.1-cp27-none-linux_x86_64.whl</b></pre>
If this step fails, see
- [Common Installation Problems](#CommonInstallationProblems).
+ [Common Installation Problems](#common_installation_problems).
### Next Steps
@@ -446,9 +447,9 @@ Take the following steps to install TensorFlow in an Anaconda environment:
4. Issue a command of the following format to install
TensorFlow inside your conda environment:
- <pre> (tensorflow)$ <b>pip install --ignore-installed --upgrade</b> <i>TF_PYTHON_URL</i></pre>
+ <pre> (tensorflow)$ <b>pip install --ignore-installed --upgrade</b> <i>tfBinaryURL</i></pre>
- where <code><em>TF_PYTHON_URL</em></code> is the
+ where <code><em>tfBinaryURL</em></code> is the
[URL of the TensorFlow Python package](#the_url_of_the_tensorflow_python_package).
For example, the following command installs the CPU-only version of
TensorFlow for Python 2.7: