Follow steps here but it’s easier to run the Anaconda install with the -b
flag as below.
$ ./Anaconda3-2022.05-Linux-x86_64.sh -b
Furthermore, with Anaconda we don’t want it to be activated on login, so disable that with the below command:
$ conda config --set auto_activate_base false