개발/Python

Ubuntu 24.04 anaconda3 install

강서버 2024. 7. 21. 04:09
반응형

1. Download Anaconda3

Anaconda3 download url : https://www.anaconda.com/download/success
Linux, Python 3.12 > 64-Bit (x86) Installer (1007.9M)
https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Linux-x86_64.sh

 

* download file name : Anaconda3-2024.06-1-Linux-x86_64.sh

 

 

2. Run terminal

 

 

3. Move Anaconda 3 download directory

$ cd [download directory]

 

(ex, download directory : ~/Download)

$ cd Download

 

~/Download$ ls -al

-rw-r--r--  1 gangserver gangserver         0  7월 21 04:03 Anaconda3-2024.06-1-Linux-x86_64.sh

 

 

4. Add user execution permission to download file

~/Download$ chmod u+x Anaconda3-2024.06-1-Linux-x86_64.sh

 

~/Download$ ls -al

-rwxr--r--  1 gangserver gangserver         0  7월 21 04:03 Anaconda3-2024.06-1-Linux-x86_64.sh

 

 

5. Anaconda3 install

~/Download$ ./Anaconda3-2024.06-1-Linux-x86_64.sh 

Welcome to Anaconda3 2024.06-1

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 
ANACONDA TERMS OF SERVICE
Please read these Terms of Service carefully before purchasing, using, accessing
, or downloading any Anaconda Offerings (the "Offerings"). These Anaconda Terms 
of Service ("TOS") are between Anaconda, Inc. ("Anaconda") and you ("You"), the 
individual or entity acquiring and/or providing access to the Offerings. These T
OS govern Your access, download, installation, or use of the Anaconda Offerings,
 which are provided to You in combination with the terms set forth in the applic
able Offering Description, and are hereby incorporated into these TOS. Except wh
ere indicated otherwise, references to "You" shall include Your Users. You hereb
y acknowledge that these TOS are binding, and You affirm and signify your consen
t to these TOS by registering to, using, installing, downloading, or accessing t
he Anaconda Offerings effective as of the date of first registration, use, insta
ll, download or access, as applicable (the "Effective Date"). Capitalized defini
tions not otherwise defined herein are set forth in Section 15 (Definitions). If
 You do not agree to these Terms of Service, You must not register, use, install
, download, or access the Anaconda Offerings.
1. ACCESS & USE
1.1 General License Grant. Subject to compliance with these TOS and any applicab
le Offering Description, Anaconda grants You a personal, non-exclusive, non-tran
sferable, non-sublicensable, revocable, limited right to use the applicable Anac
onda Offering strictly as detailed herein and as set forth in a relevant Offerin
g Description. If You purchase a subscription to an Offering as set forth in a r
elevant Order, then the license grant(s) applicable to your access, download, in

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

Anaconda3 will now be installed into this location:
/home/gangserver/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/gangserver/anaconda3] >>> /home/gangserver/anaconda3
PREFIX=/home/gangserver/anaconda3
Unpacking payload ...
                                                                                
Installing base environment...


Downloading and Extracting Packages:


Downloading and Extracting Packages:

Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
   run the following command when conda is activated:

conda config --set auto_activate_base false

You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>> 

You have chosen to not have conda modify your shell scripts at all.
To activate conda's base environment in your current shell session:

eval "$(/home/gangserver/devel/tools/anaconda3/bin/conda shell.YOUR_SHELL_NAME hook)" 

To install conda's shell functions for easier access, first activate, then:

conda init

Thank you for installing Anaconda3!

 

6. Check the installed Anaconda 3 directory.

~/Download$ cd ..

 

~$ ls -al

...

drwxrwxr-x 31 gangserver gangserver 4096  7월 21 03:38 anaconda3/

...

 

반응형