there is enough space in /tmp and that the installation package is not corrupt

1、

sudo sh cuda_9.0.176_384.81_linux.run
Extraction failed.
Ensure there is enough space in /tmp and that the installation package is not corrupt
Signal caught, cleaning up

=================================

解决办法:

cd ~

mkdir tmp

chmod 1777 tmp

export TMPDIR=/home/quejinlong/tmp

2、you don't have enough free space in /var/cache/apt/archives

  1. 清除所有已下载的安装包
    sudo apt-get clean

  2. 在某个空间大的分区建立一个目录,然后把/var/cache/apt/archives换成指向那个目录的软链接

  3. mkdir -p "$HOME/debs/partial" rm -rf /var/cache/apt/archives

  4. ln -s "$HOME/debs" /var/cache/apt/archives

 

参考:https://blog.csdn.net/mynameislinduan/article/details/90053727

 


 

你可能感兴趣的:(Linux,系统运维)