Skip to content
0fbcb238c0 edited this page Sep 5, 2022 · 4 revisions

A few things are required to be installed via the package manager before we continue with the installation process.

First, lets make sure we get the repository for PHP7.3 and then make sure everything is up-to-date so we get the latest packages:

sudo add-apt-repository ppa:ondrej/php

sudo apt update && sudo apt upgrade

Then install the required package(s) via the package manager:

sudo apt install ffmpeg flac fdkaac zip unzip vorbis-tools opus-tools node-gyp make inkscape php7.3 php7.3-cli php7.3-mysql php7.3-gd php7.3-imagick php7.3-recode php7.3-tidy php7.3-xmlrpc php7.3-common php7.3-curl php7.3-mbstring php7.3-xml php7.3-bcmath php7.3-bz2 php7.3-intl php7.3-json php7.3-readline php7.3-zip libapache2-mod-php7.3

Now lets install NVM:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

or

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

You might need to restart your terminal instance or run . ~/.nvm/nvm.sh. Restarting your terminal/opening a new tab/window, or running the source command will load the command and the new configuration.

We can then install a version of Node that is known to work with Craig via NVM which will also install NPM:

nvm install 14
Clone this wiki locally