download pycharm for linux code example

Example 1: how to install pycharm on linux

sudo snap install pycharm-community --classic

Example 2: how to install pycharm in linux

cd ~/Downloads
Now extract the tar gz file using the tar command in this way:

tar -xzf pycharm-community-2020.1.1.tar.gz
Now enter the extracted PyCharm folder:

cd pycharm-community-2020.1.1
Go to its bin folder:

cd bin
You’ll find a shell script here. Make sure that you have execute permission:

chmod u+x pycharm.sh
Now run this shell script:

sh pycharm.sh