下载安装脚本

1
$ wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh

运行安装脚本,安装目录为/usr/local/miniconda

1
$ sh Miniconda-latest-Linux-x86_64.sh -b -p /usr/local/miniconda

添加环境变量

1
2
3
$ vi ~/.bash_profile
$ export PATH=/usr/local/miniconda/bin:$PATH
$ source ~/.bash_profile