Skip to content

Instantly share code, notes, and snippets.

@mttjohnson
Last active January 4, 2019 19:10
Show Gist options
  • Save mttjohnson/07f3a918f168d6c1b5c0be79a73be63d to your computer and use it in GitHub Desktop.
Save mttjohnson/07f3a918f168d6c1b5c0be79a73be63d to your computer and use it in GitHub Desktop.
RPM Tips (package info and file list)
# 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