# CUDA Installation error : Extraction Failed

**URL:** <https://forums.developer.nvidia.com/t/cuda-installation-error-extraction-failed/50845>\
**Category:** CUDA Programming and Performance\
**Created:** [June 16, 2017, 2:50pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-error-extraction-failed/50845 "2017-06-16T14:50:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arthur-Kataoka](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Arthur-Kataoka](https://forums.developer.nvidia.com/u/Arthur-Kataoka)\
**Post date:** [June 16, 2017, 2:50pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-error-extraction-failed/50845/1 "2017-06-16T14:50:30Z")

</div>

I’ve been trying to install CUDA 8.0.44 on CentOS 7.3.

Firstly, I downloaded Runfile using following command:  
$ wget [https://developer.nvidia.com/compute/cuda/8.0/prod/local\_installers/cuda\_8.0.44\_linux-run](https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_linux-run)

After, I made sure that Nouveau driver was disabled and typed following command.  
$ sudo sh cuda\_8.0.44\_linux-run

Then something went wrong. The shell is saying: Extraction failed. Ensure there is enough space in /tmp and that the installation package is not corrupt.

If you know how to deal with this problem, could you please give me some advice? Thank you.

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [June 16, 2017, 2:55pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-error-extraction-failed/50845/2 "2017-06-16T14:55:53Z")

</div>

you should be installing 8.0.61, not 8.0.44

maybe you don’t have enough space in /tmp

some modern linux distros use a special /tmp directory setup, and this can be problematic if you have small system memory size (e.g. 1GB).

To test/workaround this, specify a different temp directory. The installer has a switch for this.

Use

sudo sh cuda\_8.0.44\_linux-run --help

to get a list of switches available. One of them will allow you to specify an alternate temp dir.

---

<div class="post-metadata">

**Author:** ![Arthur-Kataoka](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Arthur-Kataoka](https://forums.developer.nvidia.com/u/Arthur-Kataoka)\
**Post date:** [June 16, 2017, 3:46pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-error-extraction-failed/50845/3 "2017-06-16T15:46:28Z")

</div>

Thank you for your response. And I’ll apologise about my bad English sentences.

According to your advice, I made a new directory on home directory and tried  
$ sudo sh cuda\_8.0.44\_linux-run --tmpdir=./temp  
but the alternative directory seems to have only 1.1GB .

Is it possible to expand the size of a directory?

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [June 16, 2017, 4:38pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-error-extraction-failed/50845/4 "2017-06-16T16:38:47Z")

</div>

a directory in your home space shouldn’t have arbitrary limits.

Perhaps you are running out of space in your home space?

Perhaps you are running out of space on the disk?

---

<div class="post-metadata">

**Author:** ![diallobakary4](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@diallobakary4](https://forums.developer.nvidia.com/u/diallobakary4)\
**Post date:** [March 17, 2020, 7:55am UTC](https://forums.developer.nvidia.com/t/cuda-installation-error-extraction-failed/50845/5 "2020-03-17T07:55:23Z")

</div>

I am experiencing the same error, even after changing temp dir.  
Configuration:  
Ubuntu 16.04.3 LTS (Xenial Xerus)"  
Linux version 3.10.0-514.6.1.el7.x86\_64  
gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) )

---

<div class="post-metadata">

**Author:** ![ihcenedjou](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ihcenedjou](https://forums.developer.nvidia.com/u/ihcenedjou)\
**Post date:** [July 7, 2020, 9:46pm UTC](https://forums.developer.nvidia.com/t/cuda-installation-error-extraction-failed/50845/6 "2020-07-07T21:46:45Z")

</div>

i had the same prblm , then i discover that the size of the folder downloaded not completed for example it should be 1.5GB but i found it 500MB (reason of the internet connection) so it gave this error ,just re download the file and verify the size so prblm solved .I hope it will help
