Skip to content

Instantly share code, notes, and snippets.

@alochym01
Created October 21, 2019 09:19
Show Gist options
  • Save alochym01/431f6957b42c3d37fb6c3693e17eb0cb to your computer and use it in GitHub Desktop.
Save alochym01/431f6957b42c3d37fb6c3693e17eb0cb to your computer and use it in GitHub Desktop.
yum install with specified version
  • First, you should take a look at what packages are available

    yum --showduplicates list nginx

  • Looking at that repo, it appears that nginx 1.6.3-1 is the version you want.

  • You can install the specific version by appending it to the package name with a dash:

    yum install nginx-1.6.3-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment