Ubuntu
The steps provided below have been tested on Ubuntu 20.04 and Ubuntu 22.04.
Oneliner ~500 MB
Execute this single command to automatically install all necessary system dependencies, consuming roughly 500 MB of storage:
/bin/bash <(wget -qO- https://raw.githubusercontent.com/sound-scape-explorer/sound-scape-explorer/v12.2.0/bin/requirements-ubuntu.sh)
👣 Step-by-Step Installation
System Update & Essential Dependencies
This section ensures your system is updated and equipped with useful dependencies:
sudo apt update && \
sudo apt upgrade -y && \
sudo apt install -y gcc curl ffmpeg hdf5-tools
Python
Install Python and related components:
sudo apt update && \
sudo apt install -y software-properties-common && \
sudo add-apt-repository -y ppa:deadsnakes/ppa && \
sudo apt install -y python3.10 python3.10-distutils python3.10-dev python3-pip python3.10-venv && \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
Node.js
Install Node.js with the following command:
sudo apt update && \
sudo apt install -y ca-certificates curl gnupg && \
sudo mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list && \
sudo apt update && \
sudo apt install -y nodejs
pnpm
Install pnpm with the following command:
sudo npm -g i pnpm
🗑️ Uninstallation
To remove the installed requirements, open a terminal window and execute the following command:
sudo npm -g uninstall pnpm && \
sudo apt remove -y curl ffmpeg hdf5-tools nodejs python3.10-distutils python3.10-dev python3-pip python3.10-venv && \
sudo rm /etc/apt/sources.list.d/nodesource.list && \
sudo rm /etc/apt/keyrings/nodesource.gpg && \
sudo apt update && \
sudo apt autoremove -y
⏭️ Next Step
Upon completion, close your terminal and proceed with the installation of SSE.