JetBrains – Linux Hint https://linuxhint.com Exploring and Master Linux Ecosystem Sun, 31 Jan 2021 18:39:41 +0000 en-US hourly 1 https://wordpress.org/?v=5.6.2 How to Install JetBrains IntelliJ in Debian https://linuxhint.com/install-jetbrains-intellij-debian/ Sat, 30 Jan 2021 17:35:09 +0000 https://linuxhint.com/?p=88288 JetBrains IntelliJ IDEA is a popular environment for application development. IntelliJ IDEA was developed by JetBrains. JetBrains IntelliJ IDEA contains several built-in tools, including auto code completion, database integration, terminal, inline debugger, and more. The core packages of IntelliJ IDEA support the Groovy, Java, XML, and Kotlin languages. You can also install various plugins to support other programming languages, such as Perl, Python, and Go.

This article provides a guide for installing JetBrains IntelliJ IDE on your Debian 10 system.

Prerequisites

To install JetBrains IntelliJ IDE on your Debian 10 system, you will need privileged access to run the sudo command or log in as a root user.

Installing IntelliJ IDE in Debian 10

IntelliJ IDEA can be installed in Debian 10 using either of the following two methods:

  • Install IntelliJ IDEA Using Snap
  • Install IntelliJ IDEA Using the Official Package

Install IntelliJ IDEA Using Snap

Using this method, you can install IntelliJ IDEA through the snap package manager on your system. If it is not already installed on your system, issue the following command to install snapd:

$ sudo apt update && sudo apt install -y snapd

Start the snapd Service

Enter the following command to start the snapd service on your system:

$ systemctl start snapd.service
$ systemctl status snapd.service

Use the following command to install the IntelliJ IDEA community edition through the snap.

$ sudo snap install intellij-idea-community --classic

Depending upon your Internet speed, the installation will take some time to complete.

Launch IntelliJ IDEA

You can launch the IntelliJ IDEA application via the application search bar. Click the Activities section present in the top-left corner of your Debian 10 system, and type ‘IntelliJ IDEA’ in the search bar. The IntelliJ IDEA icon will appear in the search result. Click the icon to launch this program.

Select the checkbox to accept the terms of the User Agreement and click Continue to proceed.

In the setup wizard, you will decide whether to enable the data sharing policy with anonymous users.

In the next step, you will see that IntelliJ IDEA has been launched on your system.

Some plugins are enabled by default. Here, you can disable the unnecessary tools or plugins, according to your needs and requirements.

Remove IntelliJ IDEA

To uninstall the IntelliJ IDEA from your Debian system using the snap package manager, issue the following command:

$ sudo snap remove intellij-idea-community

Install IntelliJ IDEA Using the Official Package

You can download IntelliJ IDEA from its official package repository using the wget command. Issue the following command to download the latest release of IntelliJ IDEA:

$ wget <a href="https://download-cf.jetbrains.com/idea/ideaIC-2020.1.tar.gz">https://download-cf.jetbrains.com/idea/ideaIC-2020.1.tar.gz</a>

The downloaded file will save in the compressed .tar format. To extract the .tar file, issue the following command:

$ tar -zxvf ideaIC-*.tar.gz

Now, create a new directory and add some permissions to it. Navigate to the directory, and run the following command:

$ sh idea.sh

After entering the above command, you will see the following welcome screen appear:

Conclusion

This article showed you how to install IntelliJ IDEA installation on your Debian 10 system. We showed you how to install this application using two different methods, including the snap package and the official package. Please give us your opinion in case of any problems.

]]>
Install JetBrains IntelliJ IDEA Java IDE on Ubuntu https://linuxhint.com/install_jetbrains_intellij_ubuntu/ Mon, 07 Jan 2019 02:34:54 +0000 https://linuxhint.com/?p=35033 IntelliJ IDEA is a very powerful Java IDE from JetBrains. You can develop Java apps, Java Swing GUI apps, Android apps and many more with IntelliJ IDEA. It has intelligent auto completion feature that will help you code efficiently in Java. It is a one stop solution to all your Java related tasks. In this article, I will show you how to install JetBrains IntelliJ IDEA on Ubuntu. So, let’s get started.

