diff options
Diffstat (limited to 'miniconda3.install')
-rw-r--r-- | miniconda3.install | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/miniconda3.install b/miniconda3.install index 0406dbc23eab..f94e2a0cbcfd 100644 --- a/miniconda3.install +++ b/miniconda3.install @@ -1,7 +1,12 @@ post_install(){ - echo -e "Please run\n" - echo -e "\t$ source /opt/miniconda3/bin/activate root" - echo -e "\t$ source /opt/miniconda3/bin/deactivate root" - echo -e "\nto activate and deactivate the miniconda3 enviroment.\n" + echo -e ' +If your shell is Bash or a Bourne variant, enable conda for the current user with + + $ echo "[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh" >> ~/.bashrc + +or, for all users, enable conda with + + $ sudo ln -s /opt/miniconda3/etc/profile.d/conda.sh /etc/profile.d/conda.sh +' } |