Now installing software on the anonymous who next cube is slightly different than installment software
on the other virtual machines because the others were based on fedora.
And as we see in fedora comes with its nice package installer.
So if we go on the personal or on the work they're all based on fedora.
So if we want to install something on any of them we go to the fedora template and we click on software.
This will launch a really nice graphical interface that allow us to install software and anything we
install in here will become available to work personal untrusted and so on because they're all based
on the fedora 30 now because the WHO next because the in on who next and the disposable units that we
use are based on the if you look in here you'll see they're based on the WHO in x 15 you'll see that
installing software on the next 15 is a little bit different than fedora.
Because it does not have a nice package manager and nice graphical interface.
Therefore we're going to have to install software from terminal.
Now don't worry about this.
I'm going to take you through it right now.
If you've done any of my other courses then this will be very easy and very familiar to you.
Well I still suggest you watch this lecture as you might learn a trick or two.
Now to do this we're gonna have to let me minimize this.
We're going to have to go to the template that we want to install software on.
And like I said there is no graphical user interface that allow us to install software therefore we're
going to have to do it from the terminal okay.
Now this will start a nice terminal for us.
I'm just going to clear its screen.
The first thing that you want to do when you start this terminal is update the sources from which you
can download packages and software.
We need to do this with Admin privileges so to run a command with Admin privileges we have to first
type sudo and then type the command that we want to run.
And in my case I want to update the sources like I said.
So the command will be up to get update so upset is the program that we used to install software on
debian based operating systems such as Unix and what we want to do is literally just update the sources
from which we can download software.
We're not updating anything.
We're literally just updating the list of packages that we can install.
Once this is done we can search for packages and install them.
So let's say for example you want to install pigeon if you remember we used pigeon before for instant
messaging entails.
So let's say you wanna install this to do that first of all let's say you don't really remember the
program name or you want to search because you're not sure what the name of the pigeon package.
So let's say you want to search for this program.
We're gonna do pseudo again and we're going to do apt catch and we're gonna say I want to search for
a package called pigeon now this will list all of the packages that has the word pigeon in them.
So you'll see the package that you want plus a lot of other packages may be related maybe not even related.
So for example let's say you're looking for a chat program or a messaging program.
You can just do art couch search message.
In my example as you can see right here I have the name of the package that I want to install or the
name of the program pigeon.
And I also have the description of it which is a graphical multi protocol instant messaging client.
So all I need to do is basically install a package called pigeon.
Now to do that again we're going to do sudo because we need to run this under admin.
We're going to use the same program get and instead of updating the sources we're going to say I want
to install a program called pigeon very very simple.
We're going to hit enter and because I've actually downloaded and installed this before it's automatically
downloaded and installed it for me without asking me.
But for you if you're installing software or a package for the first time it's going to ask you to confirm
and you're just gonna have to type Y and hit enter to continue the process.
Now once this is done pigeons installed now on my template virtual machine my who next workstation 15.
Like I said we never use the templates to run the actual software.
We only use them if we want to update or install software.
So this is done.
This is installed.
We're happy with it.
I'm going to close it and I'm going to shut down my who next workstation and wait for it to fully shut
down.
And once it is off I'm going to go to my cubes manager again I'm going to go to the machine that I want
to use the program from.
So for example the end on who next right here we're going to go to its setting so you can click on this
or we can right click and go to settings.
We're going to go to applications and as you can see we have the pigeon instant manager available for
us in here.
Now you want to make sure that the machine is off when you're doing this.
Otherwise you won't see it if you don't see it try to click on refresh applications and it should become
available.
Now once we have it we're going to click on it here to make it available and the drop down menu in here
and we're going to click on OK.
So now I can go in here and I can go to my anon who annex and I have pigeon instant messaging right
here so I can click on it.
Wait for the virtual machine to start and it'll start.
Pigeon for me wants the virtual machine is working and perfect as you can see.
Now I have pigeon working inside my own on who makes domain and we can use it exactly the same that
we learned with tails you click on the create your user or you log in to your existing account and then
you start communicating sending messages and so on.
Now in this example obviously I literally just installed pigeon what you can follow the exact same steps
if you want to install any other program or any other package now I highly recommend you get comfortable
with using the terminal and install on programs through the terminal through UPS get.
But if you really want to have an easy way of installing programs a graphical user interface then you
can install a program called synaptic which basically interacts with apt get and allows you to install
software through a nice graphical user interface similar to what we did when we were installing programs
inside the fedora 30 virtual machine.
Now to do this we'll have to install synaptic.
We'll have to install this graphical interface so let me turn off my who next machine again and we're
going to go back to the terminal of our template which is the next workstation and we're going to clear
the screen.
And this time instead of do an apt get install pigeon we're gonna install a program called synaptic.
We're gonna have enter it's asking me if I really want to do this.
I'm gonna say yes please install it for me.
And like I said this is literally just a graphical user interface that allow us to install packages.
If you really don't want to use the terminal perfect now it's installed and usually we don't use any
programs inside the template.
Virtual Machines.
Like I said we use them inside the domains.
This is what we did literally with pigeon.
And with everything else but because synaptic the programs that we installed is a program that allow
us to install other packages and other programs.
It only makes sense to use it inside the template so that all of the other virtual machines that are
based on this template would inherit these programs.
Therefore we'd want to use this inside our template virtual machine.
So back to the cube manager we're gonna select our template which is the next workstation 15 we're gonna
go to its settings applications.
We're gonna scroll down.
We're gonna look for the package manager.
We're going to add that here to the right.
We're going to click on.
Okay.
And now if we go to the drop down menu of it in here you'll see we have a new entry which will allow
us to launch this graphical interface for the package manager for art get.
We're going to close this warning.
Perfect as you can see we have a program that has a nice graphical user interface.
You can use the search button in here to search.
And then if you want to install any package you literally just ticket in here from the list mark for
installation and Mark.
And then click on Apply to apply the changes and install the package.
Like I said I highly recommend getting used to using the terminal.
It is much better.
And if you know how to use it you can use it across multiple platforms.
You're also installing less packages so there is less attack surface.
And finally there are people reporting issues with synaptic inside who next they're seeing it creates
a lot of problems.
So you can see whatever suits you best and just go with it.
Now finally before we wrap this up I'm going to close this.
I'm going to quit I just want to show you how you would update any virtual machine or any template I've
touched on it before.
So you can actually start the template whether it's a fedora or Debian or even if it's another operating
system literally look up how that operating system gets updated and follow the steps.
So usually for Linux you do opt to get update up get upgrades and then up get this upgrade to upgrade
for another distro.
If there is a new release.
Alternatively you can actually just do it in here from your cubes manager for example again let's say
you want to update your UNIX workstation right click click on update.
This will automatically start the virtual machine if it's off.
In my case it was already on it start the terminal.
It'll check the sources and once it gets a list of all the updates all you have to do in here it's asking
us to confirm your hit why.
Hit enter and it'll updated for you.