1
00:00:00,870 --> 00:00:07,950
Now installing software on the anonymous who next cube is slightly different than installment software

2
00:00:08,010 --> 00:00:12,670
on the other virtual machines because the others were based on fedora.

3
00:00:12,750 --> 00:00:17,250
And as we see in fedora comes with its nice package installer.

4
00:00:17,250 --> 00:00:20,990
So if we go on the personal or on the work they're all based on fedora.

5
00:00:21,360 --> 00:00:28,300
So if we want to install something on any of them we go to the fedora template and we click on software.

6
00:00:28,440 --> 00:00:34,920
This will launch a really nice graphical interface that allow us to install software and anything we

7
00:00:34,920 --> 00:00:41,040
install in here will become available to work personal untrusted and so on because they're all based

8
00:00:41,070 --> 00:00:48,930
on the fedora 30 now because the WHO next because the in on who next and the disposable units that we

9
00:00:48,930 --> 00:00:56,640
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

10
00:00:56,760 --> 00:01:02,700
installing software on the next 15 is a little bit different than fedora.

11
00:01:02,700 --> 00:01:07,750
Because it does not have a nice package manager and nice graphical interface.

12
00:01:07,890 --> 00:01:12,040
Therefore we're going to have to install software from terminal.

13
00:01:12,060 --> 00:01:13,140
Now don't worry about this.

14
00:01:13,140 --> 00:01:15,150
I'm going to take you through it right now.

15
00:01:15,150 --> 00:01:20,250
If you've done any of my other courses then this will be very easy and very familiar to you.

16
00:01:20,280 --> 00:01:25,320
Well I still suggest you watch this lecture as you might learn a trick or two.

17
00:01:25,830 --> 00:01:30,180
Now to do this we're gonna have to let me minimize this.

18
00:01:30,180 --> 00:01:34,200
We're going to have to go to the template that we want to install software on.

19
00:01:34,290 --> 00:01:40,800
And like I said there is no graphical user interface that allow us to install software therefore we're

20
00:01:40,800 --> 00:01:44,440
going to have to do it from the terminal okay.

21
00:01:44,450 --> 00:01:46,710
Now this will start a nice terminal for us.

22
00:01:46,710 --> 00:01:48,940
I'm just going to clear its screen.

23
00:01:48,950 --> 00:01:54,290
The first thing that you want to do when you start this terminal is update the sources from which you

24
00:01:54,290 --> 00:01:57,440
can download packages and software.

25
00:01:57,440 --> 00:02:03,530
We need to do this with Admin privileges so to run a command with Admin privileges we have to first

26
00:02:03,530 --> 00:02:07,970
type sudo and then type the command that we want to run.

27
00:02:08,030 --> 00:02:11,090
And in my case I want to update the sources like I said.

28
00:02:11,150 --> 00:02:20,520
So the command will be up to get update so upset is the program that we used to install software on

29
00:02:20,520 --> 00:02:28,080
debian based operating systems such as Unix and what we want to do is literally just update the sources

30
00:02:28,260 --> 00:02:30,300
from which we can download software.

31
00:02:30,360 --> 00:02:32,030
We're not updating anything.

32
00:02:32,040 --> 00:02:37,230
We're literally just updating the list of packages that we can install.

33
00:02:37,680 --> 00:02:42,580
Once this is done we can search for packages and install them.

34
00:02:42,630 --> 00:02:48,180
So let's say for example you want to install pigeon if you remember we used pigeon before for instant

35
00:02:48,180 --> 00:02:49,960
messaging entails.

36
00:02:50,010 --> 00:02:55,770
So let's say you wanna install this to do that first of all let's say you don't really remember the

37
00:02:55,770 --> 00:03:01,320
program name or you want to search because you're not sure what the name of the pigeon package.

38
00:03:01,320 --> 00:03:03,510
So let's say you want to search for this program.

39
00:03:03,660 --> 00:03:11,820
We're gonna do pseudo again and we're going to do apt catch and we're gonna say I want to search for

40
00:03:11,850 --> 00:03:19,910
a package called pigeon now this will list all of the packages that has the word pigeon in them.

41
00:03:20,110 --> 00:03:27,010
So you'll see the package that you want plus a lot of other packages may be related maybe not even related.

42
00:03:27,010 --> 00:03:30,980
So for example let's say you're looking for a chat program or a messaging program.

43
00:03:31,000 --> 00:03:35,170
You can just do art couch search message.

44
00:03:35,410 --> 00:03:39,730
In my example as you can see right here I have the name of the package that I want to install or the

45
00:03:39,730 --> 00:03:41,440
name of the program pigeon.

46
00:03:41,440 --> 00:03:47,650
And I also have the description of it which is a graphical multi protocol instant messaging client.