Downloading IntelliJ IDEA:

IntelliJ IDEA is not available in the official package repository of Ubuntu. But we can easily download IntelliJ IDEA from the official website of JetBrains and install it on Ubuntu.

First, visit the official website of Jetbrains at https://www.jetbrains.com. Once the page loads, go to Tools > IntelliJ IDEA as marked in the screenshot below.

Now, click on Download.

Now, make sure Linux is selected and click on the Download button as marked in the screenshot below.

NOTE: IntelliJ IDEA has 2 versions, Ultimate and Community. The Community version is free to use, but the Ultimate versions is not. You must buy a license from JetBrains if you want to use the Ultimate version fo IntelliJ IDEA. In this article, I will go with the Community version.

Now, select Save File and click on OK.

Your browser should start downloading the IntelliJ IDEA archive file. It may take a while to complete.

Installing and Configuring IntelliJ IDEA:

First, navigate to the directory where you downloaded IntelliJ IDEA with the following command:

$ cd ~/Downloads

As you can see, the file I just downloaded is here.

Now, run the following command to install IntelliJ IDEA to the /opt directory.

$ sudo tar xzf ideaIC-2018.3.2.tar.gz -C /opt

NOTE: If you want to install IntelliJ IDEA somewhere else, replace /opt with the directory path where you want to install it.

Once IntelliJ IDEA archive is extracted, you should see a new directory in the /opt directory as you can see in the screenshot below. Take a note of the directory name. You will need it to run IntelliJ IDEA for the first time.

Now, run IntelliJ IDEA as follows:

$ /opt/idea-IC-183.4886.37/bin/idea.sh

As you’re running IntelliJ IDEA for the first time, you will have to configure IntelliJ IDEA.

Here, select Do not import settings and click on OK.

Now, check the I confirm that I have read and accept the terms of this User Agreement checkbox and click on Continue to confirm the JetBrains Privacy Policy.

Now, you may click on any one of these buttons depending on whether you would like to share statistics data with JetBrains to help them improve their products.

Now, select a UI theme and click on Next: Desktop Entry as marked in the screenshot below.

Now, you have to create a Desktop Entry for IntelliJ IDEA. That way, you can easily access IntelliJ IDEA from the Application Menu of Ubuntu. To do that, make sure the marked checkboxes are checked and click on the Next: Launcher Script button.

If you want to launch IntelliJ IDEA projects from the command line, check the marked checkbox. Otherwise, leave it unchecked. Once you’re done, click on Next: Default plugins.

Now, you can enable/disable the plugins you need to tune IntelliJ IDEA to your need from here. Once you’re done, click on Next: Featured plugins.

Now, IntelliJ IDEA will suggest you some plugins that you may need. If you want to install any of them, just click on Install and it will be installed. Once you’re done, click on Start using IntelliJ IDEA.

Now, type in your login password and click on Authenticate.

IntelliJ IDEA is loading as you can see in the screenshot below.

As you can see, IntelliJ IDEA is running. It is the dashboard of IntelliJ IDEA.

Now that IntelliJ IDEA is installed, you can also run it from the Application Menu of Ubuntu as you can see in the screenshot below.

Creating a New Java Project in IntelliJ IDEA:

In this section, I will show you how to create a new Java project in IntelliJ IDEA. So, let’s get started.

First, start IntelliJ IDEA and click on Create New Project.

Now, select Java from the list and click on Next.

From here, check Create project from template and select Command Line App. Once you’re done, click on Next.

Now, type in your project name, project location, and package namespace. Once you’re done, click on Finish.

Now, write your Java program. Once you’re done, you need to compile and run your Java program. To do that click on the Play button as marked in the screenshot below.

As you can see, the correct output is displayed.

So, that’s how you install JetBrains IntelliJ IDEA Java IDE on Ubuntu. Thanks for reading this article.

]]>
How to Install JetBrains WebStorm on Ubuntu https://linuxhint.com/install_jetbrains_webstorm_ubuntu/ Mon, 17 Dec 2018 02:45:14 +0000 https://linuxhint.com/?p=33895 WebStorm is an awesome IDE for working with JavaScript web and app development. WebStorm has support for many JavaScript frameworks. It has native support for NodeJS, AngularJS, ReactJS, VueJS and many more. It has intelligent auto completion and very easy to use UI.  Overall, it’s a must have tool for JavaScript developers.
In this article, I will show you how to install WebStorm on Ubuntu. Let’s get started.

