From the course: Linux: Package Management for CentOS
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Validate package integrity - Linux Tutorial
From the course: Linux: Package Management for CentOS
Validate package integrity
- [Instructor] A package may be checked for integrity and credibility after it has been copied to our local disk. We can check the MD5 checksum to verify the integrity of the package. We can use the GPG public key signature to ensure the credibility of the package creator. This will ensure that we are using an uncorrupted and authentic package. The CD /tmp/packages directory that we created in a previous video. Type in CD /tmp/packages/ and hit enter. Now type in ls. Inside this directory we should still have software packages, tuned D, wget, xz and xz-libs. Now let's check the MD5 checksum of the wget package. Type in rpm -K --nosignature wget, and then hit the tab key to complete your line. The okay in the output confirms our package is free from corruption. Now let's take a look at the GPG key signature. Checking the GPG key signature ensures the credibility of the package. Type in rpm -K wget and hit tab to complete the line. You can see that we have PGP, space MD5, space OK. This…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
RPM overview1m 3s
-
Query installed packages with RPM7m 14s
-
(Locked)
RPM query formatting6m 5s
-
(Locked)
Install/remove packages3m 21s
-
(Locked)
Upgrade packages6m 29s
-
(Locked)
Reinstall packages2m 17s
-
(Locked)
Verify package attributes2m 54s
-
(Locked)
Validate package integrity4m 55s
-
(Locked)
Troubleshoot RPM3m 20s
-
(Locked)
-
-
-