 Welcome back everyone today. I wanted to show you how to keep your software updated using github so I'm mostly using Linux and I want to keep my software up-to-date, but Sometimes the newest version of software isn't updated in package manager very quickly or we don't get we don't get the newest versions Basically, or maybe we want to access some beta version of different software So I'm just going to show you how to use github to Basically keep your software up-to-date So here I have a sleuth kit that I want to install from github It does have a github repository. So we can just go there and I've already installed. I'm running Linux I've already installed git and git works on you know OS X Linux windows So you can do this for any operating system So if we just type git you can see that it is already installed and In linux, I'm in my opt Directory and I'm going to basically clone sleuth kit into The opt directory. So what I need to do first is get the sleuth kit code so I can go to the sleuth kit github Repository go to clone or download And then select The way that I want to clone. I'm just going to basically copy this clone with HTTPS option Um, yeah, okay. This is one of the easier ways. Okay, so I want to make sure that I'm getting clone with HTTPS instead of download zip download zip will just give me the files But I will have to re-download The files every time I want a new version and I want to use git to be able to manage these files for me So I'm going to select clone with HTTPS and select the entire url Go into opt and then do pseudo git clone and then Uh, the sleuth kit, um Repository Okay, then it asks for your password Because I'm uh, yeah, so opt So then it's receiving all of the objects, uh get uh sleuth kit is relatively big here So I'm going to let this run and come back in a second Okay, so now that's that that that's done We can see that we have the sleuth kit so I can do cd sleuth kit And then I have all the sleuth kit files here and inside the directory if I want to try to get the newest version Then we can just do git pull git pull Pseudo git pull, uh, I don't want to do pseudo so first, uh, because I'm saving it to opt I need to do one thing I need to do pseudo ch own Uh My account name with the file So what this will do is um instead of letting making me Forcing me to run everything is as pseudo or as the administrator account I'm basically owning everything with my account. Uh, and then I can actually access everything so In this case now if I do git pull Then it will go out and it will search for the newest version of the sleuth kit software So then it says already up to date. Okay, there's been no nothing pushed since the last time that I copied it So if we do let me do that again without all the stuff git pull Okay, so it's going out now and it's checking my version to the version that's on the github server nothing up to date if I do git branch Then you can see what branch I'm on right now. I'm on the development branch Which maybe I don't want to be there's probably a stable branch that I want to switch to if I do git branch Dash a this shows me all of the different ones that they have Um, so yeah, maybe maybe develop is okay So anyway, basically I can I can track any of these branches So there is a release branch for example, I could track it if I want to stay in stable Um, but really the important thing here is git pull So I can do a git pull just every so often to see if there's any new changes or even you know Before every time that I use the software, maybe I want to use git pull to make sure that I always have the freshest version um Now package managers in a buntu or debian for example apt Is really handy The issue is in the case of tools like sleuthkit is that sleuthkit is not updated very regularly and I haven't found a ppa that that basically also Keeps the latest version up to date. This is this tends to be a little bit better at least in my case Um, so yeah, git pull. It's it's very easy to do I wouldn't want to use this for all of the software that I have installed. So for example um a lot some of the libraries that sleuthkit is dependent on I install them via my package manager and then I install the newest version of sleuthkit because I'm really interested in the sleuthkit features And that could cause some problems and I might need to install some of those libraries manually later, but This way has worked well for me. So this is a way to keep your software up to date Using github. It's very handy. I recommend you doing it. Thank you very much If you like this video, please subscribe for more