How to Install Diagrams.net on Debian Latest

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.

Prerequisites

Before you start with the installation process, ensure that:

Step 1: Update Packages

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

Step 2: Install OpenJDK

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

Step 3: Download the Diagrams.net Debian package

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:

  1. Open any web browser and go to the Diagrams.net download page: https://app.diagrams.net/
  2. Click on "Download" at the top of the page.
  3. Scroll down to the "Desktop offline" section and click on "Download for Linux".
  4. It will download the .deb file to your system. By default, it should be downloaded in your system's Downloads folder.

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.

Step 4: Install the Diagrams.net package

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.

Step 5: Launching Diagrams.net

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.

Conclusion

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!