Linux下安装Anaconda后如何授权普通用户使用

2025-10-24 23:09:46

1、将安装包上传到服务器的/tmp目录(可以用共享文件夹或者FTP或者干脆在Linux里用火狐来下载)

2、用普通用户登录终端

3、$ cd /tmp

$ bash Anaconda3-5.1.0-Linux-x86_64.sh

注意下面2处不要回车用缺省的选项:

Do you accept the license terms? [yes|no]

[no] >>> yes

Do you wish the installer to prepend the Anaconda3 install location

to PATH in your /home/ai/.bashrc ? [yes|no]

[no] >>> yes

Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]

>>> no

Linux下安装Anaconda后如何授权普通用户使用

4、验证Anaconda是否安装成功:

$ cd

$ . ./.bash_profile

$ python

[ai@AIDevEnv ~]$ python

Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)

[GCC 7.2.0] on linux

Type "help", "copyright", "credits" or "license" for more information.

用exit()命令退出python

>>> exit()

看到上面的信息(Python 3.6.4)说明安装成功了。

Linux下安装Anaconda后如何授权普通用户使用

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