How to install Dia Diagram Editor in Ubuntu 18.04 – Free Drawing Software for Linux

In this article, we will learn How to install Dia Diagram Editor in Ubuntu 18.04 – Free Drawing Software for Linux. The Dia Diagram Editor is a free and open source graphic design and editing application, which has a better open source Visio option for Linux. The Dia Editor is mainly designed for professional graphic designers and it uses less memory which is a user-friendly and lightweight app. Dia can be used to draw different types of diagrams such as Circuit diagrams, network layouts, etc. This application was used by Alexander Larsen using the C programming language and under the General Public License (GPL).

How to install Dia Diagram Editor in Ubuntu 18.04 – Free Drawing Software for Linux

How to install Dia Diagram Editor in Ubuntu 18.04 – Free Drawing Software for Linux

Follow the below steps to install Dia Diagram Editor in Ubuntu 18.04 – Free Drawing Software for Linux:

Before starting the installation of Dia Diagram Editor we have to update the Packages & Repositories of Ubuntu 18.04 using below command.

itsmarttricks@mangesh:~$ sudo apt-get update
[sudo] password for itsmarttricks:
Ign:1 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic InRelease
Err:2 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:4 http://ppa.launchpad.net/aseman/desktop-apps/ubuntu bionic InRelease
Hit:5 http://download.virtualbox.org/virtualbox/debian bionic InRelease
Hit:6 http://ppa.launchpad.net/audio-recorder/ppa/ubuntu bionic InRelease
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:8 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Get:9 http://dl.google.com/linux/chrome/deb stable Release [943 B]
Get:10 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]

After updating the Packages & Repositories now we are ready to install the Dia Diagram Editor application. For that, we don’t have to install any 3rd party PPA repository as it’s a part of default repository of Ubuntu 18.04. So let’s go ahead and install the Dia Diagram Editor package using below command.

itsmarttricks@mangesh:~$ sudo apt-get install dia
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
Need to get 9,274 kB of archives.
After this operation, 35.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 sgml-base all 1.29 [12.3 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 xml-core all 0.18 [21.3 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 python-cairo amd64 1.16.2-1 [56.4 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 python-gobject-2 amd64 2.28.6-12ubuntu3 [180 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 python-gtk2 amd64 2.24.0-5.1ubuntu2 [619 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 dia-common all 0.97.3+git20160930-8 [7,188 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 dia amd64 0.97.3+git20160930-8 [974 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 dia-shapes all 0.6.0-3 [215 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 gsfonts-x11 all 0.25 [7,264 B]

As you can see above we have successfully installed the Dia Diagram Editor package. Now to confirm the same use the below command.

itsmarttricks@mangesh:~$ sudo dpkg -l dia
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii dia 0.97.3+git20 amd64 Diagram editor

Now type the dia command at the shell prompt to open the application. See the command given below.

itsmarttricks@mangesh:~$ dia
How to install Dia Diagram Editor in Ubuntu 18.04 - Free Drawing Software for Linux

Dia Diagram Editor Drawing Software

We have opened the Dia Diagram Editor Application with the above command, You can also open the Dia Diagram Editor Application graphically using Search your Ubuntu Desktop Application box. Refer the snapshot below.

How to install Dia Diagram Editor in Ubuntu 18.04 - Free Drawing Software for Linux

Dia Diagram Editor Drawing Software

Also Read- How to install Blender 3D Graphic Design Application in Ubuntu 18.04 – The Best 3D Animation Software For Linux

How To Uninstall Dia Diagram Editor in Ubuntu 18.04?

For any reasons, if you don’t like Dia Diagram Editor Application and want to uninstall the application from your system using following commands.

itsmarttricks@mangesh:~$ sudo dpkg -r dia-shapes
(Reading database ... 193637 files and directories currently installed.)
Removing dia-shapes (0.6.0-3) ...
itsmarttricks@mangesh:~$ sudo dpkg -r dia
(Reading database ... 192660 files and directories currently installed.)
Removing dia (0.97.3+git20160930-8) ...
Processing triggers for mime-support (3.60ubuntu1) ...

That’s all, In this article, we have explained How to install Dia Diagram Editor in Ubuntu 18.04 – Free Drawing Software for Linux. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.

Mangesh Dhulap

This is Mangesh Dhulap the Founder and Editor of IT SMART TRICKS have 6+ years of Industrial Experience. We expect from our visitors to like, share, and comment on our posts.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.