Downloading files or applications, well, in Windows, when you have Windows Machine, Windows, PC
or laptop, if you need to download anything like an application or a game or a file.
What do you do?
You actually open up your browser type in the the link in the early.
If you know the exact link and you click it, it will take you to that page and then you click on that
download link again the next one, and it downloads it right, right here.
But in Linux we don't have the GUI.
So how do we download a file or how do we download an application that we need to download?
Well, there is a tool in Linux that's called W get W stands for World Wide Web and get is of course
to get it.
So get it from World Wide Web or to the Internet.
This is the command that will get an example off of the command is w get followed by the exact U URL
where the file is located.
If the file ends with Dr. or DOD, zip or MCI, whatever that is, you specify the entire U URL in the
W get command.
Now the question is why?
Why do we even need to download any file or any application or any program in Linux?
That's a very good question.
Right.
But there's one thing that you're missing and that is the command.
You're probably thinking of the Jume command when you have a Linux machine and you need to download
any package or any file, you could just simply go to Jum, followed by the name of the package of the
file and then install and it downloads it for you.
As in this example, you have a server and the server goes to another server to get a file.
In this case is that server is a mirror or the repository where the GM goes and install all the packages.
But that server does not have that file that you're looking for.
Then it goes to another server.
Our computer will go to another server, but that server is not listed as one of our repository.
So what do we do?
How do we get that from from that over to our server?
We get it through the W get command and that's how we install it into our machine.
So let's take an example of our Linux machine.
I will run the command and our Linux machine and see how it works.
I will run it through the PUDI.
But before I run it to the Putti, what do we need?
We need the IP address of our PUDI says sorry for Linux machine and how to find the IP.
This is something that you should know by heart.
So I have 100 to 161 that.
Well, I'll put that in here.
One nine two one sixty eight thousand twelve.
I will log in as myself.
And the reason I have this IP instead of one nine to one 68 56 one two one is because I have, in my
words, a machine.
If you go to the setting and you go to network, I have Bridgid adapter.
If I had.
Host only adapter, then there would be a communication between laptop and this virtual machine, but
now I wanted to actually go outside of the network.
So that's why I have this bridge adapter and how am I connecting on my laptop or my desktop as to the
wireless.
Right.
So just make sure you have these settings.
So I do.
And I know I have this IP address I used to Perea put it the IP address.
I am.
And so now I'm just simply going and minimize this and minimize this as well.
And I will take an example of let's say I wanted to install Pudi in my Linux machine.
So in order to install it, you have to run Jom command and before you run Jamkaran, you have to be
root.
So I'll do jume pudi install.
That's a command right.
To install any kind of putty or any kind of packages or file you're looking for.
OK, so the young went outside to his repository and asked Do you have the packet pudi.
It says No I can't suda command pudi please make sure I'm sorry I did run the command wrong it is yump
installed Pudi.
I'm sorry but that's ok.
Mistakes happen right.
OK so youm installed Pudi you head and enter and then you'll see at the end it says no package pudi
available error.
Nothing to do.
So it did go out to the regime repositories.
It did not find the pay packet.
Now this is a perfect example.
Now at this point I do need a package for my Linux machines and what do I do.
Well you need to find out where the link as you are all of the recession is.
So I'll go into a browser and I will type in Google dot com and I'll go to download Putti.
I'm just going to the Windows machine and to the Web browser so I could get the link to download a PUDI.
So this is a package for Unix source archive.
This is what?
This is the one I have to download.
So.
Right, click to it.
I'll go to copy link location.
So it has copied the link location.
I'll come here and just type that location here just to make sure that it does show me that it will
download the file.
Yes, it will see.
So you just cancel it now you go back to your Linux machine and now at this time you type W get it's
a long length, so just make sure you extend a maximize your window space.
You right.
Click on your keyboard and it will paste the entire you URL for you.
So this is the URL and once you hit enter C it is connecting.
It is downloading.
You see that.
Amazing.
We have that package now where is it.
It will be downloaded and the current working down to where I am and where am I at this time that spw.
D I'm in route so it should be in the route and this is it buddy dash zero version that tada g.
So that's the reason we need that w get command.
So, so people or users or developers who cannot find their packages that are on a third party winders
website, they could just get command to actually download a file or package or whatever that they are
trying to install.