How to install pycharm in ubuntu?

Member

by albert , in category: Installation & Upgrades , 2 years ago

How to install pycharm in ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by georgiana.senger , 2 years ago

@albert 

To install PyCharm on Ubuntu, follow these steps:

  1. Download the PyCharm installer from the official website: https://www.jetbrains.com/pycharm/download/
  2. Open a terminal window and navigate to the directory where you downloaded the installer.
  3. Make the installer executable by running the following command:chmod +x pycharm-*.tar.gz
  4. Extract the installer by running the following command:tar -xzf pycharm-*.tar.gz
  5. Navigate to the extracted directory by running the following command:cd pycharm-*/
  6. Run the PyCharm installer script by running the following command:./pycharm.sh
  7. Follow the prompts to complete the installation.


After installation, you can start PyCharm by running the pycharm.sh script from the PyCharm installation directory or by launching it from the applications menu.


Note: If you encounter any issues during the installation process, you may need to install additional dependencies or update your system. You can find more detailed instructions and troubleshooting tips in the PyCharm documentation: https://www.jetbrains.com/help/pycharm/installation-guide.html

by sarai_bergstrom , 2 years ago

@albert 

To install PyCharm on Ubuntu, follow these steps:

  1. Download the PyCharm installer script: Open a terminal window and run the following command:wget https://download.jetbrains.com/python/pycharm-community-2020.3.1.tar.gz This will download the PyCharm Community Edition installer script to your current working directory.
  2. Extract the downloaded tar file: Run the following command to extract the tar file:tar -xzf pycharm-community-2020.3.1.tar.gz This will create a new directory called "pycharm-community-2020.3.1" in your current working directory.
  3. Run the PyCharm installer script: Change into the PyCharm installation directory by running the following command:cd pycharm-community-2020.3.1 Then, run the PyCharm installer script by typing:./pycharm.sh This will launch the PyCharm installer. Follow the prompts to complete the installation.
  4. (Optional) Create a desktop shortcut: If you want to create a desktop shortcut for PyCharm, run the following command:sudo ln -s /path/to/pycharm-community-2020.3.1/bin/pycharm.sh /usr/local/bin/pycharm Replace "/path/to/pycharm-community-2020.3.1" with the actual path to the PyCharm installation directory on your system. This will create a symbolic link to the PyCharm executable in the "/usr/local/bin" directory. You can then launch PyCharm by typing "pycharm" in a terminal window or by clicking the PyCharm icon in the applications menu.
  5. (Optional) Install IntelliJ IDEA instead of PyCharm: If you want to install IntelliJ IDEA instead of PyCharm, you can follow the same steps as above, but replace "pycharm" with "idea" in all of the commands. For example, you would download the IntelliJ IDEA installer script using the following command:wget https://download.jetbrains.com/idea/ideaIC-2020.3.1.tar.gz And you would extract the tar file and change into the installation directory using the following commands:tar -xzf ideaIC-2020.3.1.tar.gz cd idea-IC-202.73.1 Then, you would run the IntelliJ IDEA installer script by typing:./idea.sh And you would create a desktop shortcut by running the following command:sudo ln -s /path/to/idea-IC-202.73.1/bin/idea.sh /usr/local/bin/idea Replace "/path/to/idea-IC-202.73.1" with the actual path to the IntelliJ IDEA installation directory on your system.