1

I want to install Miniconda but I don't want to do so as root. Is there a directory (except ~/) where I can install external software as a non-root user?

I don't want to install it in the default directory ~/miniconda3

marked as duplicate by muru, karel, K7AAY, Fabby, Kevin Bowen May 25 '18 at 21:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • If the installation isn't done as root, then the software goes in your home folder. – dsstorefile1 May 25 '18 at 6:33
0

Do you have root access? Most of the time, to edit folders that are not in your home directory, you need to have sudo or root access. If you have root access, you can always make a folder wherever and then change the ownership using sudo chown *user* /path/to/folder. Then, user will be able to install packages to that folder. If you don't have root or sudo privileges, then you're stuck using your home folder unless you ask the system admin to make a directory elsewhere for you.

I usually put other packages in the /opt folder and none of them are used as root. However, I did install them using sudo, then changed the ownership to the appropriate user after the fact.

1

I think you are confusing ~/ with /. ~/ is your home directory not your root directory. Where as / will be your root directory where you'll find /home/USER/ which is longhand for ~/.

  • Thanks, but I am not confusing ~/ with /. I just want to install miniconda in a directory besides the home directory. – Bill May 25 '18 at 13:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.