Skip to main content

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

Name: Muhammad Tabassat DOB: 10 june 2004 Muhammad Tabassat

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

1. First of all Install yt-dlp in ubuntu terminal bash sudo apt update sudo apt install yt-dlp If it's not found or outdated, use Python: pip install -U yt-dlp 2. Install FFmpeg (for MP3 conversion) sudo apt install ffmpeg 3. Download audio of a single video link: yt-dlp -x --audio-format mp3 "Add video link" yt-dlp -x --audio-format mp3 "Add video link" for example yt-dlp -x --audio-format mp3 " https://youtu.be/GVbg-sblIg4?si=tccCB6nw-PiQwCbB " 4. Download audio of playlist link: yt-dlp -x --audio-format mp3 "Add playlist link" yt-dlp -x --audio-format mp3 "Add playlist link" 5. Download videos of playlist link: yt-dlp -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" "Add playlist link" yt-dlp -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" "Add playlist link" 6. Download single video link: yt-dlp "link" yt-dl...

How to Share Your Local WordPress Website with Ngrok on Ubuntu

 How to Share Your Local WordPress Website with Ngrok on Ubuntu Are you running a WordPress website locally using Local WP (formerly Local by Flywheel) and want to access it from another device or share it with a client or friend over the internet? Using ngrok , a powerful tunneling tool, you can expose your local site securely to the world in just a few commands. 🚀 What is Ngrok? ngrok is a tool that creates a secure tunnel from the public internet to your local machine. This is especially useful when: You want to test your local WordPress site on a mobile device You need someone to preview your project remotely You're demoing your work in real time 🧱 Prerequisites A working local WordPress site running in Local WP Ubuntu (tested on Ubuntu 22.04 and similar) Internet connection Terminal access 🔧 Step 1: Install Ngrok on Ubuntu Open your terminal and paste the following command: curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sud...