Last active
January 4, 2019 19:10
-
-
Save mttjohnson/07f3a918f168d6c1b5c0be79a73be63d to your computer and use it in GitHub Desktop.
RPM Tips (package info and file list)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get package information -qip | |
| rpm -qip https://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm | |
| rpm -qip percona-release | |
| # List files in the package | |
| rpm -qlp https://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm | |
| rpm -qlp percona-release | |
| # Install RPM from URL | |
| yum install https://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm | |
| # Yum Repo Directory | |
| cd /etc/yum.repos.d/ | |
| ls -la /etc/yum.repos.d/ | |
| # RPM GPG Key Directory | |
| cd /etc/pki/rpm-gpg/ | |
| ls -la /etc/pki/rpm-gpg/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment