User Tools

Site Tools


python:pycharm

This is an old revision of the document!


PyCharm IDE

PyCharm Linux Community edition:
https://www.jetbrains.com/pycharm/download/#section=linux
https://download-cdn.jetbrains.com/python/pycharm-community-2021.3.3.tar.gz

tar -xvzf pycharm-community-2021.3.3.tar.gz
sudo mv pycharm-community-2021.3.3 /opt/pycharm
/opt/pycharm/bin/pycharm.sh 

Add to menu and cinnamon panel launcher

cat > ~/.local/share/applications/pycharm.desktop << EOD
[Desktop Entry]
Name=PyCharm
Exec=/opt/pycharm/bin/pycharm.sh
Comment=
Terminal=false
Icon=/opt/pycharm/bin/pycharm.png
Type=Application
EOD

cp ~/.local/share/applications/pycharm.desktop ~/.cinnamon/panel-launchers/ 

#config numerical, so get the highest number file only
export configfile=$(ls ~/.cinnamon/configs/panel-launchers@cinnamon.org/*.json | sort -rn | head -1)

jq '.launcherList.value += ["pycharm.desktop"]' $configfile > $configfile.new
mv $configfile.new $configfile

Update PyCharm:
Open PyCharm, click settings cog icon in bottom left and check for updates.

Create new project from Github repo:
Git menu → Clone → paste github .git clone url → select new or attach to existing project

python/pycharm.1676414506.txt.gz · Last modified: (external edit)