Inkscape is a fantastic vector graphics editor that is free and open-source. It is primarily used to create Scalable Vector Graphics, but it can also import and export other formats. Inkscape is great for anyone who wants to get creative with their artwork, as it has many features that bring any design to life. These features include scalability and the ability to import/export so the artwork can be used in any vector graphics program. Inkscape can also render primitive vector shapes and text, making it even more versatile. Thanks to its wide range of capabilities, Inkscape is a potent tool for anyone looking to create unique vector graphics.
In the following tutorial, you will learn how to install Inkscape on Linux Mint 21 LTS release series using two installation methods of APT or Flatpak to install the graphics editor using the command terminal.
Table of Contents
Update Linux Mint
The first step is ensuring your system is up-to-date to avoid issues during the installation and for good practice. This is done by opening your terminal and using the following command.
sudo apt update && sudo apt upgrade -y
Install Inkscape – APT Method
Default APT Repository
By default, Inkscape is available on the default repository on your Linux Mint desktop. This version is for users who are happy with the stable version for minor use and do not require the latest advancements or constant updates.
In your terminal, use the following command to begin the installation.
sudo apt install inkscape -y
Alternatively, you may want to install the latest upstream stable or development version straight from the Inkscape PPA maintained by the “Inkscape Developers” team.
First, make sure the following dependencies are installed.
sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https -y
Next, import the GPG key needed for all the repositories.
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/inkscape.gpg --keyserver keyserver.ubuntu.com --recv-keys 22C4850146603F3DB0ED00479DA4BD18B9A06DE3
If you have issues importing the GPG key from LaunchPAD, please see the end section on GPG troubleshooting at the end of the article.
gpg: keybox '/usr/share/keyrings/inkscape.gpg' created gpg: key 9DA4BD18B9A06DE3: public key "Launchpad PPA for Inkscape Developers" imported gpg: Total number processed: 1 gpg: imported: 1
For users who want to install the stable version, use the following command to import the PPA.
echo 'deb [signed-by=/usr/share/keyrings/inkscape.gpg] https://ppa.launchpadcontent.net/inkscape.dev/stable/ubuntu jammy main' | sudo tee -a /etc/apt/sources.list.d/inkscape.list
Optionally, import the daily version, often updated daily for those wanting the bleeding-edge release version.
echo 'deb [signed-by=/usr/share/keyrings/inkscape.gpg] https://ppa.launchpadcontent.net/inkscape.dev/trunk/ubuntu jammy main' | sudo tee -a /etc/apt/sources.list.d/inkscape.list
Only import one PPA; if you import both, then the highest version, the development version, will be automatically selected.
Next, run an APT update to reflect the new changes.
sudo apt-get update
Next, install Inkscape using the following command.
sudo apt install inkscape -y
Install Inkscape – Flatpak Method
The second option is to use the Flatpak package manager; this should be installed by default on your Linux Mint desktop.
First, re-install the Flatpak manager; this can be skipped if you already have it installed.
sudo apt install flatpak -y
For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues, such as paths not being generated for icons.
SKIP THE REBOOT IF FLATPAK IS INSTALLED.
Next, you need to enable Flatpack using the following command in your terminal:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now install the software using the following flatpak command.
flatpak install flathub org.inkscape.Inkscape
How to Launch Inkscape
Now that you have the application installed, launching can be done in a few ways.
In your terminal type:
Alternatively, Flatpak users will need to launch using the command below from a terminal instance:
flatpak run org.inkscape.Inkscape
However, this isn’t practical for desktop users, and you would use the following path on your desktop.
Taskbar > Graphics > Inkscape.
The first time you open Inkscape, you will see a quick setup window where you can customize, such as going from light to dark mode, before you begin using the software.
Once you have set up Inkscape, create a new document; on the left-hand side, popular templates exist.
Now you will arrive at the editing screen to begin.
How to Update/Upgrade Inkscape
Depending on the method of installation used, the following commands can be used to update.
APT Update Method
sudo apt upgrade && sudo apt upgrade
Flatpak Update Method
How to Remove (Uninstall) Inkscape
Use one of the following commands to suit the original installation method for users who no longer require the application.
APT Remove Method
sudo apt autoremove inkscape -y
For users that installed Inkscape using one of the PPA’s, use the following command to remove.
sudo rm /etc/apt/sources.list.d/inkscape.list
Flatpak Remove Method
flatpak uninstall --delete-data org.inkscape.Inkscape
Next, run the following command for any leftover clean-up.
flatpak remove --unused
How to Fix Broken LaunchPAD GPG Import
Users that have installed Linux Mint for the first time or have not imported a GPG key before using the command line terminal will often have issues importing GPG keys from LaunchPAD PPAs due to the directories not being created. This is an easy fix. Use the following command that will, in turn, generate the directories.
sudo gpg --list-keys
As above, the necessary directories have been created. This can be skipped, and use the following GPG import command below. If you have any issues with directories missing for this and any other PPA GPG key in the future, just run the above command.
Comments and Conclusion
Inkscape is a powerful vector graphics editor that anyone can use, regardless of their experience level. It has many features that will help make any design come alive and can be used in various formats. If you’re looking for an easy-to-use vector graphics editor with all the bells and whistles, Inkscape is the perfect tool for you!