47
00:03:47,650 --> 00:03:52,010
So all I need to do is basically install a package called pigeon.

48
00:03:52,330 --> 00:03:57,580
Now to do that again we're going to do sudo because we need to run this under admin.

49
00:03:57,580 --> 00:04:03,460
We're going to use the same program get and instead of updating the sources we're going to say I want

50
00:04:03,460 --> 00:04:09,140
to install a program called pigeon very very simple.

51
00:04:09,180 --> 00:04:15,750
We're going to hit enter and because I've actually downloaded and installed this before it's automatically

52
00:04:15,750 --> 00:04:18,930
downloaded and installed it for me without asking me.

53
00:04:18,930 --> 00:04:24,420
But for you if you're installing software or a package for the first time it's going to ask you to confirm

54
00:04:24,660 --> 00:04:29,760
and you're just gonna have to type Y and hit enter to continue the process.

55
00:04:29,760 --> 00:04:36,930
Now once this is done pigeons installed now on my template virtual machine my who next workstation 15.

56
00:04:37,050 --> 00:04:41,160
Like I said we never use the templates to run the actual software.

57
00:04:41,160 --> 00:04:45,000
We only use them if we want to update or install software.

58
00:04:45,000 --> 00:04:45,840
So this is done.

59
00:04:45,840 --> 00:04:46,740
This is installed.

60
00:04:46,740 --> 00:04:47,900
We're happy with it.

61
00:04:47,940 --> 00:04:55,540
I'm going to close it and I'm going to shut down my who next workstation and wait for it to fully shut

62
00:04:55,540 --> 00:04:56,500
down.

63
00:04:57,010 --> 00:05:03,730
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

64
00:05:03,730 --> 00:05:05,110
to use the program from.

65
00:05:05,110 --> 00:05:10,480
So for example the end on who next right here we're going to go to its setting so you can click on this

66
00:05:10,540 --> 00:05:13,970
or we can right click and go to settings.

67
00:05:14,200 --> 00:05:20,290
We're going to go to applications and as you can see we have the pigeon instant manager available for

68
00:05:20,290 --> 00:05:21,760
us in here.

69
00:05:21,760 --> 00:05:25,150
Now you want to make sure that the machine is off when you're doing this.

70
00:05:25,150 --> 00:05:31,690
Otherwise you won't see it if you don't see it try to click on refresh applications and it should become

71
00:05:31,750 --> 00:05:33,220
available.

72
00:05:33,220 --> 00:05:38,140
Now once we have it we're going to click on it here to make it available and the drop down menu in here

73
00:05:38,620 --> 00:05:40,060
and we're going to click on OK.

74
00:05:40,480 --> 00:05:48,760
So now I can go in here and I can go to my anon who annex and I have pigeon instant messaging right

75
00:05:48,760 --> 00:05:50,960
here so I can click on it.

76
00:05:51,100 --> 00:05:54,260
Wait for the virtual machine to start and it'll start.

77
00:05:54,250 --> 00:05:59,470
Pigeon for me wants the virtual machine is working and perfect as you can see.

78
00:05:59,470 --> 00:06:06,100
Now I have pigeon working inside my own on who makes domain and we can use it exactly the same that

79
00:06:06,100 --> 00:06:11,560
we learned with tails you click on the create your user or you log in to your existing account and then

80
00:06:11,560 --> 00:06:15,430
you start communicating sending messages and so on.

81
00:06:15,430 --> 00:06:21,760
Now in this example obviously I literally just installed pigeon what you can follow the exact same steps

82
00:06:21,940 --> 00:06:29,250
if you want to install any other program or any other package now I highly recommend you get comfortable

83
00:06:29,250 --> 00:06:34,140
with using the terminal and install on programs through the terminal through UPS get.

84
00:06:34,140 --> 00:06:40,890
But if you really want to have an easy way of installing programs a graphical user interface then you

85
00:06:40,890 --> 00:06:47,700
can install a program called synaptic which basically interacts with apt get and allows you to install

86
00:06:47,700 --> 00:06:53,910
software through a nice graphical user interface similar to what we did when we were installing programs

87
00:06:54,120 --> 00:06:57,630
inside the fedora 30 virtual machine.

88
00:06:57,750 --> 00:07:00,030
Now to do this we'll have to install synaptic.

89
00:07:00,030 --> 00:07:08,790
We'll have to install this graphical interface so let me turn off my who next machine again and we're

90
00:07:08,790 --> 00:07:16,020
going to go back to the terminal of our template which is the next workstation and we're going to clear

91
00:07:16,020 --> 00:07:17,020
the screen.

92
00:07:17,140 --> 00:07:24,300
And this time instead of do an apt get install pigeon we're gonna install a program called synaptic.

