Celeb Glow
news | April 03, 2026

Anaconda is only available to root

I downloaded the Anaconda3-2020.02-Linux-x86_64.sh from official site and used the command:

sudo sh Anaconda3-2020.02-Linux-x86_64.sh

To install. By default it installed inside '/root/anaconda3'. Now, I can only access python and conda when I use 'sudo su'. How can I make it available for myself?

2 Answers

Follow the uninstall process given in below link

login as root user

sudo su

Install anaconda clean pkg

conda install anaconda-clean

remove all anaconda related files

anaconda-clean --yes

remove the anaconda folder (most likely created in root folder if you selected default)

rm -rf /root/anaconda3

remove the conda path configuration from bashrc file (use vi or gedit or nano editor)

And then run the installation file without the elevated user so that conda is accessible to your userid.

You should have installed it on behalf of your user without sudo command.

Basically, follow these steps from official installation docs.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy