# Please help me understand installation for CUDA on linux

**URL:** <https://discuss.pytorch.org/t/please-help-me-understand-installation-for-cuda-on-linux/14217>\
**Category:** Uncategorized\
**Created:** [March 1, 2018, 7:31pm UTC](https://discuss.pytorch.org/t/please-help-me-understand-installation-for-cuda-on-linux/14217 "2018-03-01T19:31:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rasbt](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/rasbt/32/60_2.png) [@rasbt](https://discuss.pytorch.org/u/rasbt)\
**Post date:** [March 2, 2018, 12:48am UTC](https://discuss.pytorch.org/t/please-help-me-understand-installation-for-cuda-on-linux/14217/4 "2018-03-02T00:48:34Z")

</div>

@josmi9966 you are correct.

If you install PyTorch via the binaries (e.g., pip wheels or conda), it already comes with CUDA and cuDNN pre-packaged. The only case where you need to install CUDA & cuDNN yourself is when you are compiling it from source.

---

_[View the full topic](https://discuss.pytorch.org/t/please-help-me-understand-installation-for-cuda-on-linux/14217)._