Downloading WebStorm:

You can download WebStorm from the official website of JetBrains. First, go to the official website of JetBrains at https://www.jetbrains.com from your favorite web browser. Once the page loads, hover over Tools and click on WebStorm as marked in the screenshot.

Now, click on Download.

Make sure Linux is selected. Now, click on DOWNLOAD as marked in the screenshot below.

Your browser should prompt you to save the file. Select Save File and click on OK.

Your download should start. It should take a while to finish.

Installing WebStorm:

Once the WebStorm archive is downloaded, you’re ready to install it.

First, navigate to the ~/Downloads directory where the WebStorm archive is saved.

As you can see, WebStorm tar.gz archive is here.

Now, run the following command to extract the WebStorm archive to /opt directory.

$ sudo tar xzf WebStorm-2018.3.1.tar.gz -C /opt

It should take a while for the archive to be extracted. Once the archive is extracted, a new directory should be created in /opt directory as you can see in the marked section of the screenshot below.

NOTE: The directory name in my case is WebStorm-183.4588.66. It may be different for you. Make sure you replace it with yours from now on.

The first time, you have to run WebStorm from the command line. To do that, run the following command:

$ /opt/WebStorm-183.4588.66/bin/webstorm.sh

As you’re running WebStorm for the first time, you have to do a little bit of initial configuration. As you don’t have any WebStorm configuration yet, you have nothing to import. So, select Do not import settings and click on OK.

Now, select a UI theme of your choice. You can either select the dark theme Darcula or the Light theme. Once you’re done selecting a UI theme, click on Next: Desktop Entry.

Now, you have to create a desktop entry for WebStorm. This way, you can easily access WebStorm from the Application Menu of Ubuntu.

To do that, make sure both of the checkboxes are checked. Once you’re done, click on Next: Launcher Script.

If you want to open WebStorm projects from the command line, check Create a script for opening files and projects from the command line. Once you’re done, click on Next: Featured plugins.

Now, WebStorm will suggest you some important plugins that you can install if you want. If you like any of the plugins from here, just click on Install to install it. Once you’re done, click on Start using WebStorm.

Now, type in your login password and click on Authenticate.

JetBrains WebStorm is not free. You have to buy a license from JetBrains in order to use it. From here, you can activate WebStorm.

If you want to try out WebStorm before you buy a license, then you can try it out for 30 days for free without any feature restriction. Just select Evaluate for free and click on Evaluate.

WebStorm is being started.

WebStorm has started as you can see.

From now on, you can start WebStorm from the Application Menu of Ubuntu.

Creating a New Project:

In this section, I will show you how to create a new project in WebStorm.  First, start WebStorm and click on Create New Project.

Now, select a project type and a path for your project where all the project files will be saved.

Let’s say, you’re creating a Node.js Express App project. Here you can change the Node.js interpreter version if you have multiple versions of the interpreter installed.

As you can see, I also have options to change the Template and CSS.

The options should be different depending on the type of project you’re creating. Once you’re done setting up the options, click on Create.

As you can see, the project is created.

The project has some default files. You can click on the Play button on the top right corner to run the project.

As you can see, the express app is running on port 3000.

I can also access the express app from the web browser.

So, that’s how you install WebStorm on Ubuntu. Thanks for reading this article.

]]>
How to Install Jetbrains CLion on Ubuntu https://linuxhint.com/install_jetbrains_clion_ubuntu/ Thu, 13 Dec 2018 11:42:58 +0000 https://linuxhint.com/?p=33615 CLion is one of the best C/C++ IDE by JetBrains. If you’re a professional C/C++ programmer, then you can use CLion to improve your workflow. All the JetBrains IDEs including CLion has consistent look and feel. It’s very easy to use for both beginners and professionals.

In this article, I will show you how to install and configure CLion C/C++ IDE on Ubuntu. So, let’s get started.

Downloading CLion:

