How to install Anaconda on Ubuntu
11K views
Aug 21, 2022
Learn how to install Anaconda on Ubuntu - Step by step! Written Article: https://www.ceos3c.com/python/install-anaconda-ubuntu/ ⮘-=[Subscribe]=-⮚ ↬ https://www.youtube.com/c/ceos3ctutorials?sub_confirmation=1 ⮘-=[Support Me]=-⮚ ↬ Patreon: https://www.patreon.com/ceos3c ↬ Hacking Apparel: https://www.teespring.com/stores/ceos3c-hacker-store ↬ Paypal: https://www.paypal.me/ceos3c ↬ My Amazon Store: https://www.amazon.com/shop/ceos3ctutorials ↬ pfSense Starter Guide: https://amzn.to/2RbRem2 ⮘-=[Social]=-⮚ ↬ Website: https://www.ceos3c.com ↬ Instagram: https://www.instagram.com/daily.linux.tips ↬ Twitter: https://www.twitter.com/ceos3c
View Video Transcript
0:00
Hey guys, what is up everyone today? I will quickly show you how to install Anaconda on Ubuntu 1804
0:07
It's a pretty straightforward and fast process, so we will get right into it
0:12
I'm already connected to my freshly installed Ubuntu 1804 server in AWS EC2
0:18
You can install it on your local server or wherever you want, as long as it's Ubuntu 1804. It doesn't matter
0:23
And the first thing as always is pseudo app get update tag Y to update our site
0:29
sources and make sure we are downloading the latest version of our packages
0:34
It should just take a couple of seconds for that to finish and there it is. Next we're
0:39
gonna clean up the screen and we're gonna CD into our temp directory
0:45
And next we are going to download the Anaconda package. I'm gonna copy this from my
0:52
written article which I will link in the description below. You can go there and just
0:56
copy paste all of the commands. So it's W get and then I copy the link
1:04
and for this you always have to make sure or you should make sure that you download the latest
1:09
version because as I have written this article at the moment I have written it
1:13
this was the newest version but it's not anymore now now the newest version
1:19
you can open this basically it's the same link you can just copy it from here
1:25
and you see it repo dot anaconda slash archive And as you can see there is a newer version available which is I think 530 yeah that that so the thing what you do is simply you gonna
1:42
change this version in here according to the version on the left side of the screen you just
1:48
have to find it here and as you can see aWS servers are pretty fast so we have downloaded it very
1:54
quickly and the next thing we are going to do is we can or it's an additional step we can
2:00
MD5 some this package to make sure it's a legged version just hit that and it takes a couple of
2:08
seconds and then one of those numbers will show up and if we go to which one was it Linux
2:15
530 and it should be equal with this number here let's pull it up again so it's additional
2:23
security measure and as you can see it's exactly this number so the file is fine it's just an
2:28
additional step on security here okay and now it's already time to install anaconda so we clear
2:34
the screen again and we type bash and anaconda you can always auto complete by pressing the tap button
2:40
as i just did here and you just hit enter then you will have to review the license agreement
2:47
and agree to it obviously so hit enter to pull that up and just hold down the enter key until you are
2:53
done of course you should always read your license agreement and you're going to answer yes
3:00
all right so the next thing you get asked is where to install into which location to install anaconda We are going to leave it on the default location so just hit enter
3:11
Now the installer is going to start and we will wait until it's starting so that you can see it's actually doing something
3:17
Which should not take more than a couple of seconds and once that is running now you can see installing Python
3:24
Now I'm gonna pause the video. It will take about two minutes for that to finish before the installer is
3:29
finished Anna or the installer will ask you if you want to initialize anaconda tree in your home directory you'd want
3:36
definitely to have that checked so type yes and thank you for
3:43
installing anaconda now it's an additional step which is new in the newest
3:46
version which is Microsoft Vs code so you decide if you want to install it or not
3:51
I don't so I type no and then the installation is almost finished now we just
3:58
need to go ahead and activate the installer by typing source this wave symbol I
4:06
don't even know the English name let me know in the comments below what is the English name for this symbol I actually don't even know the German name for it
4:13
but please educate me on that bash RC and then that should be done all right now
4:21
we can go ahead and test if the installation was successful by running a command
4:26
called Konda List. And if it was successful, which it looks like it was
4:31
then you get output from that If it wasn successful you will get this command It not known but this looks pretty pretty fine So the next thing we need to do is create our first environment
4:44
but from here on probably you know already how to do that if you want to work with Anaconda
4:49
But we just do it for good measure, so it's Conda, create a name
4:53
and then a new environment and Python version is three, obviously. that's what we have installed and then it's solving our environment
5:08
come on come on come on then the following will be installed of course if you want to do that you
5:14
have to proceed with yes that should not take very long see I'm gonna pause it for a
5:23
second it's already done fine perfect now we need to activate it by source activate
5:30
new environment okay now we can see we are in the new environment in here
5:39
which basically means that anaconda was installed successfully you can now go ahead
5:43
and look up their official documentation which is pretty well written and easy to
5:47
understand so you can learn everything from this official documentation I will
5:52
also link it in the description below and as always if this video was easy to
5:57
follow please give it a thumbs up Subscribe to my channel. There will be a lot of tutorials and I release videos every week
6:06
Thanks for watching guys. See you on the next one
#Operating Systems