93
00:07:24,300 --> 00:07:28,610
We're gonna have enter it's asking me if I really want to do this.

94
00:07:28,610 --> 00:07:31,920
I'm gonna say yes please install it for me.

95
00:07:31,920 --> 00:07:37,440
And like I said this is literally just a graphical user interface that allow us to install packages.

96
00:07:37,440 --> 00:07:44,580
If you really don't want to use the terminal perfect now it's installed and usually we don't use any

97
00:07:44,580 --> 00:07:46,200
programs inside the template.

98
00:07:46,200 --> 00:07:47,250
Virtual Machines.

99
00:07:47,250 --> 00:07:49,260
Like I said we use them inside the domains.

100
00:07:49,260 --> 00:07:51,320
This is what we did literally with pigeon.

101
00:07:51,330 --> 00:07:57,120
And with everything else but because synaptic the programs that we installed is a program that allow

102
00:07:57,120 --> 00:08:00,010
us to install other packages and other programs.

103
00:08:00,120 --> 00:08:05,220
It only makes sense to use it inside the template so that all of the other virtual machines that are

104
00:08:05,220 --> 00:08:08,730
based on this template would inherit these programs.

105
00:08:08,760 --> 00:08:13,620
Therefore we'd want to use this inside our template virtual machine.

106
00:08:13,620 --> 00:08:20,960
So back to the cube manager we're gonna select our template which is the next workstation 15 we're gonna

107
00:08:20,970 --> 00:08:24,800
go to its settings applications.

108
00:08:24,930 --> 00:08:26,630
We're gonna scroll down.

109
00:08:26,820 --> 00:08:29,180
We're gonna look for the package manager.

110
00:08:29,340 --> 00:08:31,480
We're going to add that here to the right.

111
00:08:31,530 --> 00:08:32,510
We're going to click on.

112
00:08:32,520 --> 00:08:33,660
Okay.

113
00:08:33,690 --> 00:08:40,620
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

114
00:08:40,620 --> 00:08:46,740
us to launch this graphical interface for the package manager for art get.

115
00:08:46,740 --> 00:08:49,250
We're going to close this warning.

116
00:08:49,260 --> 00:08:54,580
Perfect as you can see we have a program that has a nice graphical user interface.

117
00:08:54,690 --> 00:08:57,300
You can use the search button in here to search.

118
00:08:57,300 --> 00:09:03,000
And then if you want to install any package you literally just ticket in here from the list mark for

119
00:09:03,000 --> 00:09:06,070
installation and Mark.

120
00:09:06,090 --> 00:09:10,840
And then click on Apply to apply the changes and install the package.

121
00:09:10,980 --> 00:09:14,780
Like I said I highly recommend getting used to using the terminal.

122
00:09:14,820 --> 00:09:15,740
It is much better.

123
00:09:15,750 --> 00:09:19,600
And if you know how to use it you can use it across multiple platforms.

124
00:09:19,650 --> 00:09:23,490
You're also installing less packages so there is less attack surface.

125
00:09:23,490 --> 00:09:29,340
And finally there are people reporting issues with synaptic inside who next they're seeing it creates

126
00:09:29,340 --> 00:09:30,450
a lot of problems.

127
00:09:30,480 --> 00:09:33,870
So you can see whatever suits you best and just go with it.

128
00:09:35,040 --> 00:09:37,770
Now finally before we wrap this up I'm going to close this.

129
00:09:37,770 --> 00:09:44,420
I'm going to quit I just want to show you how you would update any virtual machine or any template I've

130
00:09:44,430 --> 00:09:45,450
touched on it before.

131
00:09:45,450 --> 00:09:50,640
So you can actually start the template whether it's a fedora or Debian or even if it's another operating

132
00:09:50,640 --> 00:09:55,790
system literally look up how that operating system gets updated and follow the steps.

133
00:09:55,800 --> 00:10:02,280
So usually for Linux you do opt to get update up get upgrades and then up get this upgrade to upgrade

134
00:10:02,280 --> 00:10:03,380
for another distro.

135
00:10:03,390 --> 00:10:05,090
If there is a new release.

136
00:10:05,280 --> 00:10:10,680
Alternatively you can actually just do it in here from your cubes manager for example again let's say

137
00:10:10,680 --> 00:10:16,280
you want to update your UNIX workstation right click click on update.

138
00:10:16,440 --> 00:10:19,860
This will automatically start the virtual machine if it's off.

139
00:10:19,860 --> 00:10:23,460
In my case it was already on it start the terminal.

140
00:10:23,460 --> 00:10:29,580
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

141
00:10:29,580 --> 00:10:31,810
us to confirm your hit why.

142
00:10:31,830 --> 00:10:34,400
Hit enter and it'll updated for you.
