WEBVTT

00:00.690 --> 00:08.250
Now installing software on the anonymous Unix cube is slightly different than installing software on

00:08.250 --> 00:15.360
the other virtual machines because the others were based on fedora and as we see in Fedora comes with

00:15.360 --> 00:17.220
its nice package installer.

00:17.220 --> 00:21.100
So if we go on the personal or on the work, they're all based on Fedora.

00:21.120 --> 00:28.310
So if we want to install something on any of them, we go to the Fedora Template and we click on software.

00:28.320 --> 00:34.920
This will launch a really nice graphical interface that allows us to install software and anything we

00:34.920 --> 00:39.690
install in here will become available to work, personal, untrusted and so on.

00:39.690 --> 00:47.610
Because they're all based on the fedora 30 now, because the Unix, because the non Unix and the disposable

00:47.670 --> 00:55.980
Unix that we use are based on the if you look in here, you'll see they're based on the UND X 15, you'll

00:55.980 --> 01:04.320
see that installing software on the x 15 is a little bit different than Fedora because it does not have

01:04.320 --> 01:07.650
a nice package manager and nice graphical interface.

01:07.650 --> 01:11.520
Therefore we're going to have to install software from terminal.

01:11.850 --> 01:13.110
Now, don't worry about this.

01:13.110 --> 01:14.970
I'm going to take you through it right now.

01:14.970 --> 01:20.130
If you've done any of my other courses, then this will be very easy and very familiar to you.

01:20.130 --> 01:24.870
But I still suggest you watch this lecture as you might learn a trick or two.

01:25.650 --> 01:29.790
Now, to do this, we're going to have to let me minimize this.

01:30.000 --> 01:34.020
We're going to have to go to the template that we want to install software on.

01:34.020 --> 01:39.750
And like I said, there is no graphical user interface that allows us to install software.

01:39.750 --> 01:42.780
Therefore we're going to have to do it from the terminal.

01:44.040 --> 01:44.370
Okay.

01:44.370 --> 01:46.680
Now, this will start a nice terminal for us.

01:46.680 --> 01:48.300
I'm just going to clear it screen.

01:48.540 --> 01:54.180
And the first thing that you want to do when you start this terminal is update the sources from which

01:54.180 --> 01:56.610
you can download packages and software.

01:57.270 --> 02:03.540
We need to do this with admin privileges, so to run a command with admin privileges, we have to first

02:03.540 --> 02:07.830
type sudo and then type the command that we want to run.

02:07.830 --> 02:11.040
And in my case, I want to update the sources, like I said.

02:11.040 --> 02:13.560
So the command will be up to get.

02:14.730 --> 02:15.510
Update.

02:16.260 --> 02:24.570
So update is the program that we use to install software on Debian based operating systems such as Linux.

02:24.570 --> 02:30.230
And what we want to do is literally just update the sources from which we can download software.

02:30.240 --> 02:32.040
We're not updating anything.

02:32.040 --> 02:36.660
We're literally just updating the list of packages that we can install.

02:37.440 --> 02:41.790
Once this is done, we can search for packages and install them.

02:42.420 --> 02:45.210
So let's say for example, you want to install pidgin.

02:45.210 --> 02:49.800
If you remember, we use pidgin before for instant messaging entails.

02:49.800 --> 02:52.800
So let's say you want to install this to do that.

02:52.800 --> 02:58.440
First of all, let's say you don't really remember the program name or you want to search because you're

02:58.440 --> 03:01.080
not sure what the name of the pidgin package.

03:01.080 --> 03:03.480
So let's say you want to search for this program.

03:03.480 --> 03:11.220
We're going to do sudo again and we're going to do apt catch and we're going to say i want to search

03:11.220 --> 03:13.800
for a package called pidgin.

03:15.410 --> 03:19.910
Now this will list all of the packages that has the word pigeon in them.

03:19.910 --> 03:22.550
So you'll see the package that you want.

03:22.550 --> 03:26.830
Plus a lot of other packages may be related, maybe not even related.

03:26.840 --> 03:31.640
So, for example, let's say you're looking for a chat program or a messaging program, you can just

03:31.640 --> 03:34.700
do a catch search message.

03:35.270 --> 03:39.620
In my example, as you can see right here, I have the name of the package that I want to install or

03:39.620 --> 03:41.210
the name of the program pigeon.

