How to Install PyCharm on Ubuntu 20.04 LTS
PyCharm is an integrated development environment used in computer programming, specifically for the Python programming language. PythonCharm is one of the most popular Python development environments. Additionally, it is compatible with Linux, macOS, and Windows. Programmers can use PyCharm’s tools and features to create a variety of software applications very quickly and easily. This tool is very user-friendly, and it allows you to navigate through all of your code easily. With it, you have total control of your code, since it can be connected with other tools. It also includes a terminal that allows you to test and run your program. The software was developed by JetBrains.
Let’s begin the installation process,
First, For Ubuntu system to be registered on the VPSie platform, A VPSie account needs to be created if it hasn’t been created already.
Our example is based on an Ubuntu instance with GUI installed. Here is a link that will guide you to installing Ubuntu’s GUI if you do not already have it installed.
Now open your terminal and run the following commands to update your system.
# apt-get update && apt-get upgrade -y
Step 1: Install PyCharm
Run the following command to determine the version of Python on your system before beginning.
# python3 --version
Let’s get started with the installation. The first thing we have to do now is to find the latest version of PyCharm on its official website.
Now, Run the following command to Find the community version of the PyCharm:
# snap find pycharm
Run the following command to install PyCharm community version with the latest version:
# sudo snap install pycharm-community --classic
You can now search for PyCharm in Activities. Open and launch it.
The PyCharm IDE now runs successfully on your Ubuntu system. Thanks for reading! I hope it was informative for you!
FAQ
PyCharm is an integrated development environment (IDE) used for programming in Python. It is developed by JetBrains and is available in both a free and paid version.
Here are the steps to install PyCharm on Ubuntu:
Open the Ubuntu terminal by pressing
Ctrl+Alt+T
on your keyboard.Update your system’s package list using the following command:
sqlsudo apt update
Install the snapd package, which is required to install PyCharm using snap:
sudo apt install snapd
Install the PyCharm snap package using the following command:
csssudo snap install pycharm-community --classic
If you want to install the professional version of PyCharm, replace “pycharm-community” with “pycharm-professional” in the above command.
Once the installation is complete, you can launch PyCharm by searching for it in the applications menu or by typing the following command in the terminal:
pycharm-community
If you installed the professional version, use “pycharm-professional” instead.
When you launch PyCharm for the first time, you will be prompted to configure it. Follow these steps to configure PyCharm:
- Select the option to “Create new project.”
- Choose the location where you want to create the project.
- Select the Python interpreter you want to use. If you don’t have one installed, you can create a new one by clicking on the “New environment” button.
- Choose the project type and template you want to use.
- Click on the “Create” button to create the project.
To update PyCharm to the latest version, follow these steps:
Open the Ubuntu terminal.
Run the following command to update your system’s package list:
sqlsudo apt update
Run the following command to update PyCharm:
sudo snap refresh pycharm-community
If you installed the professional version, use “pycharm-professional” instead.
To uninstall PyCharm from Ubuntu, follow these steps:
Open the Ubuntu terminal.
Run the following command to uninstall PyCharm:
csharpsudo snap remove pycharm-community
If you installed the professional version, use “pycharm-professional” instead.
Optionally, remove the PyCharm configuration directory using the following command:
javascriptrm -rf ~/.config/JetBrains/PyCharm*
This will remove all the settings and configuration files for PyCharm from your system.