Note: In order to install PyCharm, you must have python installed.
- Download the archive file from the JetBrains website. Link here
- Extract the downloaded archive file.
I will be using tar to extract the archive, although there are numerous other commands to use.
Anatomy of the tar command
I will change directory to the Downloads folder and execute sudo tar xfz pycharm-community-2021.3.1.tar.gz -C /opt/
Tar Command Breakdown
- x = extract
- f = file to extract
- z = read/write through gzip (because of the file extension)
- –C /opt/ = switch for writing it to the /opt/ directory. You could put it elsewhere tho’, it’s just the recommended way of doing things.
3. Now if you browse to the /opt directory you should see the extracted archive.
Go to its /bin directory and run ./pycharm.sh
4. Accept the License and complete the setup.