我下载了pycharm-community-2018.1.4.tar.gz并将其提取到:
/home/user/Installations/
我可以从以下位置运行pycharm:
/home/user/Installations/pycharm-community-2018.1.4/bin/
键入:
./pycharm.sh
在用户指南(Install-Linux-tar.txt)中,提供了有关如何将bin添加到PATH的信息
3. [OPTIONAL] Add "{installation home}/bin" to your PATH environment
variable so that you may start PyCharm from any directory.
我试图做到这一点:
PATH=$PATH:/home/user/Installations/pycharm-community-2018.1.4/bin/
或将该行添加到:
~/.bashrc
source ~/.bashrc
我希望从终端的任何位置启动pycharm!如何更改命令以能够从cmd执行pycharm并运行pycharm?
当前$ PATH:
$ echo $PATH
/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl