[No Audio]
Before we install Minikube on our Linux machine,
let's run a standard apt-get update and install
some dependencies. We're installing https transport
package, and if you're wondering why have we
provided the flag Acquire: : ForceIPv4=true,
it is to make sure that the response doesn't get
stuck while searching for an IPv6 address, because
this system is using an IPv4 address. If you don't
have such a conflict, you can skip this flag.
[No Audio]
Once we are done with the update, let's download and add
GPG our GNU Privacy Guard key for Kubernetes
using curl command followed by this link.
[No Audio]
We got a confirmation with OK. Now let's add Kubernetes
update path to the sources.list file.
To verify the addition lesson, apt-get update again.
And it was a success. If you can see, the line
starting with get 12 has fetched packages from
kubernetes-xenial main repository, just like
Docker or VirtualBox. Now it's time to install
kubectl which is also a prerequisite for running
Minikube. Run sudo apt-get install kubectl
and provide a default -y.
[No Audio]
Let's see if the installation was successful running kubectl version.
And yes, the installation was successful.
Now let's download Minikube from its official
repository using curl again.
[No Audio]
Now let's make Minikube executable using chmod which means
change mod +x. And finally, let's add this
executable to user/local/bin directory,
and optionally, you can remove it from here as well.
Alright, our MiniKube setup is complete.