Skip to content

Instantly share code, notes, and snippets.

@HiCraigChen
Created September 19, 2019 04:10
Show Gist options
  • Select an option

  • Save HiCraigChen/1bb66c7dee3e1cc9d0f8092f3099753f to your computer and use it in GitHub Desktop.

Select an option

Save HiCraigChen/1bb66c7dee3e1cc9d0f8092f3099753f to your computer and use it in GitHub Desktop.
Get package files
# Install two utilities to download and extract .rpm files
yum install yum-utils rpmdevtools
# Download .rpm files
yumdownloader <package_name>
# Extract files from .rpm
rpmdev-extract *.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment