Diagrams.net (previously draw.io) is a free and open-source web-based software used for creating diagrams, charts, and flowcharts. In this tutorial, you will learn how to install Diagrams.net on Debian.
Before you start with the installation process, ensure that:
Before installing any software, it is recommended to update and upgrade the existing packages on your system. You can do so by running the following command in your terminal:
sudo apt-get update
Diagrams.net requires Java to run. You can install OpenJDK, which is a free and open-source implementation of the Java Development Kit, by running the below command:
sudo apt-get install default-jre
Next, you need to download the Diagrams.net Debian package from the official website of the Diagrams.net. You can do it by following the below steps:
Alternatively, you can download the file using the following command in your terminal:
wget https://github.com/jgraph/drawio-desktop/releases/download/v14.9.10/draw.io-amd64-14.9.10.deb
Note: You should replace the version number with the latest available version.
After downloading the package, navigate to the Downloads folder using the below command:
cd ~/Downloads/
Now, install the Diagrams.net package by executing the following command:
sudo apt install ./*.deb
It will install all the dependencies and required packages as well.
Once the installation is complete, you can launch Diagrams.net from the terminal by running the below command:
draw.io
Alternatively, you can search for "Draw.io" from the Applications menu and click on it to launch it.
In this tutorial, you learned how to install Diagrams.net (Draw.io) on Debian Latest. You should now be able to run Diagrams.net on your system and create various diagrams, charts, and flowcharts easily.
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!