Template:Installation/Preparation/Debian: Difference between revisions

From diaspora* project wiki
mNo edit summary
mNo edit summary
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 curl libmagickwand-dev git {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev|mariadb=libmariadbclient-dev}}{{#ifeq: {{#var:version}}|Jessie| 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|<nowiki/>
{{#ifeq: {{#var:version}}|Wheezy|apt-get install -t wheezy-backports redis-server nodejs|}}
apt-get install -t wheezy-backports}} redis-server nodejs
|lang=bash}}
|lang=bash}}



Revision as of 03:21, 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.