The best way to install Anaconda is to download the latest Anaconda installer bash script, verify it, and then run it.
Find the latest version of Anaconda for Python 3 at the Anaconda Downloads page. At the time of writing, the latest version is 2019.03, but you should use a later stable version if it is available.
Next, change to the /tmp directory on your server. This is a good directory to download ephemeral items, like the Anaconda bash script, which we won’t need after running it.
You should check the output against the hashes available at the Anaconda with Python 3 on 64-bit Linux page for your appropriate Anaconda version. As long as your output matches the hash displayed in the sha2561 row, you’re good to go.
Now we can run the script:
You’ll receive the following output:
well i guess that i can go this way too - even on EOS!?
Don’t use random scripts to install software on always use pacman or yay Otherwise there is a risk to break your OS
Most scripts and tutorials on the I terest are for Ubuntu based systems and are not applicable on Arch based systems
In that case I am just wondering if that is true. I also use anaconda and download it directly from source (anaconda website) and install on my computer. Using AUR here means there is sort of another middle man that packaged it to install via pacman.
I am not suggesting to download and install scripts or program from the internet rather than using pacman, but some software can be installed directly and they have a wrapper to update it. Same for example for qt and qt creator. I use the script and their installer as I can add remove components and try different qt versions on the fly. But then I install qt in my user directory rather than system wide. I need to do it to compile certain software with collaborators.
That’s why I am genuinely wondering about the advantage of using the AUR for this type of software. I haven’t tried installing anaconda via yay but as I recall, one updates directly anaconda in anaconda.
Its just that they recommend installing it that way for Linux (not Ubuntu specific)
And don’t know how this could brake the system vs AUR. To my understanding using AUR and yay would install the same packages in the same place and the software is still managed by conda. But that may be my lack of knowledge
Edit would be good to know if yay installs anaconda on the user home directory like via the method above. Will have to try.
Because pacman keeps track of all files for all packages that are installed including the dependencies that are pulled. This makes removing them easier too
The scripts don’t do that. If something goes wrong, it is hard to remove all the stuff scripts do.
But if all that the scripts do are installing to your home directory (thus not needing root access or sudo) then that’s probably fine.
It seems that you still don’t understand what AUR is and does. You don’t like AUR? Why do you want to avoid it? Its very transparent, you can review the build scripts i.e. PKGBUILD. You can also compare them to the scripts you’re referring to
I think I do understand what AUR is, I also followed the arch wiki and installed packages manually via pacman and read the pkgbuild to learn.
I was just wondering if there are cases were installation via script is warranted over use of AUR. It’s because I recently installed dwm suckless, and I also pull packages via git and build locally on my system in home. It’s the preferred way over AUR for suckless software/philosophy I guess…
Edit: perhaps I am comparing oranges with apples here but so you understand why I am thinking about this.
If I understand correctly, instead of downloading locally once the git package and build via pacman, yay can be used to track/uodate the git package, pull it, and then recompile via package manager.tonautomate the process.
then it should continue, this is only part of the installation.
I did some research and there are different opinions on how to install anaconda. supposedly you shouldn’t install anaconda system-wide, but in the user directory, as described in the official instructions, otherwise it could damage the operating system.
I installed anaconda in the VM via AUR, when starting anaconda and later spyder, there were some error messages. when solving these problems, there were problems with python or pip in the operating system. the problems have spread to the operating system.
I would not install software that messes up the operating system.