How to install and configure DataGrip on Ubuntu 22.04 LTS

DataGrip is an environment to manage the databases by modifying the data of the databases to handle the queries. DataGrip supports all database management systems including MySQL, PostgreSQL, MongoDB and other databases and in this guide, we will explore different methods of the DataGrip’s installation on Ubuntu 22.04.

How to install the dependency package of DataGrip on Ubuntu

The package of DataGrip cannot be run without installing Java on Ubuntu, so make sure the package of Java is installed on your operating system. If it is installed, then skip this section and proceed to the next section else use the mentioned-below command to install Java:

$ sudo apt install default-jdk -y

Method 1: How to install DataGrip on Ubuntu 22.04 using snapcraft

We know that snapcraft is a platform for having Linux snaps, from where we can download and install the snaps of different Linux applications using the snapd utility. We will use the below-mentioned command to download and install DataGrip from Snapcraft:

$ sudo snap install datagrip --classic

To remove the package of DataGrip from Ubuntu using the snapd utility, we will use the command:

$ sudo snap remove datagrip

Method 2: How to install DataGrip on Ubuntu 22.04 using JetBrains

We will first download the JetBrains toolbox by using the wget command:

$ wget -c

Confirm the download by listing down the contents of the directory:

$ ls

Unzip the zipped file of DataGrip by using the tar command and move it to “/opt” directory:

$ sudo tar -xvzf jetbrains-toolbox-1.24.11947.tar.gz -C /opt

Now run the jetbrains-toolbox using the command:

$ /opt/jetbrains-toolbox-1.24.11947/jetbrains-toolbox

A GUI will be opened, click on the DataGrip and install it:

The downloading bar will appear:

How to configure DataGrip on Ubuntu 22.04

To configure DataGrip, first we have to launch the application, which we can do by going into the application’s search bar, typing “datagrip”, and clicking on the icon to launch it:

A screen will appear asking for the permission to share data, it’s up to you either you can allow it or decline it:

It will ask for the account credentials, provide it, and you will come to the home screen of DataGrip. Here click on the “Customization” option from left side and set the color theme:

To add more Plugins, click on the “Plugins” and install the plugins you needed:

DataGrip is ready to be used:


DataGrip is an IDE for managing the databases; it is developed by JetBrains and supported by all the database management systems and in this write-up, we have explored different installation methods of DataGrip on Ubuntu by using the terminal.