1 00:00:00,000 --> 00:00:08,000 Now installing software on the anonymous Unix cube is slightly different than installing software on 2 00:00:08,000 --> 00:00:15,000 the other virtual machines because the others were based on fedora and as we see in Fedora comes with 3 00:00:15,000 --> 00:00:17,000 its nice package installer. 4 00:00:17,000 --> 00:00:21,000 So if we go on the personal or on the work, they're all based on Fedora. 5 00:00:21,000 --> 00:00:28,000 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,000 --> 00:00:34,000 This will launch a really nice graphical interface that allows us to install software and anything we 7 00:00:34,000 --> 00:00:39,000 install in here will become available to work, personal, untrusted and so on. 8 00:00:39,000 --> 00:00:47,000 Because they're all based on the fedora 30 now, because the Unix, because the non Unix and the disposable 9 00:00:47,000 --> 00:00:55,000 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 10 00:00:55,000 --> 00:01:04,000 see that installing software on the x 15 is a little bit different than Fedora because it does not have 11 00:01:04,000 --> 00:01:07,000 a nice package manager and nice graphical interface. 12 00:01:07,000 --> 00:01:11,000 Therefore we're going to have to install software from terminal. 13 00:01:11,000 --> 00:01:13,000 Now, don't worry about this. 14 00:01:13,000 --> 00:01:14,000 I'm going to take you through it right now. 15 00:01:14,000 --> 00:01:20,000 If you've done any of my other courses, then this will be very easy and very familiar to you. 16 00:01:20,000 --> 00:01:24,000 But I still suggest you watch this lecture as you might learn a trick or two. 17 00:01:25,000 --> 00:01:29,000 Now, to do this, we're going to have to let me minimize this. 18 00:01:30,000 --> 00:01:34,000 We're going to have to go to the template that we want to install software on. 19 00:01:34,000 --> 00:01:39,000 And like I said, there is no graphical user interface that allows us to install software. 20 00:01:39,000 --> 00:01:42,000 Therefore we're going to have to do it from the terminal. 21 00:01:44,000 --> 00:01:44,000 Okay. 22 00:01:44,000 --> 00:01:46,000 Now, this will start a nice terminal for us. 23 00:01:46,000 --> 00:01:48,000 I'm just going to clear it screen. 24 00:01:48,000 --> 00:01:54,000 And the first thing that you want to do when you start this terminal is update the sources from which 25 00:01:54,000 --> 00:01:56,000 you can download packages and software. 26 00:01:57,000 --> 00:02:03,000 We need to do this with admin privileges, so to run a command with admin privileges, we have to first 27 00:02:03,000 --> 00:02:07,000 type sudo and then type the command that we want to run. 28 00:02:07,000 --> 00:02:11,000 And in my case, I want to update the sources, like I said. 29 00:02:11,000 --> 00:02:13,000 So the command will be up to get. 30 00:02:14,000 --> 00:02:15,000 Update. 31 00:02:16,000 --> 00:02:24,000 So update is the program that we use to install software on Debian based operating systems such as Linux. 32 00:02:24,000 --> 00:02:30,000 And what we want to do is literally just update the sources from which we can download software. 33 00:02:30,000 --> 00:02:32,000 We're not updating anything. 34 00:02:32,000 --> 00:02:36,000 We're literally just updating the list of packages that we can install. 35 00:02:37,000 --> 00:02:41,000 Once this is done, we can search for packages and install them. 36 00:02:42,000 --> 00:02:45,000 So let's say for example, you want to install pidgin. 37 00:02:45,000 --> 00:02:49,000 If you remember, we use pidgin before for instant messaging entails. 38 00:02:49,000 --> 00:02:52,000 So let's say you want to install this to do that. 39 00:02:52,000 --> 00:02:58,000 First of all, let's say you don't really remember the program name or you want to search because you're 40 00:02:58,000 --> 00:03:01,000 not sure what the name of the pidgin package. 41 00:03:01,000 --> 00:03:03,000 So let's say you want to search for this program. 42 00:03:03,000 --> 00:03:11,000 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 43 00:03:11,000 --> 00:03:13,000 for a package called pidgin. 44 00:03:15,000 --> 00:03:19,000 Now this will list all of the packages that has the word pigeon in them. 45 00:03:19,000 --> 00:03:22,000 So you'll see the package that you want. 46 00:03:22,000 --> 00:03:26,000 Plus a lot of other packages may be related, maybe not even related. 47 00:03:26,000 --> 00:03:31,000 So, for example, let's say you're looking for a chat program or a messaging program, you can just 48 00:03:31,000 --> 00:03:34,000 do a catch search message. 49 00:03:35,000 --> 00:03:39,000 In my example, as you can see right here, I have the name of the package that I want to install or 50 00:03:39,000 --> 00:03:41,000 the name of the program pigeon. 51 00:03:41,000 --> 00:03:46,000 And I also have the description of it, which is a graphical multi protocol instant messaging client. 52 00:03:47,000 --> 00:03:51,000 So all I need to do is basically install a package called pigeon. 53 00:03:52,000 --> 00:03:57,000 Now to do that again, we're going to do pseudo because we need to run this under admin. 54 00:03:57,000 --> 00:04:03,000 We're going to use the same program update and instead of updating the sources, we're going to say, 55 00:04:03,000 --> 00:04:06,000 I want to install a program called Pigeon. 56 00:04:07,000 --> 00:04:09,000 Very, very simple. 57 00:04:09,000 --> 00:04:10,000 We're going to hit enter. 58 00:04:11,000 --> 00:04:16,000 And because I've actually downloaded and installed this before, it's automatically downloaded and install 59 00:04:16,000 --> 00:04:18,000 it for me without asking me. 60 00:04:18,000 --> 00:04:23,000 But for you, if you're installing software or a package for the first time, it's going to ask you 61 00:04:23,000 --> 00:04:28,000 to confirm and you're just going to have to type Y and hit enter to continue the process. 62 00:04:29,000 --> 00:04:36,000 Now, once this is done, pigeon's installed now on my template virtual machine, my UNIX workstation 63 00:04:36,000 --> 00:04:36,000 15. 64 00:04:36,000 --> 00:04:41,000 Like I said, we never use the templates to run the actual software. 65 00:04:41,000 --> 00:04:44,000 We only use them if we want to update or install software. 66 00:04:44,000 --> 00:04:46,000 So this is done, this is installed. 67 00:04:46,000 --> 00:04:47,000 We're happy with it. 68 00:04:47,000 --> 00:04:52,000 I'm going to close it and I'm going to shut down my UNIX workstation. 69 00:04:54,000 --> 00:04:56,000 And wait for it to fully shut down. 70 00:04:56,000 --> 00:05:01,000 And once it is off, I'm going to go to my cubes manager again. 71 00:05:01,000 --> 00:05:05,000 I'm going to go to the machine that I want to use the program from. 72 00:05:05,000 --> 00:05:10,000 So, for example, the anon x right here, we're going to go to its settings so it can click on this 73 00:05:10,000 --> 00:05:13,000 or we can right click and go to settings. 74 00:05:14,000 --> 00:05:20,000 We're going to go to applications and as you can see, we have the pigeon instance manager available 75 00:05:20,000 --> 00:05:21,000 for us in here. 76 00:05:21,000 --> 00:05:25,000 Now you want to make sure that the machine is off when you're doing this. 77 00:05:25,000 --> 00:05:26,000 Otherwise you won't see it. 78 00:05:26,000 --> 00:05:32,000 If you don't see it, try to click on refresh applications and it should become available. 79 00:05:33,000 --> 00:05:37,000 Now, once we have it, we're going to click on it here to make it available in the dropdown menu in 80 00:05:37,000 --> 00:05:40,000 here and we're going to click on okay. 81 00:05:40,000 --> 00:05:49,000 So now I can go in here and I can go to my and on UNIX and I have pigeon instant messenger right here 82 00:05:49,000 --> 00:05:55,000 so I can click on it, wait for the virtual machine to start and it will start paging for me once the 83 00:05:55,000 --> 00:05:58,000 virtual machine is working and perfect. 84 00:05:58,000 --> 00:06:05,000 As you can see now I have pigeon working inside my an on next domain and we can use it exactly the same 85 00:06:05,000 --> 00:06:07,000 that we learned with tails. 86 00:06:07,000 --> 00:06:12,000 We click on ADD, you create your user or your login to your existing account and then you start communicating, 87 00:06:12,000 --> 00:06:14,000 sending messages and so on. 88 00:06:15,000 --> 00:06:21,000 Now in this example, obviously I literally just installed Pigeon, but you can follow the exact same 89 00:06:21,000 --> 00:06:25,000 steps if you want to install any other program or any other package. 90 00:06:27,000 --> 00:06:32,000 Now I highly recommend you get comfortable with using the terminal and installing programs through the 91 00:06:32,000 --> 00:06:33,000 terminal through APT Gate. 92 00:06:33,000 --> 00:06:40,000 But if you really want to have an easy way of installing programs, a graphical user interface, then 93 00:06:40,000 --> 00:06:47,000 you can install a program called Synaptic which basically interacts with APT Gate and allows you to 94 00:06:47,000 --> 00:06:53,000 install software through a nice graphical user interface, similar to what we did when we were installing 95 00:06:53,000 --> 00:06:56,000 programs inside the Fedora 30 virtual machine. 96 00:06:57,000 --> 00:07:03,000 Now to do this, we'll have to install synaptic, we'll have to install this graphical interface. 97 00:07:03,000 --> 00:07:11,000 So let me turn off my UNIX machine again and we're going to go back to the terminal of our template, 98 00:07:11,000 --> 00:07:16,000 which is the UNIX workstation and we're going to clear the screen. 99 00:07:16,000 --> 00:07:23,000 And this time instead of doing APT get installed pigeon, we're going to install a program called Synaptic. 100 00:07:24,000 --> 00:07:25,000 We're going to hit enter. 101 00:07:26,000 --> 00:07:28,000 It's asking me if I really want to do this. 102 00:07:28,000 --> 00:07:31,000 I'm going to say yes, please install it for me. 103 00:07:31,000 --> 00:07:37,000 And like I said, this is literally just a graphical user interface that allows us to install packages 104 00:07:37,000 --> 00:07:39,000 if you really don't want to use the terminal. 105 00:07:40,000 --> 00:07:40,000 Perfect. 106 00:07:40,000 --> 00:07:46,000 Now it's installed and usually we don't use any programs inside the template. 107 00:07:46,000 --> 00:07:47,000 Virtual machines. 108 00:07:47,000 --> 00:07:49,000 Like I said, we use them inside the domains. 109 00:07:49,000 --> 00:07:52,000 This is what we did literally with pigeon and with everything else. 110 00:07:52,000 --> 00:07:58,000 But because synaptic, the program that we installed is a program that allows us to install other packages 111 00:07:58,000 --> 00:08:04,000 and other programs, it only makes sense to use it inside the template so that all of the other virtual 112 00:08:04,000 --> 00:08:08,000 machines that are based on this template would inherit these programs. 113 00:08:08,000 --> 00:08:13,000 Therefore, we'd want to use this inside our template virtual machine. 114 00:08:13,000 --> 00:08:20,000 So back to the queue manager, we're going to select our template, which is the UNIX Workstation 15. 115 00:08:20,000 --> 00:08:22,000 We're going to go to its settings. 116 00:08:23,000 --> 00:08:24,000 Applications. 117 00:08:24,000 --> 00:08:26,000 We're going to scroll down. 118 00:08:26,000 --> 00:08:29,000 We're going to look for the package manager. 119 00:08:29,000 --> 00:08:31,000 We're going to add it here to the right. 120 00:08:31,000 --> 00:08:33,000 We're going to click on OC. 121 00:08:33,000 --> 00:08:40,000 And now if we go to the dropdown menu over in here, you'll see we have a new entry which will allow 122 00:08:40,000 --> 00:08:45,000 us to launch this graphical interface for the package manager for APT Get. 123 00:08:46,000 --> 00:08:49,000 We're going to close this warning and perfect. 124 00:08:49,000 --> 00:08:54,000 As you can see, we have a program that has a nice graphical user interface. 125 00:08:54,000 --> 00:09:00,000 You can use the search button in here to search and then if you want to install any package, you literally 126 00:09:00,000 --> 00:09:02,000 just tick it in here from the list. 127 00:09:02,000 --> 00:09:10,000 Mark for installation and mark and then click on apply to apply the changes and install the package. 128 00:09:10,000 --> 00:09:14,000 Like I said, I highly recommend getting used to using the terminal. 129 00:09:14,000 --> 00:09:19,000 It is much better and if you know how to use it, you can use it across multiple platforms. 130 00:09:19,000 --> 00:09:23,000 You're also installing less packages so there is less attack surface. 131 00:09:23,000 --> 00:09:28,000 And finally, there are people reporting issues with synaptic inside UNIX. 132 00:09:28,000 --> 00:09:30,000 They're saying it creates a lot of problems. 133 00:09:30,000 --> 00:09:34,000 So you can see whatever is due to best and just go with it. 134 00:09:34,000 --> 00:09:37,000 Now, finally, before we wrap this up, I'm going to close this. 135 00:09:37,000 --> 00:09:38,000 I'm going to quit. 136 00:09:38,000 --> 00:09:43,000 I just want to show you how you would update any virtual machine or any template. 137 00:09:44,000 --> 00:09:49,000 I've touched on it before, so you can actually start the template, whether it's a fedora or Debian 138 00:09:49,000 --> 00:09:51,000 or even if it's another operating system. 139 00:09:51,000 --> 00:09:55,000 Literally look up how that operating system gets updated and follow the steps. 140 00:09:55,000 --> 00:10:02,000 So usually for Linux you do apt get update, apt get upgrade and then apt get dist upgrade to upgrade 141 00:10:02,000 --> 00:10:04,000 for another distro if there is a new release. 142 00:10:05,000 --> 00:10:10,000 Alternatively, you can actually just do it in here from your cubes manager for example. 143 00:10:10,000 --> 00:10:16,000 Again, let's say you want to update your UNIX workstation, right click, click on update. 144 00:10:16,000 --> 00:10:19,000 This will automatically start the virtual machine if it's off. 145 00:10:19,000 --> 00:10:21,000 In my case it was already on. 146 00:10:21,000 --> 00:10:27,000 It will start the terminal, it will check the sources and once it gets a list of all the updates, 147 00:10:27,000 --> 00:10:34,000 all you have to do in here, it's asking us to confirm you hit y hit enter and it will update it for 148 00:10:34,000 --> 00:10:34,000 you.