One, tar.gz package installation
Download the zip package from the official website
Tar zxfv pycharm-professional-2017.3.3.tar.gz
CD pycharm-2017.3.3
./bin/pycharm.sh
Two, apt source installation
sudo add-apt-repository ppa:mystic-mirage/pycharm
sudo apt-get update
sudo apt-get install Pycharm
Server activation http://idea.imsxm.com/
Third, set the shortcut
Move the Pycharm file to the OPT directory #/opt the directory where the third-party software is stored
mv pycharm-2017.3.3 /opt/
Create a shortcut using VIM
sudo apt-get install vim
/USR Linux system where the software resides
/usr/bin directory for the storage of programs;
/usr/share is used to store some shared data, such as music files or icons, etc.
/usr/share/applictions for storing application shortcuts
/usr/lib is used to store some library files (which are libraries) that cannot be run directly, but are required by many programs.
sudo vim/usr/share/applications/pycharm.desktop
Write the following code to the file
[Desktop Entry]
version=1.0
Type=Application
Name=Pycharm
icon=/opt/pycharm-2017.3.3/bin/pycharm.png
exec="/opt/pycharm-2017.3.3/bin/pycharm.sh"%f
comment=the drive to Develop
categories= Development;ide;
terminal=false startup
WMClass=< Span class= "Hljs-value" >jetbrains-pycharm
elevation permission
sudo chmod u+x/usr/share/applications/pycharm.desktop
CHMOD is the abbreviation for the Rights Management command change the permissions mode of a file.
U represents the owner, and X represents the Execute permission. + indicates increased permissions.
chmod u+x file.sh represents an increase in executable permissions on the owner of the file.sh file under the current directory.
Ubuntu Installation Pycharm