How To Install inkscape on Ubuntu 22.04

In this tutorial we learn how to install inkscape on Ubuntu 22.04. inkscape is vector-based drawing program

Introduction

In this tutorial we learn how to install inkscape on Ubuntu 22.04.

What is inkscape

inkscape is:

Inkscape is an illustration editor which has everything needed to create professional-quality computer art. You can use it to make diagrams and illustrations, technical drawings, web graphics, clip art, icons and logos. A collection of hands-on tutorials show you how to combine lines, shapes and text of different types and styles to build up a picture.

A selection of powerful vector graphics editing tools comes as standard. There is excellent support for paths, gradients, layers, alpha transparency and text flow control. An extensive library of filters allow you to apply realistic effects and extensions allow you to work with bitmaps, barcodes and printing marks, amongst other things.

Most of the common vector formats are supported, including PDF, Adobe Illustrator and AutoCAD files, and it has unrivalled support for the SVG web graphics standard.

Between the suggested packages:

  • dia: to export Dia shapes;
  • libsvg-perl: to import .txt files (txt2svg extension);
  • python3-uniconvertor: enables several import/export extensions;
  • pstoedit: to work with eps files;
  • ruby: there are several extensions written in ruby;

There are three methods to install inkscape on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install inkscape Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install inkscape using apt-get by running the following command:

sudo apt-get -y install inkscape

Install inkscape Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install inkscape using apt by running the following command:

sudo apt -y install inkscape

Install inkscape Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install inkscape using aptitude by running the following command:

sudo aptitude -y install inkscape

How To Uninstall inkscape on Ubuntu 22.04

To uninstall only the inkscape package we can use the following command:

sudo apt-get remove inkscape

Uninstall inkscape And Its Dependencies

To uninstall inkscape and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove inkscape

Remove inkscape Configurations and Data

To remove inkscape configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge inkscape

Remove inkscape configuration, data, and all of its dependencies

We can use the following command to remove inkscape configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge inkscape

References

Summary

In this tutorial we learn how to install inkscape package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.