Debian and Ubuntu packages for Phusion Passenger
Update: this is the original announcement for our APT repository. For the latest instructions, please visit the download page.
We are pleased to announce the availability of the official Phusion Passenger APT repository. This APT repository contains Phusion Passenger packages for multiple versions of Debian and Ubuntu. These packages are automatically built by our build server after we push out a source release, and thus are always up to date with the official source releases. Phusion Passenger Enterprise is also packaged.
The repository even includes an up-to-date version of Nginx (1.4.2 at the time of writing), compiled with Phusion Passenger support. Even if you do not use Phusion Passenger, this repository is an excellent way to get the latest version of Nginx. This Nginx package works even if Phusion Passenger is not installed. We will regularly update the Nginx package so that it stays up-to-date with upstream Nginx releases.
Distributions and architectures
Packages are built for x86 and x86_64. Currently supported distributions are:
- Ubuntu 10.04 “Lucid”
- Ubuntu 12.04 “Precise”
- Ubuntu 13.04 “Raring”
- Debian 6 “Squeeze”
- Debian 7 “Wheezy”
Our policy is to support all Ubuntu LTS releases that are still supported by Canonical, plus the latest non-LTS Ubuntu release, plus all Debian releases that are still supported by Debian.
Adding our APT repository
Packages are signed by “Phusion Automated Software Signing (auto-software-signing@phusion.nl)”, fingerprint 1637 8A33 A6EF 1676 2922 526E 561F 9B9C AC40 B2F7. Install our PGP key:
gpg --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CAC40B2F7
gpg --armor --export 561F9B9CAC40B2F7 | sudo apt-key add -
Our APT repository is stored on an HTTPS server so you may need to add HTTPS support for APT:
sudo apt-get install apt-transport-https
Next, create a file /etc/apt/sources.list.d/passenger.list and insert one of the following lines, depending on your distribution.
Phusion Passenger open source:
deb https://oss-binaries.phusionpassenger.com/apt/passenger lucid main
deb https://oss-binaries.phusionpassenger.com/apt/passenger precise main
deb https://oss-binaries.phusionpassenger.com/apt/passenger raring main
deb https://oss-binaries.phusionpassenger.com/apt/passenger squeeze main
deb https://oss-binaries.phusionpassenger.com/apt/passenger wheezy main
Phusion Passenger Enterprise:
deb https://download:YOUR_DOWNLOAD_TOKEN@www.phusionpassenger.com/enterprise_apt lucid main
deb https://download:YOUR_DOWNLOAD_TOKEN@www.phusionpassenger.com/enterprise_apt precise main
deb https://download:YOUR_DOWNLOAD_TOKEN@www.phusionpassenger.com/enterprise_apt raring main
deb https://download:YOUR_DOWNLOAD_TOKEN@www.phusionpassenger.com/enterprise_apt squeeze main
deb https://download:YOUR_DOWNLOAD_TOKEN@www.phusionpassenger.com/enterprise_apt wheezy main
You can find the correct value for ‘YOUR_DOWNLOAD_TOKEN’ in the Customer Area.
After creating /etc/apt/sources.list.d/passenger.list, run:
sudo chown root: /etc/apt/sources.list.d/passenger.list
sudo chmod 600 /etc/apt/sources.list.d/passenger.list
sudo apt-get update
Installing packages
Open source
To install Phusion Passenger for Nginx:
sudo apt-get install nginx-full passenger
Then edit /etc/nginx/nginx.conf, and uncomment passenger_root
and passenger_ruby
. Finally, run sudo service nginx restart
.
To install Phusion Passenger for Apache:
sudo apt-get install libapache2-mod-passenger
To install Phusion Passenger Standalone:
sudo apt-get install passenger
Enterprise
Before installing packages, download your license key from the Customer Area and save it as /etc/passenger-enterprise-license.
To install Phusion Passenger for Nginx:
sudo apt-get install nginx-full passenger-enterprise
Then edit /etc/nginx/nginx.conf, and uncomment passenger_root
and passenger_ruby
. Finally, run sudo service nginx restart
.
To install Phusion Passenger for Apache:
sudo apt-get install libapache2-mod-passenger-enterprise
To install Phusion Passenger Standalone:
sudo apt-get install passenger-enterprise
Credits
Special thanks go to John Leach from Brightbox for helping us. John has been maintaining third-party Ubuntu packages for Phusion Passenger for years. It is with his help and knowledge of Debian packaging that we were able to setup this official APT repository. oss-binaries.phusionpassenger.com is hosted on a server by Brightbox.
If you would like to stay up to date with Phusion news, please fill in your name and email address below and sign up for our newsletter. We won’t spam you, we promise.