Sometimes when we download an application to install it comes as a zip archive, a couple of notable
examples of this are the Atom text editor and visual studio code.
So let's go ahead and take a look at our downloads directory.
You can see we have Adam that zip, which is the zip archive that gets downloaded from the Atom Text
Editors website.
All right.
So like we did before.
Let's go ahead and let's copy this file to our our Web server.
And what we're going to go ahead and do is we're going to go ahead and bring up our Web server and get
the URL.
So let's go ahead and copy this.
And again, like before we're going to go ahead and we're going to create a new job, which we could
create from a template.
And so we're working with zip files.
So let's go ahead and change this to zip and we're going to go ahead and download it.
And we're going to.
Change our download path.
And we're going to go ahead and copy this line on our test machine, since we haven't run this yet,
so let's go ahead and do that.
And OK, it appears to work.
And let's go ahead and do a listing of our or attempt folder, and we can see that.
That Adam Adam Zipp is there.
OK, so let's go ahead and the next thing that we're going to want to do is zip the zip file to see.
What's in basically what's in the contents of the zip file so we can do that into the.
We could do that from the tent folder, so was that a that's it, and we can see that it is basically
it's building an atom app directory.
OK, so if I do and a listing in my current directory, we can see that it is Adam and Adam, that app
directory.
So that's basically self-contained application.
So we can go ahead and reset on on this machine.
We don't need it, but we do know that so far that this is good.
Now, since it is going to unzip and turn into an app directory, we could just extract and use the
D switch for directory or it's going to output to and we could do that to our applications folder.
So let's go ahead and do that.
And we see that that works.
And it's how putting two applications Adam got at, so we're going to go ahead and take this line and
put that in our code.
And so after we download, we're going to extract.
And then we are going to run this command and that basically installs it, so the last thing that we
want to do after that is we want to delete the file.
And all we have to do is this is the zip file that we're going to do, we.
And so all we got to do is put that here.
And again, we basically made a template for installing zip files, so just say installs it file from
installs server.
And hit, OK, and then we're going to save this and we're going to put that in the install applications.
And we're going to say install and text editor.
And say that, all right, so we're going to go ahead and install Adam, we can see that we don't have
it on this machine.
So let's go ahead and and run the job now.
So we're going to go ahead and run it.
And basically it's going to download it, which it's doing, and it's already inflating it to the applications
folder and.
When it's done.
We should be able to launch it.
OK, it's done.
Let's go ahead, launch it to make sure that it works.
We've got a full report of all the files that are extracted.
Go ahead and close that out and we can see that Adam launch just fine.
And so now we've got Adam install.