1 00:00:00,001 --> 00:00:04,434 [No Audio] 2 00:00:04,434 --> 00:00:08,050 Before we install Minikube on our Linux machine, 3 00:00:08,050 --> 00:00:11,734 let's run a standard apt-get update and install 4 00:00:11,734 --> 00:00:15,867 some dependencies. We're installing https transport 5 00:00:15,867 --> 00:00:18,501 package, and if you're wondering why have we 6 00:00:18,501 --> 00:00:23,101 provided the flag Acquire: : ForceIPv4=true, 7 00:00:23,101 --> 00:00:26,467 it is to make sure that the response doesn't get 8 00:00:26,467 --> 00:00:29,967 stuck while searching for an IPv6 address, because 9 00:00:29,967 --> 00:00:34,067 this system is using an IPv4 address. If you don't 10 00:00:34,067 --> 00:00:37,334 have such a conflict, you can skip this flag. 11 00:00:37,334 --> 00:00:39,901 [No Audio] 12 00:00:39,901 --> 00:00:43,001 Once we are done with the update, let's download and add 13 00:00:43,001 --> 00:00:47,134 GPG our GNU Privacy Guard key for Kubernetes 14 00:00:47,134 --> 00:00:49,901 using curl command followed by this link. 15 00:00:49,901 --> 00:00:51,867 [No Audio] 16 00:00:51,867 --> 00:00:56,967 We got a confirmation with OK. Now let's add Kubernetes 17 00:00:56,967 --> 00:01:00,467 update path to the sources.list file. 18 00:01:01,701 --> 00:01:06,034 To verify the addition lesson, apt-get update again. 19 00:01:07,634 --> 00:01:11,468 And it was a success. If you can see, the line 20 00:01:11,468 --> 00:01:15,267 starting with get 12 has fetched packages from 21 00:01:15,267 --> 00:01:19,167 kubernetes-xenial main repository, just like 22 00:01:19,167 --> 00:01:22,834 Docker or VirtualBox. Now it's time to install 23 00:01:22,867 --> 00:01:26,501 kubectl which is also a prerequisite for running 24 00:01:26,501 --> 00:01:31,767 Minikube. Run sudo apt-get install kubectl 25 00:01:31,767 --> 00:01:34,467 and provide a default -y. 26 00:01:34,467 --> 00:01:36,834 [No Audio] 27 00:01:36,834 --> 00:01:41,434 Let's see if the installation was successful running kubectl version. 28 00:01:42,101 --> 00:01:44,834 And yes, the installation was successful. 29 00:01:45,401 --> 00:01:47,767 Now let's download Minikube from its official 30 00:01:47,767 --> 00:01:49,967 repository using curl again. 31 00:01:49,967 --> 00:01:52,634 [No Audio] 32 00:01:52,634 --> 00:01:58,367 Now let's make Minikube executable using chmod which means 33 00:01:58,367 --> 00:02:03,434 change mod +x. And finally, let's add this 34 00:02:03,434 --> 00:02:08,067 executable to user/local/bin directory, 35 00:02:08,067 --> 00:02:11,434 and optionally, you can remove it from here as well. 36 00:02:12,101 --> 00:02:15,467 Alright, our MiniKube setup is complete.