Ubuntu Installation Pycharm

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.