Superset is an open-source business intelligence web application that provides powerful visualization and exploration capabilities to its users. In this tutorial, we will explain how to install Superset on Debian Latest step-by-step.
Before you begin, make sure that your system meets the following prerequisites:
First of all, update the Debian package manager with the following command:
sudo apt update
Superset requires some system packages to be installed before starting the installation process. Run the following command to install these packages:
sudo apt install build-essential libssl-dev libffi-dev python3-dev python3-pip libsasl2-dev libldap2-dev python3-venv
After completing the above steps, create a new directory for Superset with the following command:
mkdir superset && cd superset
Now, create a new python environment for Superset with the following command:
python3 -m venv superset_env
Activate the environment by typing the following command:
source superset_env/bin/activate
Next, install Superset with the following pip command:
pip3 install apache-superset
After the installation is completed, you can initialize the Superset database with the following command:
superset db upgrade
Optionally, you can initialize some demo charts and data with the following command:
superset load_examples
To create an admin user for Superset, run the following command and follow the instructions:
export FLASK_APP=superset
superset fab create-admin
Finally, you can start the Superset web application by running the following command:
superset run -h 0.0.0.0 -p 8080 --with-threads --reload --debugger
Now, you can browse the Superset web application by navigating to the server IP address or the domain name on port 8080.
Done! You have successfully installed Superset on Debian Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!