PyCharm for Python development on Ubuntu


1. Install Python (if not already installed)

Most Ubuntu versions come with Python pre-installed. To check:

python3 --version

If it's not installed:

sudo apt update
sudo apt install python3 python3-pip

2. Download PyCharm

There are two versions:

  • PyCharm Community (Free and Open Source) — Recommended for most students
  • PyCharm Professional

    Install from JetBrains website
  1. Go to: https://www.jetbrains.com/pycharm/download/
  2. Download the .tar.gz file for Linux.
  3. Extract the file:
tar -xzf pycharm-community-*.tar.gz
  1. Navigate to the extracted folder and run:
cd pycharm-community-*/bin
./pycharm.sh

To create a desktop shortcut, PyCharm will offer the option on first launch.

3. Configure PyCharm on First Launch

  • Accept terms and choose a UI theme.
  • Create or open a Python project.
  • Select Python interpreter.

4. Run Your First Python File

  1. Right-click on your .py file → Run
  2. Output will show at the bottom

Comments

Popular posts from this blog

Introduction

Download individual YouTube video/audio or entire playlists via the Ubuntu terminal