Install Anaconda, Pycharm on Ubuntu and how to create Pycharm shortcut keys in Linux

Table of contents

1. Download the required anaconda

2. Install Anaconda

1. Drag or copy and paste the downloaded anaconda into the home directory of the virtual machine

2. Start installation

3. Start configuring environment variables

 4. Update environment variables

5. Check whether the installation is complete

3. Install Pycharm

1. Download

2. Transfer the downloaded software to the home directory of the virtual machine

3. Decompress

4. Open pycharm

5. Create a shortcut on the virtual machine desktop


1. Download the required anaconda

2. Install Anaconda

1. Drag or copy and paste the downloaded anaconda into the home directory of the virtual machine

2. Start installation

Instructions: bash Anaconda2-2019.10-Linux-x86_64.sh

Press Enter to start installation

Then keep pressing Enter until the input required (yes/no) appears.

After that, keep pressing Enter, and when Do you wish the installar to initialize is displayed, enter yes, and the environment variables will be automatically configured.

3. Start configuring environment variables

Click on the .bashrc document in the home directory and start configuring environment variables

Double-click to open and scroll to the last input:

export PATH=/home/liuxuanting/anaconda2/bin:$PATH

Remember to click Save 

 4. Update environment variables

Right-click to open the terminal and enter command: source .bashrc, then press Enter to start updating environment variables

5. Check whether the installation is complete

Command: conda list

If the following picture appears, the installation is complete.

3. Install Pycharm

1. Download

Download pathDownload PyCharm: Python IDE for Professional Developers by JetBrains

Note that it is for Linux, the community version is recommended, and the professional version needs to be purchased.

2. Transfer the downloaded software to the home directory of the virtual machine

3. Decompress

Right-click to open the terminal in the home directory and enter command: tar zxf pycharm-community-2023.2.2.tar.gz 

4. Open pycharm

Enter command in the bin directory of pycharm-community-2023.2.2: . pycharm.sh, you can open it directly, and then create a new < /span>

5. Create a shortcut on the virtual machine desktop

Right-click on the virtual machine desktop to open the terminal, and then enter the command: sudo gedit /usr/share/applications/pycharm.desktop, and then An edit box will pop up, edit the following commands in the edit box:

[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /home/liuxuanting/pycharm-community-2023.2.2/bin/pycharm.sh
Icon=/home/liuxuanting/pycharm-community-2023.2.2/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;

Then find the display application in the lower left corner of the virtual machine


After turning to the second page, right-click pycharm and click Pin to Favorites, so that there is a shortcut key for pycharm on the left side of the virtual machine.

All process completed
 

 

 

 

Guess you like

Origin blog.csdn.net/yh1009/article/details/133035937
Recommended