{"id":1582,"date":"2021-12-16T12:24:00","date_gmt":"2021-12-16T09:24:00","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/04\/25\/how-to-install-jetbrains-datagrip-on-linux\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/04\/25\/how-to-install-jetbrains-datagrip-on-linux\/"},"modified":"2021-12-16T12:24:00","modified_gmt":"2021-12-16T09:24:00","slug":"how-to-install-jetbrains-datagrip-on-linux","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1582-how-to-install-jetbrains-datagrip-on-linux\/","title":{"rendered":"How to install JetBrains DataGrip on Linux"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>JetBrains DataGrip is an IntelliJ-based IDE (integrated development environment) for databases. It supports everything from MySQL, PostgreSQL, Microsoft SQL Server, Microsoft Azure, Oracle, Amazon Redshift, Sybase, DB2, SQLite, HyperSQL, Apache Derby, and H2.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-400895 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-jetbrains-datagrip-on-linux.png\" alt=\"JetBrains DataGrip on Linux\" width=\"1200\" height=\"847\"\/><\/p>\n<p>The app is cross-platform and works on Mac OS, Windows, and Linux. In this guide, we\u2019ll show you how to get JetBrains DataGrip up and running on Linux. For more information on DataGrip, click here.<\/p>\n<h2>Snap package instructions<\/h2>\n<p>JetBrains DataGrip is available for all Linux users via the Snap package store. This version of the app is one of the best, as the Snap doesn\u2019t need to be configured and installed via a TarXZ archive like the DataGrip generic Linux installer provided on the JetBrains website.<\/p>\n<p>To start the installation process, you will need to be on a Linux operating system that supports Snapd, the Snap package runtime system. Thankfully, most modern Linux operating systems have support for Snapd.<\/p>\n<p>You can enable the Snapd runtime on your Linux PC by installing the \u201csnapd\u201d package and enabling the \u201csnapd.socket\u201d file with Systemd. If you cannot figure out how to turn on the Snap runtime, please read our in-depth guide on the subject.<\/p>\n<p>Once you\u2019ve gotten the runtime up and running on your Linux PC, enter the following\u00a0<strong>snap install\u00a0<\/strong>command below to get the latest release of JetBrains DataGrip installed on your Linux PC.<\/p>\n<pre>\nsudo snap install datagrip --classic\n<\/pre>\n<p>Keep in mind that the Snap release of JetBrains DataGrip only works on versions of Linux that support Snap \u201cClassic Confinement.\u201d If your Snapd doesn\u2019t work with \u201cClassic,\u201d follow the Flatpak instructions instead.<\/p>\n<h2>Flatpak instructions<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-400895 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-jetbrains-datagrip-on-linux.png\" alt=\"\" width=\"1200\" height=\"847\"\/><\/p>\n<p>The JetBrains DataGrip application, in addition to being available in the Snap Store, is also available as a Flatpak in the Flathub app store. To get started installing DataGrip, you\u2019ll need to enable the Flatpak runtime.<\/p>\n<p>Enabling the Flatpak runtime on Linux is very easy. To do it, you must install the \u201cflatpak\u201d package on your computer through your package manager. If you\u2019re having issues setting up the Flatpak runtime on your computer, please follow our in-depth guide on the subject.<\/p>\n<p>Once you\u2019ve gotten the Flatpak runtime configured on your system, you\u2019ll need to enable the Flathub app store as a source in Flatpak. Without Flathub, the JetBrains DataGrip application doesn\u2019t install.<\/p>\n<p>To enable the Flathub app store in Flatpak, use the following\u00a0<strong>flatpak add-remote\u00a0<\/strong>command below.\u00a0<\/p>\n<pre>\nflatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo\n<\/pre>\n<p>After enabling the Flathub runtime, the JetBrains DataGrip application can be installed on your Linux PC. Using the\u00a0<strong>flatpak install\u00a0<\/strong>command below, get DataGrip working.<\/p>\n<pre>\nsudo flatpak install flatpak install flathub com.jetbrains.DataGrip\n<\/pre>\n<h2>Arch Linux AUR instructions\u00a0<\/h2>\n<p>JetBrains DataGrip, like all JetBrains applications, has an unofficial Arch Linux AUR package available. These packages are never officially supported by the developer, but the installation files themselves pull directly from the website, automating the generic Linux installer.<\/p>\n<p>To start the installation, you must install the \u201cGit\u201d and \u201cBase-devel\u201d packages. These packages are required to interact with the AUR. You will not be able to install DataGrip without it.<\/p>\n<pre>\nsudo pacman -S git base-devel\n<\/pre>\n<p>Following the installation of the two packages, use the\u00a0<strong>git clone\u00a0<\/strong>command to download the Trizen AUR helper. This program will make installing DataGrip much more straightforward, rather than needing to do everything by hand.<\/p>\n<pre>\ngit clone https:\/\/aur.archlinux.org\/trizen.git\n<\/pre>\n<p>With the Trizen AUR package cloned to your Arch Linux PC, use the\u00a0<strong>makepkg\u00a0<\/strong>command below to install the program onto your system.\u00a0<\/p>\n<pre>\ncd trizen\nmakepkg -sri\n<\/pre>\n<p>Finally, install the JetBrains DataGrip program from the AUR as a native Arch Linux package. Keep in mind; this installation could take a few minutes as external packages need to download.<\/p>\n<pre>\ntrizen -S datagrip\n<\/pre>\n<h2>Generic Linux instructions<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-400896 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-jetbrains-datagrip-on-linux-1.png\" alt=\"\" width=\"1200\" height=\"971\"\/><\/p>\n<p>If you prefer the generic Linux version of JetBrains DataGrip, here\u2019s how to get it working. First, head over to the DataGrip page on the JetBrains website. From there, click on the blue \u201cDownload\u201d button to download the latest TarGZ archive file.\u00a0<\/p>\n<p>When the download process is complete, use the\u00a0<strong>CD\u00a0<\/strong>command to move into the \u201cDownloads\u201d directory. After that, decompress the DataGrip TarGZ file using the <strong>tar\u00a0<\/strong>command.<\/p>\n<pre>\ncd ~\/Downloads\n<\/pre>\n<pre>\ntar xvf datagrip-*.tar.gz\n<\/pre>\n<p>Once the archive file is decompressed, use the\u00a0<strong>CD\u00a0<\/strong>command to move into the \u201cDataGrip-*\/\u201d folder. Then,\u00a0<strong>CD\u00a0<\/strong>once again into the \u201cbin\u201d folder, where the \u201cdatagrip.sh\u201d file is.<\/p>\n<pre>\ncd DataGrip-*\/\n<\/pre>\n<pre>\ncd bin\/\n<\/pre>\n<p>Execute the \u201cdatagrip.sh\u201d script file as a program by using the\u00a0<strong>sh\u00a0<\/strong>command. Be sure not to use the sudo command\u00a0unless you know what you are doing with DataGrip.<\/p>\n<pre>\nsh datagrip.sh\n<\/pre>\n<p>After executing the \u201cdatagrip.sh\u201d file, JetBrains DataGrip is installed and ready to use. Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles JetBrains DataGrip is an IntelliJ-based IDE (integrated development environment) for databases. It supports everything from MySQL, PostgreSQL, Microsoft SQL Server, Microsoft Azure, Oracle, Amazon Redshift, Sybase, DB2, SQLite, HyperSQL, Apache Derby, and H2. The app is cross-platform and works on Mac OS, Windows, and Linux. In this guide, we\u2019ll show you how to &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1583,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1582"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1582"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1582\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1583"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}