Home > Operation and Maintenance > Linux Operation and Maintenance > How to install Pycharm on Ubuntu18.04 and generate shortcuts

How to install Pycharm on Ubuntu18.04 and generate shortcuts

坏嘻嘻
Release: 2018-09-15 17:11:28
Original
6078 people have browsed it

The content of this article is about how to install Pycharm and generate shortcuts on Ubuntu 18.04. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Step one: Download the Professional version of Linux from Pycharm official website

Download address: https://www.jetbrains.com/pycharm/download/#section=linux

Professional is a paid version, and there are cracking methods below

If necessary, the official website also provides a free Community version

Step 2: Unzip to the opt folder in the home directory

Absolute path:/opt/

The opt folder is often used to store users’ third-party software

Step 3: Enter the bin folder under the folder, right-click, and run the terminal here

Take the version 2018.2 I downloaded as an example

Absolute path:/opt/pycharm-2018.2/bin/

Step 4: Install the sh file

Installation command: sh pycharm.sh

If it is not a terminal running in this folder, remember to add the path

There are some options during the installation process, such as whether to import previous configurations, etc. , not complicated, you can decide by yourself.

Step 5: Go to the step of entering the serial number (you can also enter it after the installation is complete)

I won’t provide it here, because it is easy to fail, and if you give it, it will be in vain

It is recommended to search on Baidu, find the latest serial number provided by others, and try a few more.

After passing the installation, the installation is almost complete

Step 6: Make shortcuts

There is no shortcut after pycharm is installed.

Create a text file pycharm.desktop in the /usr/share/applications/ folder, you can use vim or gedit, etc.

Command: sudo vim /usr/share/applications/pycharm.desktop

Add the following statements in the file:

[Desktop Entry]

Version=1.0

Type=Application

Name=PyCharm

Icon=/opt/pycharm-2018.2/bin/pycharm.png    #注意此处的路径

Exec="/opt/pycharm-2018.2/bin/pycharm.sh" %f   #注意此处的路径

Comment=The Drive to Develop

Categories=Development;IDE;

Terminal=false Startup

WMClass=jetbrains-pycharm
Copy after login

Save. Modify the user permissions of this file:

Command: sudo chmod u x /usr/share/applications/pycharm.desktop

The above is the detailed content of How to install Pycharm on Ubuntu18.04 and generate shortcuts. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template