How do I install a specific version of nginx?

How do I install a specific version of nginx?

Installing a Prebuilt CentOS/RHEL Package from an OS Repository

  1. Install the EPEL repository: $ sudo yum install epel-release.
  2. Update the repository: $ sudo yum update.
  3. Install NGINX Open Source: $ sudo yum install nginx.
  4. Verify the installation: $ sudo nginx -v nginx version: nginx/1.6.3.

How do I install a specific version of curl?

Installing curl

  1. Log into your server via SSH.
  2. Make sure you’re in your user’s home directory. [server]$ cd ~
  3. Unzip the file. [server]$ unzip curl-7.70.0.zip.
  4. Navigate into this new directory.
  5. Run the following to install:
  6. Add this line to your .bash_profile:
  7. Update your .
  8. Check the location and version of curl:

How to install specific version of Debian Linux?

How to install specific version of debian linux package CUPS? I’m trying to install specific version ( 2.2.1-8+deb9u2 ) of CUPS package in debian:stretch-slim linux. But it is giving me the following error. $apt install -y cups=2.2.1-8+deb9u2 Reading package lists… Building dependency tree… Reading state information…

How to install specific package version on Ubuntu?

This tutorial will help you to install specific version of packages using apt-get. First of all, list all available version of the package. For example to find available version of firefox run the following command. The above command shows two version’s of firefox. Now, run the below command to install firefox version 59.0.2.

How to install specific version of package using apt-get?

Install a specific version of a package can be useful to avoid the bugs when you know which version of a package is concerned and make sure to disable a specific package from updating by holding the packages so it won’t get automatically updated when you run ‘apt-get upgrade’. To handle Debian-based system packages, we use the apt-get command.

Which is the best way to install a package?

Then, with one of the two commands, you can decide to check the available version of a package with the releases versions on the official site or on the official GitHub. When you have listed the versions to choose the specific one, you can install it with the apt-get install command followed by the name and the version of the package.