⚙️Libraries And Tools

Install Required Libraries And Tools

First, update and clean sources list:

apt-get update -yqq &&  apt-get install -y apt-utils

then install this dependencies:

apt-get update && apt-get install -y build-essential libpng-dev  locales zip jpegoptim optipng pngquant gifsicle unzip zip git curl lua-zlib-dev libmemcached-dev wget

Install NodeJS 18.X

Download script from nodejs.org:

curl -sL https://deb.nodesource.com/setup_18.x -o setup_18.sh

run script:

sh ./setup_18.sh

and install nodejs

sudo apt-get install -y nodejs

Install NPM

How to install NodeJS and NPM to Ubuntu 20 and higher:


wget https://www.npmjs.com/install.sh | sh

Make executable:

chmod +x install.sh



Install Ionic 6

Before install Ionic, you must install NPM. If NPM installed, intall Ionic:

npm i -g @ionic/cli

Install JAVA SDK

Run this commands:

apt-get update && apt-get install -y software-properties-common
apt-get update && apt-get install -y openjdk-11-jdk
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export PATH=$PATH:$JAVA_HOME/bin

Install PHP 8

Support ONLY PHP 8.1 and higher (in CGI and CLI mode). Before setup platform, you must configure your server for use PHP8 version in HTTP and console mode.

How to add PHP 8.1 to Ubuntu 20.xx:

sudo apt update
sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y

Press ENTER in process:

sudo add-apt-repository ppa:ondrej/php

Install PHP

sudo apt install php8.1

check installed version:

php -v

Install this extensions:

sudo apt install php8.1-mysql php8.1-zip php8.1-xml php8.1-dom php8.1-curl php8.1-common php-json php8.1-mbstring php-mysql php-curl php8.1-gd php8.1-xml

Attention! If the native version of PHP differs from 8.1 - Running PHP 8.1 with other versions

sudo update-alternatives --config php
Selection Path Prior State
-------------------------------------------------- ----------
   0 /usr/bin/php8.1 81 automatic mode
   1 /usr/bin/php7.2 72 manual mode
   2 /usr/bin/php7.3 73 manual mode
   3 /usr/bin/php7.4 74 manual mode
   4 /usr/bin/php8.0 80 manual mode
 * 5 /usr/bin/php8.1 81 manual mode

Last updated