# How to install TensorFlow 2 with GPU support on Linux without super user privileges?

**URL:** <https://discuss.ai.google.dev/t/how-to-install-tensorflow-2-with-gpu-support-on-linux-without-super-user-privileges/31889>\
**Category:** General Discussion\
**Tags:** gpu, install, linux, help\_request\
**Created:** [October 7, 2021, 10:43am UTC](https://discuss.ai.google.dev/t/how-to-install-tensorflow-2-with-gpu-support-on-linux-without-super-user-privileges/31889 "2021-10-07T10:43:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zzzhhh](https://avatars.discourse-cdn.com/v4/letter/z/65b543/32.png) [@zzzhhh](https://discuss.ai.google.dev/u/zzzhhh)\
**Post date:** [October 7, 2021, 10:43am UTC](https://discuss.ai.google.dev/t/how-to-install-tensorflow-2-with-gpu-support-on-linux-without-super-user-privileges/31889/1 "2021-10-07T10:43:45Z")

</div>

- The Linux is remote, a node in a cluster, not a desktop in front of me, so I don’t have full control. I’m just a normal user having no super user privileges. I can only read and write within my own user space. I can only login using SSH.
- CUDA 11.0.3 is installed in Linux, but cnDNN isn’t.
- The graphics hardware is powerful enough that TensorFlow 2 is happy to work with.
- Python 3.8.6 and pip 20.1.1 is installed in Linux.
- gcc 10.2.0 is installed.
- Docker is not installed.

My question is: how to install TensorFlow 2 with GPU support on Linux without super user privileges, if possible at all? Alternatively, is it possible to install Docker in my user space and then install TensorFlow 2 with GPU in Docker? The ultimate result is that I can run  
`python3 -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"`  
as in [TensorFlow 2 install webpage](https://www.tensorflow.org/install/pip#system-install). Step-by-step instructions will be appreciated, but a link referring to an external webpage containing **working** step-by-step instructions is also ok (I didn’t find it). Thank you.

---

<div class="post-metadata">

**Author:** ![Bhack](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/bhack/32/6388_2.png) [@Bhack](https://discuss.ai.google.dev/u/Bhack)\
**Post date:** [October 7, 2021, 10:51am UTC](https://discuss.ai.google.dev/t/how-to-install-tensorflow-2-with-gpu-support-on-linux-without-super-user-privileges/31889/3 "2021-10-07T10:51:22Z")

</div>

I’ve not tested personally with a GPU configuration but you can try to use [Docker rootless](https://docs.docker.com/engine/security/rootless/) with our official GPU image.