To download CLion, visit the official website of JetBrains at https://www.jetbrains.com from your favorite web browser and go to Tools > CLion.

Now, click on Download.

Now, make sure Linux is selected. Then, click on DOWNLOAD.

Your browser should prompt you to save the file. Just select Save File and click on OK.

As you can see, the CLion archive is being downloaded.

Installing C/C++ Build Tools:

In this section, I will show you how to install C/C++ build tools on Ubuntu. So, we will be able to compile C/C++ programs on CLion once we get it installed.

First, update the APT package repository cache with the following command:

$ sudo apt update

The APT package repository cache should be updated.

Now, install C/C++ development tools with the following command:

$ sudo apt install build-essential

Now, press y and then press <Enter> to continue.

C/C++ build tools should be installed.

Installing CLion:

In this section, I will show you how to install CLion on Ubuntu. Let’s get started.

First, navigate to the ~/Downloads directory with the following command:

$ cd ~/Downloads

As you can see, the CLion archive file I just downloaded is here. Remember the filename.

Now, run the following command to extract the contents of the archive to the /opt directory.

$ sudo tar xzf CLion-2018.3.tar.gz -C /opt

Once the archive is extracted, a new directory should be created inside the /opt directory as you can see in the screenshot below. Note the directory name.

Now, run CLion with the following command:

$ /opt/clion-2018.3/bin/clion.sh

As you’re running CLion for the first time, you will have to do some initial configuration. Once you see the following window, click on Do not import settings and click on OK.

Now, select either the Dark theme Darcula or the Light theme. Then, click on Next: Toolchains as marked in the screenshot below.

As you can see, all the C/C++ development tools are automatically detected. Now, click on Next: Default plugins.

Now, you will be asked to tune CLion depending on what you do. For example, if you do web development along with C/C++, then you can keep the Web Development tools. If you don’t need it, just click on Disable All, and web development functionalities will be disabled.

Once you’re done, click on Next: Featured plugins.

Now, CLion will suggest you some popular plugins that you can install to add more functionalities to CLion. For example, if you work with GitHub, then the Markdown plugin is very important for you. So, you can click on Install to install it as CLion plugin. Once you’re done, click on Next: Desktop Entry.

Now, make sure both of the checkboxes are checked. Then, click on Start using CLion as marked in the screenshot below.

Now, type in your login user’s password and click on Authenticate.

CLion will create desktop icons so that you will be able to launch CLion from the Application Menu of Ubuntu. You don’t have to start it from the command line ever again.

Now, you have to activate CLion. CLion is not free to use. You will have to buy a license from JetBrains in order to use CLion. You can activate CLion from here if you have valid license.

If you want to try out CLion before you buy the license, then select Evaluate for free and click on Evaluate.

CLion splash screen should show up.

After a while, you will see the CLion dashboard. From here, you can create, import and manage your existing projects. The initial configuration is complete.

Now, you can easily start CLion from the Application Menu of Ubuntu.

Creating a New C/C++ Project with CLion:

In this section, I will show you how to create a new C++ project with CLion and run your first program.

First, start CLion and click on New Project from the dashboard.

Now, you should see the project creation wizard. From here, select what type of project you want to create. Then, select a location on your filesystem where you want to save the new project. You can also select the C/C++ language standard if you need to. Once you’re done, click on Create.

As you can see, I have a hello world C++ program in my project directory by default as I selected C++ Executable project.

Now, to run the program, click on the Play button as marked in the screenshot below.

As you can see, the output is as expected. You can now compile C/C++ programs as much as you want.

So, that’s how you install and configure CLion on Ubuntu. Thanks for reading this article.

]]>
How to Install JetBrains PyCharm on Ubuntu https://linuxhint.com/install_jetbrains_pycharm_ubuntu/ Thu, 06 Dec 2018 08:13:36 +0000 https://linuxhint.com/?p=33334 PyCharm is an awesome Python IDE from JetBrains. It has a lot of awesome features and a beautiful looking UI (User Interface). It is really easy to use.

In this article, I will show you how to install PyCharm on Ubuntu. The procedure shown here will work on Ubuntu 16.04 LTS and later. I will be using Ubuntu 18.04 LTS for the demonstration in this article. So, let’s get started.

