Difference between revisions of "Template:Installation/Preparation/Debian"

From diaspora* project wiki
Jump to: navigation, search
m
m
Line 4: Line 4:
  
 
{{#tag:syntaxhighlight|
 
{{#tag:syntaxhighlight|
apt-get install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript git curl libmagickwand-dev {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev|mariadb=libmariadbclient-dev}} redis-server nodejs
+
apt-get install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev|mariadb=libmariadbclient-dev}} {{#ifeq: {{#var:version}}|Wheezy|
 +
apt-get install -t wheezy-backports}} redis-server nodejs
 
|lang=bash}}
 
|lang=bash}}
  

Revision as of 02:29, 2 September 2016

Install Packages

As root run:

apt-get install build-essential cmake libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript curl libmagickwand-dev git   redis-server nodejs

Install the database

Skip this step if you already have one.

See the Debian wiki.