In this article, we will have explained the necessary steps to install and configure PyCharm on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo
privileges. All the commands in this tutorial should be run as a non-root user.
PyCharm is an intelligent and fully featured IDE for Python developed by JetBrains. It has built-in debugging support, Docker and Vagrant support, embedded Git control, Anaconda support, syntax highlighting, and many more.
PyCharm is extensible via plugins and offers support for Python web development frameworks such as Django and Flask. It can also be used for development in other programming languages such as JavaScript, SQL, HTML, CSS, AngularJS, Node.js, and more.
Prerequisite:
- Operating System with Ubuntu 18.04
- Server IPv4 Address with Superuser Privileges (Root Access)
- Gnome Terminal for Linux Desktop
- PuTTy SSH client for Windows or macOS
- Powershell for Windows 10/11
- Familiar with APT Commands
Install PyCharm on Ubuntu
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
sudo apt update sudo apt upgrade
Step 2. Install Snappy Package Manager.
Snappy provides better package management support for Ubuntu. It’s quick and easy to use. To install Snappy package manager type following command:
sudo apt install snapd snapd-xdg-open
Step 3. Install PyCharm.
Now to download and installed the PyCharm snap package run the following command. It will take some time to download and install the package.
sudo snap install pycharm-community --classic
On successful installation of PyCharm, the following output will be displayed:
pycharm-community 2018.4.6 from 'jetbrains' installed
Step 4. Starting PyCharm.
Now that PyCharm is installed on your Ubuntu system you can start it by clicking on the PyCharm icon (Activities -> PyCharm) or start PyCharm via terminal run following command:
pycharm-community
That’s all you need to do to install PyCharm on Ubuntu 18.04 Bionic Beaver. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.