Template:Installation/Preparation/Ubuntu: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install build-essential git curl imagemagick libmagickwand-dev nodejs redis-server libcurl4-openssl-dev libxml2-dev libxslt-dev {{#ifeq: {{#var:version}}|Precise||libgmp-dev }}{{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev}}{{#ifeq: {{#var:mode}}|development| libmagickwand-dev cmake|}} | sudo apt-get install build-essential git curl imagemagick libmagickwand-dev nodejs redis-server libcurl4-openssl-dev libxml2-dev libxslt-dev {{#ifeq: {{#var:version}}|Precise||libgmp-dev }}{{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev}}{{#ifeq: {{#var:mode}}|development|<nowiki/> libmagickwand-dev cmake|}} | ||
|lang=bash}} | |lang=bash}} | ||
Revision as of 03:55, 2 September 2016
Install packages
Run:
sudo apt-get update
sudo apt-get install build-essential git curl imagemagick libmagickwand-dev nodejs redis-server libcurl4-openssl-dev libxml2-dev libxslt-dev libgmp-dev
Install the database
Skip this step if you already have one.
See the Ubuntu server guide.
Removing packaged version of RVM
If you installed RVM via the package manager, we recommend to remove it. See this StackOverflow answer for some tips on how to do that and then continue with the installation instructions below.