#!/bin/sh
#
# Created by constructor 3.4.2
#
# NAME: Anaconda3
# VER: py310_2023.03-0
# PLAT: linux-64
# MD5: f94f8a0188b00238afbddbda29ae4a82
set -eu
export OLD_LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}"
unset LD_LIBRARY_PATH
if ! echo "$0" | grep '\.sh$' > /dev/null; then
printf 'Please run using "bash"/"dash"/"sh"/"zsh", but not "." or "source".\n' >&2
return 1
fi
# Export variables to make installer metadata available to pre/post install scripts
# NOTE: If more vars are added, make sure to update the examples/scripts tests too
export INSTALLER_NAME="Anaconda3"
export INSTALLER_VER="py310_2023.03-0"
export INSTALLER_PLAT="linux-64"
export INSTALLER_TYPE="SH"
THIS_DIR=$(DIRNAME=$(dirname "$0"); cd "$DIRNAME"; pwd)
THIS_FILE=$(basename "$0")
THIS_PATH="$THIS_DIR/$THIS_FILE"
PREFIX="$HOME/anaconda3"
BATCH=0
FORCE=0
KEEP_PKGS=1
SKIP_SCRIPTS=0
TEST=0
REINSTALL=0
USAGE="
usage: $0 [options]
Installs Anaconda3 py310_2023.03-0
-b run install in batch mode (without manual intervention),
it is expected the license terms (if any) are agreed upon
-f no error if install prefix already exists
-h print this help message and exit
-p PREFIX install prefix, defaults to $PREFIX, must not contain spaces.
-s skip running pre/post-link/install scripts
-u update an existing installation
-t run package tests after installation (may install conda-build)
"
# We used to have a getopt version here, falling back to getopts if needed
# However getopt is not standardized and the version on Mac has different
# behaviour. getopts is good enough for what we need :)
# More info: https://unix.stackexchange.com/questions/62950/
while getopts "bifhkp:sut" x; do
case "$x" in
h)
printf "%s\\n" "$USAGE"
exit 2
;;
b)
BATCH=1
;;
i)
BATCH=0
;;
f)
FORCE=1
;;
k)
KEEP_PKGS=1
;;
p)
PREFIX="$OPTARG"
;;
s)
SKIP_SCRIPTS=1
;;
u)
FORCE=1
;;
t)
TEST=1
;;
?)
printf "ERROR: did not recognize option '%s', please try -h\\n" "$x"
exit 1
;;
esac
done
# For testing, keep the package cache around longer
CLEAR_AFTER_TEST=0
if [ "$TEST" = "1" ] && [ "$KEEP_PKGS" = "0" ]; then
CLEAR_AFTER_TEST=1
KEEP_PKGS=1
fi
if [ "$BATCH" = "0" ] # interactive mode
then
if [ "$(uname -m)" != "x86_64" ]; then
printf "WARNING:\\n"
printf " Your operating system appears not to be 64-bit, but you are trying to\\n"
printf " install a 64-bit version of Anaconda3.\\n"
printf " Are sure you want to continue the installation? [yes|no]\\n"
printf "[no] >>> "
read -r ans
if [ "$ans" != "yes" ] && [ "$ans" != "Yes" ] && [ "$ans" != "YES" ] && \
[ "$ans" != "y" ] && [ "$ans" != "Y" ]
then
printf "Aborting installation\\n"
exit 2
fi
fi
if [ "$(uname)" != "Linux" ]; then
printf "WARNING:\\n"
printf " Your operating system does not appear to be Linux, \\n"
printf " but you are trying to install a Linux version of Anaconda3.\\n"
printf " Are sure you want to continue the installation? [yes|no]\\n"
printf "[no] >>> "
read -r ans
if [ "$ans" != "yes" ] && [ "$ans" != "Yes" ] && [ "$ans" != "YES" ] && \
[ "$ans" != "y" ] && [ "$ans" != "Y" ]
then
printf "Aborting installation\\n"
exit 2
fi
fi
printf "\\n"
printf "Welcome to Anaconda3 py310_2023.03-0\\n"
printf "\\n"
printf "In order to continue the installation process, please review the license\\n"
printf "agreement.\\n"
printf "Please, press ENTER to continue\\n"
printf ">>> "
read -r dummy
pager="cat"
if command -v "more" > /dev/null 2>&1; then
pager="more"
fi
"$pager" <<EOF
==================================================
End User License Agreement - Anaconda Distribution
==================================================
Copyright 2015-2023, Anaconda, Inc.
All rights reserved under the 3-clause BSD License:
This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc. ("Anaconda") and governs your use of Anaconda Distribution (which was formerly known as Anaconda Individual Edition).
Subject to the terms of this Agreement, Anaconda hereby grants you a non-exclusive, non-transferable license to:
* Install and use the Anaconda Distribution (which was formerly known as Anaconda Individual Edition),
* Modify and create derivative works of sample source code delivered in Anaconda Distribution from Anaconda's repository, and;
* Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modification subject to the requirements set forth below, and;
Anaconda may, at its option, make available patches, workarounds or other updates to Anaconda Distribution. Unless the updates are provided with their separate governing terms, they are deemed part of Anaconda Distribution licensed to you as provided in this Agreement. This Agreement does not entitle you to any support for Anaconda Distribution.
Anaconda reserves all rights not expressly granted to you in this Agreement.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Anaconda nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
* The purpose of the redistribution is not part of a commercial product for resale. Please contact the Anaconda team for a third party redistribution commercial license
* Commercial usage of the repository is non-compliant with our Terms of Service . Please contact us to learn more about our commercial offerings.
You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectual property rights, in and to Anaconda Distribution and, with respect to third-party products distributed with or through Anaconda Distribution, the applicable third-party licensors own all right, title and interest, including all intellectual property rights, in and to such products. If you send or transmit any communications or materials to Anaconda suggesting or recommending changes to the software or documentation, including without limitation, new features or functionality relating thereto, or any comments, questions, suggestions or the like ("Feedback"), Anaconda is free to use such Feedback. You hereby assign to Anaconda all right, title, and interest in, and Anaconda is free to use, without any attribution or compensation to any party, any ideas, know-how, concepts, techniques or other intellectual property rights contained in the Feedback, for any purpose whatsoever, although Anaconda is not required to use any Feedback.
THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANACONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO
liunx anaconda安装包
需积分: 0 198 浏览量
更新于2025-05-29
收藏 857.81MB ZIP 举报
Linux Anaconda安装包的知识点主要涉及到Anaconda的安装过程、配置以及使用。Anaconda是一个开源的Python发行版本,它专注于数据分析和科学计算。它包含了Conda、Python等180多个科学包及其依赖项。Anaconda适用于Linux、Windows和MacOS系统。
需要下载Anaconda的Linux安装包,从文件名1-Linux-x86_64.sh可以看出,这是一个适用于64位x86架构Linux系统的安装脚本。下载完成后,可以通过终端运行该脚本进行安装。安装过程中,用户需要确认安装位置,选择是否将安装路径添加到环境变量中,以及是否初始化Anaconda。
Anaconda安装完成后,用户可以通过conda命令管理Python环境和包。例如,可以创建新的Python环境,安装、更新和删除包等。Anaconda还自带了Anaconda Navigator,这是一个图形用户界面工具,可以帮助用户更方便地管理和使用Anaconda环境。
在Linux系统中,Anaconda通常安装在用户的home目录下。用户可以通过终端进入安装目录,然后运行anaconda-navigator或jupyter notebook等命令来启动相关的应用程序。
Anaconda在数据分析和科学计算领域有着广泛的应用。例如,它被广泛用于机器学习、深度学习、数据挖掘、生物信息学等领域。Anaconda可以帮助用户快速搭建数据科学工作环境,提高工作效率。
Linux Anaconda安装包是一个强大的工具,可以帮助用户快速、方便地搭建Python编程和数据分析环境。无论是初学者还是专业人士,都可以从中受益。


q_q王
- 粉丝: 219
最新资源
- 软件测试工程师的疑惑.doc
- 供电系统安全管理.doc
- 烟草专卖局(公司)年度信息系统安全检查工作自查报告.doc
- 网络舆情管理信息系统技术方案.doc
- 电子商务专业英语词汇表.doc
- assembly_learning-汇编语言资源
- 网站需求说明书软件工程课程设计.doc
- 服务热线网络管理平台(DOC页).docx
- 动态规划算法原理与的应用.doc
- 2023年MSoffice计算机二级考点.docx
- 用友软件食品行业烘焙细分行业ERP信息化解决方案.doc
- 网络营销调研培训教材.pptx
- 信息安全与计算机病毒的防范教材.pptx
- 供应链网络设计.ppt
- 自考数据库系统原理04735真题模拟含答案.doc
- 北京交通大学微机原理与接口技术作业答案.docx