简体   繁体   English

在ubuntu上安装特定的nginx-extras软件包

[英]Installing a specific nginx-extras package on ubuntu

I am trying to install nginx-extras on Ubuntu with 我正在尝试使用以下方法在Ubuntu上安装Nginx-extras

sudo apt-get install nginx-extras

It works fine, but it installs the latest version. 它工作正常,但会安装最新版本。 I need a very specific version, but none of my attempts to provide version are working. 我需要一个非常特定的版本,但是我提供版本的尝试均无效。

You could install exact version (if it exists in your repos) with package-name=VERSION syntax. 您可以使用package-name=VERSION语法安装确切版本(如果您的存储库中存在)。

Eg: 例如:

sudo apt-get install nginx-extras=1:1.10.0-8.5.0.28~wily1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM