This is a test version of Biostars. For the public version, visit https://www.biostars.org.
I cannot install anaconda on ubuntu 22.04

Dears, while I’m trying to accept the license terms by writing “yes” my terminal delete the license terms and shows up a king of loop with letters “y”. Could you help me, please?enter image description here

ubuntu anaconda conda

start by adding the yes flag

apt-get install -y

Thank you so much

1 answer

Hi Omar,

This sounds like a terminal input glitch during the interactive licence prompt—typing can sometimes cause echoing issues or key repeats in certain Ubuntu setups. To bypass it entirely, download the Anaconda installer script and run it in silent (batch) mode, which accepts the terms automatically:

bash Anaconda3-*.sh -b -p ~/anaconda3

Replace Anaconda3-*.sh with your exact file name, and adjust the install path if needed (e.g., /opt/anaconda3 for system-wide). After installation, initialise conda with ~/anaconda3/bin/conda init and restart your terminal.

That should get you sorted without the hassle.

Kevin

Log in to answer this question.