From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
More apt and repositories - Linux Tutorial
From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment
More apt and repositories
- Let's discuss a little bit more about APT and the repositories you'll find in a Debian based system. We'll be working within Lab 12 if you want to follow along. And I'm going to jump over to my Debian client here. Now, we never actually accomplished that full upgrade, so I'm going to change over to the root accounts. And we'll do that now. Let's do an APT update, double ampersand, APT upgrade dash y for no confirmation. That's going to go ahead and look to the internet for any updates available and install all of them. And it was seven that need to be upgraded. And there we go. It finished. It took about a minute to do that update of the seven packages. So at this point we're done with that. But sometimes you're going to want to do some cleanup. So one of the things you might want to do is delete extra files that may have been created within the slash var directory, and we could do that with the APT Clean command. And no news is good news when it comes to Linux. So we know that the…