Incomplete installation on Linux

OS: Pop!_OS 22.04 LTS (based off ubuntu)
Pre-installed python: 3.10.6
Anaconda download: Anaconda3-2022.10-Linux-x86_64.sh

Hi Everyone,

I recently came across this problem when installing Anaconda on my machine. I’m not quite sure how to tackle it. Here is what I’ve done:

  • Download Anaconda3-2022.10-Linux-x86_64.sh
  • chmod 770 Anaconda3-2022.10-Linux-x86_64.sh
  • ./Anaconda3-2022.10-Linux-x86_64.sh
  • Follow the usual prompts. It looks like the script starts to install some packages but then it exits to the following:
Anaconda3 will now be installed into this location:
/home/mylocation/anaconda3

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

[/home/aclifton/anaconda3] >>>
PREFIX=/home/mylocation/anaconda3
Unpacking payload ...
[y/N]:

entering in either “y” or “N” exits the installation, leaving it incomplete. I also tried running the shell script this way:
bash Anaconda3-2022.10-Linux-x86_64.sh

and this way:
bash /home/mylocation/Downloads/Anaconda3-2022.10-Linux-x86_64.sh

And I get the same thing with Anaconda3-2022.05-Linux-x86_64.sh. Any thoughts about what might be going on? Thanks in advance for your help!

You need to be deleting .condarc and .conda folder in my home directory or whereever the previous installation was done.