-2

How do I add "/home/me/pycharm-edu-4.0/bin/" to my PATH environment variable? I've tried what's in How to set $PATH in Ubuntu and What is the PATH environment variable and how do I add to it? but I can't get it to work. What exactly should I change

PATH="$HOME/bin:$HOME/.local/bin:$PATH"

to? Or should I comment it out and add a line underneath? I appreciate any help.

Eliah Kagan
  • 119,640

3 Answers3

2

You have to use something like:

PATH="$HOME/pycharm-edu-4.0/bin:$PATH"

or:

PATH="$PATH:$HOME/pycharm-edu-4.0/bin"

if you want a higher priority for default paths.

Ravexina
  • 57,256
1

1.Open a terminal from the bin directory of pycharm and type

./pycharm.sh

2.Go to Tools>>Create Desktop entry.Now you can just press the windows key and type pycharm to run it

1

Using fish, the other answers didn't work for me.

But this did:

set PATH $PATH /home/me/pycharm-edu-4.0/bin/
Eliah Kagan
  • 119,640
Tincho825
  • 111