Template:Installation/Preparation/Debian: Difference between revisions

From diaspora* project wiki
(→‎Install Packages: add cmake as dev dependency (from ubuntu deps))
(→‎Install Packages: add libidn11-dev as dependency for develop branch)
Line 4: Line 4:


{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
apt-get install build-essential 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:mode}}|development|<nowiki/> cmake|}}{{#ifeq: {{#var:version}}|Wheezy|<nowiki/>
apt-get install build-essential libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev{{#ifeq: {{#var:mode}}|development|<nowiki/> libidn11-dev|}} imagemagick ghostscript curl libmagickwand-dev git {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev|mariadb=libmariadbclient-dev}}{{#ifeq: {{#var:mode}}|development|<nowiki/> cmake|}}{{#ifeq: {{#var:version}}|Wheezy|<nowiki/>
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 22:47, 16 April 2018

Install Packages

As root run:

apt-get install build-essential 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.