...
Code Block |
---|
# change shell to bash for installations $ bash # update default packages $ sudo apt-get update $ sudo apt-get updateupgrade # it's possible to get some update key and dirmngr errors while updating, below commands supply a workaround. After running the workaround, run update & upgrade again. $ cd /etc/apt $ sudo apt install dirmngr cp trusted.gpg trusted.gpg.d # update default packages $ sudo apt-keyget adv --keyserver keyserver.ubuntu.com --recv-keys <YOUR-KEY-LIKE-AA16FCBCA621E701>update $ sudo apt-get upgrade # install miniforge (or any anaconda manager) $ wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh $ chmod +x Miniforge3-Linux-x86_64.sh $ ./Miniforge3-Linux-x86_64.sh #When it asks, conda init? answer yes #Do you wish the installer to initialize Miniforge3 #by running conda init? [yes|no] #[no] >>> $ yes $ exit $ bash |
...