Install Python IDE in Linux: PyCharm

Source: Internet
Author: User

Install Python IDE in Linux: PyCharm
GuideLinux is often seen as an operating system that is far away from the external world and used only by geeks. Although this is a misunderstanding, in fact, if you want to develop software, therefore, the Linux system can provide you with a good development environment.

Beginners who are new to programming often ask the following question: Which language should they use? When Linux systems are involved, C, C ++, Python, Java, PHP, Perl, and Ruby On Rails are usually used.

Many core programs in Linux are written in C language, but C language is not as common as other languages such as Java and Python if you leave the Linux system world.

Python and Java are good choices for programmers, because they are cross-platform, programs you write on Linux can work well on both Windows and Mac systems.

Although you can use any editor to develop Python programs, if you use an excellent integrated development environment (IDE) that includes both the editor and debugger, then your programming career will become easier.

PyCharm is a cross-platform editor developed by Jetbrains. If you were developing in a Windows environment, you would immediately recognize Jetbrains, the company that developed Resharper. Resharper is an excellent product for code refactoring. It can identify possible code problems and automatically add declarations. For example, when you use a class, Resharper will automatically import it to you.

This article will discuss how to obtain, install, and run PyCharm on Linux.

How to obtain PyCharm

You can access https://www.jetbrains.com/pycharm/to obtain PyCharm. There is a large 'Download' button in the center of the screen.

You can download the Professional edition or community edition. If you are new to Python programming, we recommend you download the Community edition. However, if you plan to develop professional programming, some excellent features of the Professional Edition cannot be ignored.

How to install PyCharm

The downloaded file name may be 'pycharm-professional-2016.2.3.tar.gz '.

Files ending with tar.gz are compressed by the gzip tool, and folders are archived together with the tar tool. You can read more about the https://www.lifewire.com/extract-tar-gz-files-2202057 tar guide.

To decompress the file, you must first open the terminal and run the following command to enter the folder where the downloaded file is located:

cd ~/Downloads

Now, run the following command to find the name of the file you downloaded:

ls pycharm*

Run the following command to decompress the file:

tar -xvzf pycharm-professional-2016.2.3.tar.gz -C ~

Remember to replace the file name in the above command with the pycharm file name obtained through the ls command. (That is, the name of the file you downloaded ). The above command will install the PyCharm software in the home directory.

How to run PyCharm

To run PyCharm, first enter the home directory:

cd ~

Run the ls command to find the folder Name:

ls

After finding the file name, run the following command to enter the PyCharm directory:

cd pycharm-2016.2.3/bin

Finally, run the following command to run PyCharm:

sh pycharm.sh &

If you are running in a desktop environment such as GNOME, KDE, Unity, Cinnamon, or other modern desktops, you can also find PyCharm through the desktop environment menu or shortcut.

Summary

Now, PyCharm has been installed. You can start to use it to develop a desktop application, web application, and various tools.

If you want to learn how to use Python programming, there are good learning resources here: https://www.lifewire.com/learn-linux-in-structured-manner-4061368 is worth a look. The articles in are more about Linux learning, but some resources such as Pluralsight and Udemy provide some good tutorials on Python learning.

Address: http://www.linuxprobe.com/linux-install-pycharm.html

Editor: Yang Pengfei, reviewer: Yan zengbao

  • Author Profile
  • Articles in recent columns

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.