How to run PyCharm in Ubuntu - "Run in Terminal" or "Run"?

When I double click on pycharm.sh, Ubuntu allows me to choose between "Run in Terminal" and "Run". What is the difference between these options?

+9
source share
3 answers

To make it more convenient: After you unpack it, go to the directory and run bin/pycharm.sh . As soon as it opens, it either offers you to create an entry on the desktop, or if not, you can ask it to do this by going to the "Tools" menu and selecting "Create desktop entry ..."

Then close PyCharm, and in the future you can simply click on the created menu entry. (or copy it to your desktop)

To answer the specifics between Run and Run in Terminal: this is essentially the same, but "Run in Terminal" actually opens a terminal window and shows the console output of the program. Most likely you do not want this :)

(If you are not trying to debug the application, you usually do not need to see its output.)

+25
source

An answer "Update answer" has already been answered to this question to add the PyCharm bin directory to $ PATH var so that the pycharm editor can be opened from anywhere (path) in the terminal.

Edit the bashrc file,

nano.bashrc

Add the following line at the end of the bashrc file

export PATH="<path-to-unpacked-pycharm-installation-directory>/bin:$PATH"

Now you can open pycharm from anywhere in the terminal

pycharm.sh

+2
source

Just drag the pycharm.sh file to the terminal, press Enter, it works fine

0
source

Source: https://habr.com/ru/post/978519/


All Articles