I have installed Nginx using the following repo:
deb http://nginx.org/packages/mainline/ubuntu bionic nginx
I now need to install Phusion Passenger which is telling me that unless I have installed from the official Ubuntu repo I will need to recompile the Passenger module etc.
I have tried to find where IF ANY is the Ubuntu ‘official’ repo for Nginx, and not succeeded.
How can I find the ‘official’ Ubuntu 18.04 Nginx repo?
2
Answers
The bionic repo should be
After which you should put your categories (like
main
multiverse
..)Web url here: http://archive.ubuntu.com/ubuntu/dists/bionic/
You probably want
nginx-full
from universehttps://packages.ubuntu.com/bionic/nginx-full
This random forum post from ubuntuforums has a good post on what the full contents of your sources.lst should be and a sources generator: https://ubuntuforums.org/showthread.php?t=2398031#post13789955
As a complement to the accepted answer:
Whenever you’re told to install from the "official Ubuntu repositories", this usually simply means installing using
apt
:Which, unless you added extra repositories by editing
/etc/apt/sources.list
or adding files to/etc/apt/sources.list.d/
, will grab the packages from the default repositories of your Ubuntu release.If you want to check which repository
apt
will pick when installing a package, usepolicy
:In a default Ubuntu 18.04 system this will output something like this: