Commit e605b24b authored by Lasse Karstensen's avatar Lasse Karstensen

Improve package instructions.

parent c1ecf9e5
...@@ -9,13 +9,15 @@ The versions there might be out of date, but they provide a simple and elegant ...@@ -9,13 +9,15 @@ The versions there might be out of date, but they provide a simple and elegant
way of getting started with Varnish Cache. way of getting started with Varnish Cache.
:: ::
apt update
apt install varnish $ sudo apt-get update
$ sudo apt-get install varnish
Official packages of 5.0 Official packages of 5.0
------------------------ ------------------------
Starting from Varnish Cache 5.0, we've simplified our packaging down to two, Starting from Varnish Cache 5.0, we've simplified our packaging down to two:
the main package and a development package. the main package and a development package.
In due time, we may add these to some repository software. Currently In due time, we may add these to some repository software. Currently
...@@ -24,25 +26,21 @@ they're available on: ...@@ -24,25 +26,21 @@ they're available on:
https://repo.varnish-cache.org/pkg/ https://repo.varnish-cache.org/pkg/
Packages from repo.varnish-cache.org (<5.0) Packages from repo.varnish-cache.org (<5.0)
------------------------------------ -------------------------------------------
To use the varnish-cache.org repository and install Varnish on To use the varnish-cache.org repository and install Varnish on
Debian jessie do the following as root:: Debian jessie do the following as root::
apt-get install apt-transport-https $ sudo apt-get install apt-transport-https
curl https://repo.varnish-cache.org/GPG-key.txt | apt-key add - $ curl https://repo.varnish-cache.org/GPG-key.txt | sudo apt-key add -
echo "deb https://repo.varnish-cache.org/debian/ jessie varnish-4.1"\ $ echo "deb https://repo.varnish-cache.org/debian/ jessie varnish-4.1" \
>> /etc/apt/sources.list.d/varnish-cache.list | sudo tee -a /etc/apt/sources.list.d/varnish-cache.list
apt-get update $ sudo apt-get update
apt-get install varnish $ sudo apt-get install varnish
There are Ubuntu builds available under /ubuntu/. There are Ubuntu builds available under ``/ubuntu/``.
Some earlier/legacy builds are also available under the "varnish-3.0" and Some earlier/legacy builds are also available under the "varnish-3.0" and
"varnish-4.0" components. "varnish-4.0" components.
List of supported platforms varies.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment