Search This Blog

Tuesday, September 13

PyCharm by JetBrains installation [Ubuntu]

The official installation instructions for the archive you downloaded are on their site:
Installation Instructions
  • Copy the pycharm-*.tar.gz to an empty directory
    (make sure you have rw permissions for that directory)
  • Unpack the pycharm-*.tar.gz using the following command:
    tar xfz pycharm-*.tar.gz
  • Remove the pycharm-*.tar.gz to save disk space (optional)
  • Run pycharm.sh from the bin subdirectory
NOTE: PyCharm on Linux doesn't need special installation or running any installation script. It runs out of the pycharm-*.tar.gz

But there is already a version of PyCharm Community Edition available through the unofficial GetDeb repository.
This does not only provide easier installation, but also automatic package updates.
You can simply add this repository to your configuration and install PyCharm from the terminal
(Ctrl+Alt+T) by executing the following four commands:
  1. Configure the repository (your correct Ubuntu release name gets inserted automatically):
    echo "deb http://archive.getdeb.net/ubuntu $(lsb_release -cs)-getdeb apps" | sudo tee /etc/apt/sources.list.d/getdeb-apps.list
  2. Retrieve and add the repository's signature key:
    wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
  3. Update your package lists:
    sudo apt-get update
  4. Install PyCharm:
    sudo apt-get install pycharm

No comments:

Post a Comment