In this tutorial, we will show you how to install PyCharm on Debian 11. For those of you who didn’t know, PyCharm is a dedicated Python graphical IDE (Integrated Development Environment) popular amongst Python developers with its wide range of essential tools such as analyzing code, debugging, and integration. By using PyCharm plugins you can also get support for frameworks like Django, Flask. We can also use PyCharm for other programming languages like HTML, Javascript, CSS, and many more.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you through the step-by-step installation of the PyCharm on a Debian 11 (Bullseye).
Prerequisites
- A server running one of the following operating systems: Debian 11 (Bullseye).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install PyCharm on Debian 11 Bullseye
Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following apt
commands in the terminal:
sudo apt update sudo apt upgrade
Step 2. Installing Snap Package Manager.
Run the following command below to install Snap package manager to your Ubuntu system:
sudo apt install snapd sudo systemctl enable snapd --now sudo ln -s /var/lib/snapd/snap /snap
After successful installation of the snap command, you can check its installed version by using:
snap version
Step 3. Installing PyCharm on Debian 11.
By default, PyCharm is not available on Debian 11 base repository. Now we install PyCharm from the Snap with the following command:
###Install PyCharm Community ### sudo snap install pycharm-community --classic ### Install PyCharm Professional ### sudo snap install pycharm-professional --classic ### Install PyCharm Educational ### sudo snap install pycharm-educational --classic
Step 4. Accessing PyCharm on Debian.
Once successfully installed, use the following path on your desktop to open with the path: Activities -> Show Applications -> PyCharm
. If you cannot find it, use the search function in the Show Applications menu if you have many applications installed.
Congratulations! You have successfully installed PyCharm. Thanks for using this tutorial for installing the latest version of PyCharm on Debian 11 Bullseye. For additional help or useful information, we recommend you check the official PyCharm website.