03:41.210 --> 03:46.730
And I also have the description of it, which is a graphical multi protocol instant messaging client.

03:47.450 --> 03:51.470
So all I need to do is basically install a package called pigeon.

03:52.130 --> 03:57.380
Now to do that again, we're going to do pseudo because we need to run this under admin.

03:57.380 --> 04:03.050
We're going to use the same program update and instead of updating the sources, we're going to say,

04:03.050 --> 04:06.680
I want to install a program called Pigeon.

04:07.820 --> 04:09.020
Very, very simple.

04:09.050 --> 04:10.340
We're going to hit enter.

04:11.360 --> 04:16.940
And because I've actually downloaded and installed this before, it's automatically downloaded and install

04:16.980 --> 04:18.800
it for me without asking me.

04:18.800 --> 04:23.600
But for you, if you're installing software or a package for the first time, it's going to ask you

04:23.600 --> 04:28.850
to confirm and you're just going to have to type Y and hit enter to continue the process.

04:29.600 --> 04:36.080
Now, once this is done, pigeon's installed now on my template virtual machine, my UNIX workstation

04:36.080 --> 04:36.830
15.

04:36.860 --> 04:41.060
Like I said, we never use the templates to run the actual software.

04:41.060 --> 04:44.660
We only use them if we want to update or install software.

04:44.750 --> 04:46.730
So this is done, this is installed.

04:46.730 --> 04:47.780
We're happy with it.

04:47.780 --> 04:52.970
I'm going to close it and I'm going to shut down my UNIX workstation.

04:54.070 --> 04:56.200
And wait for it to fully shut down.

04:56.830 --> 05:01.390
And once it is off, I'm going to go to my cubes manager again.

05:01.510 --> 05:05.080
I'm going to go to the machine that I want to use the program from.

05:05.080 --> 05:10.480
So, for example, the anon x right here, we're going to go to its settings so it can click on this

05:10.480 --> 05:13.150
or we can right click and go to settings.

05:14.080 --> 05:20.050
We're going to go to applications and as you can see, we have the pigeon instance manager available

05:20.050 --> 05:21.190
for us in here.

05:21.580 --> 05:25.060
Now you want to make sure that the machine is off when you're doing this.

05:25.060 --> 05:26.680
Otherwise you won't see it.

05:26.950 --> 05:32.530
If you don't see it, try to click on refresh applications and it should become available.

05:33.010 --> 05:37.690
Now, once we have it, we're going to click on it here to make it available in the dropdown menu in

05:37.690 --> 05:40.240
here and we're going to click on okay.

05:40.240 --> 05:49.240
So now I can go in here and I can go to my and on UNIX and I have pigeon instant messenger right here

05:49.240 --> 05:55.630
so I can click on it, wait for the virtual machine to start and it will start paging for me once the

05:55.630 --> 05:58.750
virtual machine is working and perfect.

05:58.750 --> 06:05.890
As you can see now I have pigeon working inside my an on next domain and we can use it exactly the same

06:05.890 --> 06:07.060
that we learned with tails.

06:07.060 --> 06:12.760
We click on ADD, you create your user or your login to your existing account and then you start communicating,

06:12.760 --> 06:14.590
sending messages and so on.

06:15.220 --> 06:21.280
Now in this example, obviously I literally just installed Pigeon, but you can follow the exact same

06:21.280 --> 06:25.990
steps if you want to install any other program or any other package.

06:27.160 --> 06:32.320
Now I highly recommend you get comfortable with using the terminal and installing programs through the

06:32.320 --> 06:33.930
terminal through APT Gate.

06:33.940 --> 06:40.750
But if you really want to have an easy way of installing programs, a graphical user interface, then

06:40.750 --> 06:47.290
you can install a program called Synaptic which basically interacts with APT Gate and allows you to

06:47.290 --> 06:53.350
install software through a nice graphical user interface, similar to what we did when we were installing

06:53.350 --> 06:56.680
programs inside the Fedora 30 virtual machine.

06:57.550 --> 07:03.190
Now to do this, we'll have to install synaptic, we'll have to install this graphical interface.

07:03.790 --> 07:11.710
So let me turn off my UNIX machine again and we're going to go back to the terminal of our template,

07:11.710 --> 07:16.930
which is the UNIX workstation and we're going to clear the screen.