Getting Ubuntu Ready for PyCharm:

Before you install PyCharm on Ubuntu, you should install some pre-requisites packages. Otherwise, PyCharm won’t work correctly.

You have to install the Python interpreters that you want to use with PyCharm to run your project. You also have to install PIP for the Python interpreters that you wish to use.

If you want to use Python 2.x with PyCharm, then you can install all the required packages with the following command:

$ sudo apt install python2.7 python-pip

Now, press y and then press <Enter>.

All the required packages for working with Python 2.x in PyCharm should be installed.

If you want to use Python 3.x with PyCharm, then install all the required packages with the following command:

$ sudo apt install python3-pip python3-distutils

Now, press y and then press <Enter> to continue.

All the required packages for working with Python 3.x in PyCharm should be installed.

Installing PyCharm:

PyCharm has two versions. The Community version, and the Professional versions. The Community version is free to download and use. The Professional version is not free. You have to purchase a license to use the Professional version. The Community version is okay mostly. But it lacks some of the advance features of the Professional version. So, if you need these features, then buy a license and install the Professional version.

On Ubuntu 16.04 LTS and later, PyCharm Community and Professional both versions are available as a snap package in the official snap package repository.

To install PyCharm Community version snap package on Ubuntu 16.04 LTS and later, run the following command:

$ sudo snap install pycharm-community --classic

To install PyCharm Professional version snap package on Ubuntu 16.04 LTS and later, run the following command:

$ sudo snap install pycharm-professional --classic

In this article, I will go with the PyCharm Community version.

As you can see, PyCharm Community version snap package is being downloaded.

PyCharm Community version is installed.

Initial Configuration of PyCharm:

Now that PyCharm is installed, you can start it from the Application Menu of Ubuntu. Just search for pycharm in the Application Menu and you should see PyCharm icon as marked in the screenshot below. Just click on it.

As you’re running PyCharm for the first time, you will have to do some initial configuration. Once you see the following window, click on Do not import settings and click on OK.

Now, you will see the JetBrains license agreement window.

Now, click on I confirm that I have read and accept the terms of this User Agreement and click on Continue to accept the license agreement.

Now, you have to select a UI theme for PyCharm. You can select either the dark theme – Darcula or the Light theme.

Once you select a theme, you can click on Skip Remaining and Set Defaults to leave everything else the default and start PyCharm.

Otherwise, click on Next: Featured plugins.

Once you click on Next: Featured plugins, PyCharm will suggest you some common plugins that you may want to install. If you want to install any plugins from here, click on Install.

Now, click on Start using PyCharm.

As you can see, PyCharm is starting.

PyCharm has started. This is the dashboard of PyCharm.

Creating a Project in PyCharm:

In this section, I will show you how to create a Python project in PyCharm.First, open PyCharm and click on Create New Project.

Now, select a location for your new project. This is where all the files of this project will be saved.

If you want, you can also change the default Python version of your project. To do that, click on the Project Interpreter section to expand it.

Here, you can see in the Base interpreter section, Python 3.6 is selected by default. It is the latest version of Python 3 installed on my Ubuntu 18.04 LTS machine. To change the Python version, click on the Base interpreter drop down menu.

As you can see, all the Python versions installed on my Ubuntu 18.04 LTS machine is listed here. You can pick the one you need from the list. If you want any version of Python which is not listed here, just install it on your computer, and PyCharm should be able to detect it.

Once you’re happy with all the settings, click on Create.

The project should be created.

Now, to create a new Python script, right click on the project and go to New > Python File as marked in the screenshot below.

Now, type in a file name for your Python script and click on OK.

As you can see, test.py file is created and opened in the editor section of PyCharm.

I wrote a very basic Python script as you can see.

Now, to run the Python script currently opened in the editor, press <Alt> + <Shift> + <F10> or go to Run > Run… as marked in the screenshot below.

As you can see, the Python script which is currently opened in the editor is shown here. Just press <Enter>.

As you can see, the script is running.

Once the type in all the inputs, I get the desired output as well.

So, that’s how you install and use PyCharm on Ubuntu. Thank you for reading this article.

]]>