07:16.930 --> 07:23.710
And this time instead of doing APT get installed pigeon, we're going to install a program called Synaptic.

07:24.190 --> 07:25.570
We're going to hit enter.

07:26.620 --> 07:28.540
It's asking me if I really want to do this.

07:28.540 --> 07:31.000
I'm going to say yes, please install it for me.

07:31.750 --> 07:37.240
And like I said, this is literally just a graphical user interface that allows us to install packages

07:37.240 --> 07:39.730
if you really don't want to use the terminal.

07:40.330 --> 07:40.810
Perfect.

07:40.810 --> 07:46.180
Now it's installed and usually we don't use any programs inside the template.

07:46.180 --> 07:47.140
Virtual machines.

07:47.140 --> 07:49.210
Like I said, we use them inside the domains.

07:49.210 --> 07:52.570
This is what we did literally with pigeon and with everything else.

07:52.570 --> 07:58.720
But because synaptic, the program that we installed is a program that allows us to install other packages

07:58.720 --> 08:04.390
and other programs, it only makes sense to use it inside the template so that all of the other virtual

08:04.390 --> 08:08.500
machines that are based on this template would inherit these programs.

08:08.530 --> 08:13.430
Therefore, we'd want to use this inside our template virtual machine.

08:13.450 --> 08:20.320
So back to the queue manager, we're going to select our template, which is the UNIX Workstation 15.

08:20.410 --> 08:22.270
We're going to go to its settings.

08:23.310 --> 08:24.750
Applications.

08:24.750 --> 08:26.460
We're going to scroll down.

08:26.580 --> 08:29.100
We're going to look for the package manager.

08:29.130 --> 08:31.380
We're going to add it here to the right.

08:31.410 --> 08:33.480
We're going to click on OC.

08:33.480 --> 08:40.590
And now if we go to the dropdown menu over in here, you'll see we have a new entry which will allow

08:40.590 --> 08:45.720
us to launch this graphical interface for the package manager for APT Get.

08:46.590 --> 08:49.740
We're going to close this warning and perfect.

08:49.740 --> 08:54.570
As you can see, we have a program that has a nice graphical user interface.

08:54.570 --> 09:00.030
You can use the search button in here to search and then if you want to install any package, you literally

09:00.030 --> 09:02.260
just tick it in here from the list.

09:02.280 --> 09:10.260
Mark for installation and mark and then click on apply to apply the changes and install the package.

09:10.830 --> 09:14.690
Like I said, I highly recommend getting used to using the terminal.

09:14.700 --> 09:19.320
It is much better and if you know how to use it, you can use it across multiple platforms.

09:19.410 --> 09:23.310
You're also installing less packages so there is less attack surface.

09:23.310 --> 09:28.290
And finally, there are people reporting issues with synaptic inside UNIX.

09:28.290 --> 09:30.360
They're saying it creates a lot of problems.

09:30.360 --> 09:34.080
So you can see whatever is due to best and just go with it.

09:34.860 --> 09:37.740
Now, finally, before we wrap this up, I'm going to close this.

09:37.740 --> 09:38.670
I'm going to quit.

09:38.700 --> 09:43.620
I just want to show you how you would update any virtual machine or any template.

09:44.010 --> 09:49.110
I've touched on it before, so you can actually start the template, whether it's a fedora or Debian

09:49.110 --> 09:51.180
or even if it's another operating system.

09:51.180 --> 09:55.620
Literally look up how that operating system gets updated and follow the steps.

09:55.620 --> 10:02.280
So usually for Linux you do apt get update, apt get upgrade and then apt get dist upgrade to upgrade

10:02.280 --> 10:04.770
for another distro if there is a new release.

10:05.160 --> 10:10.020
Alternatively, you can actually just do it in here from your cubes manager for example.

10:10.020 --> 10:16.230
Again, let's say you want to update your UNIX workstation, right click, click on update.

10:16.230 --> 10:19.690
This will automatically start the virtual machine if it's off.

10:19.710 --> 10:21.690
In my case it was already on.

10:21.720 --> 10:27.660
It will start the terminal, it will check the sources and once it gets a list of all the updates,

10:27.660 --> 10:34.080
all you have to do in here, it's asking us to confirm you hit y hit enter and it will update it for

10:34.080 --> 10:34.590
you.
