Use the latest version of PyCharm on Ubuntu

I got stuck when I tried to use PyCharm on Ubuntu, so make a note.

** Conclusion **: Now available

Install PyCharm

Download PyCharm

From here Download PyCharm community Edition

Deploy PyCharm

tar xvzf pycharm-community*.tar.gz -C /tmp/



## Move

#### **`root /tmp/pycharm*"`**
```sudo su -c "chown -r root

```sudo mv /tmp/pycharm-community* /opt/pycharm-community```  

## Create symbolic links

#### **`sudo su -c "ln -s /opt/pycharm-community/bin/pycharm.sh /usr/local/bin/pycharm"`**

sudo su -c "ln -s /opt/pycharm-community/bin/inspect.sh /usr/local/bin/inspect"


  
## Start-up!!
 I made a symbolic link earlier
```pycharm```  

 You should be able to do this.

JDK/JRE
## JVM error?
 When I thought I could go with the procedure up to the previous step, I got an error and it didn't work.
```unrecognized vm option 'maxpermsize=350m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.```

## Uninstall OpenJDK
 Is OpenJDK included by default on Ubuntu?
 PyCharm can find quite a few articles about using Oracle Java, so delete OpenJDK
```sudo apt-get remove openjdk*```  

## Add repository
 ppa add

#### **`webupd8team/java`**
```sudo add-apt-repository ppa


## Java installation
```sudo apt-get install oracle-java8-installer```  
 I don't know why, but I had Java 9 in my environment ... orz
 I think this was the cause of the above error. After uninstalling below, I re-installed Java8.

### Java uninstall
```sudo apt-get remove oracle-java7-installer```  

# Start PyCharm !!
 Start PyCharm by hitting the following command on the command line
```pycharm```  
 moved!!

 ![Screenshot-PyCharm Community Edition.png](https://qiita-image-store.s3.amazonaws.com/0/76794/7805e999-5d72-7f4a-232f-b17227d91ff4.png)  

 I wonder if the menu is still in English or the fonts will be investigated and adjusted later. Now you can develop using the IDE.

# Postscript
 Actually, it seems that you can easily install it by following the steps below, but I think that the version in the repository will be included, so it is probably not the latest (... should be).

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu $(lsb_release -sc)-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

sudo apt-get update
sudo apt-get install pycharm



Recommended Posts

Use the latest version of PyCharm on Ubuntu
Install the latest version of CMake on Ubuntu 18.04.4 LTS
Put the latest version of Python on linux (Debian) on Chromebook
Install the latest version of Git on your Linux server
Install the latest version of Apache httpd 2.4 from source on Cent OS 8
Install the latest Cuda + CuDNN on Ubuntu 18.04 @ Spring 2020
Comfortable use of Magic Trackpad 2 on Ubuntu desktop
At the time of python update on ubuntu
Change the resolution of Ubuntu running on VirtualBox
Let's use the Python version of the Confluence API module.
The latest version of Pillow 7.0.0 will kill the pytorch transform.
Align the version of chromedriver_binary
Use matplotlib on Ubuntu 12 & Python
Use Python on Windows (PyCharm)
Notes on the version of CUDA, cuDNN where tensorflow-gpu worked
Survey on the use of machine learning in real services
Until the start of the django tutorial with pycharm on Windows
Steps to install the latest version of OpenCV on OS X El Capitan without Homebrew
I want to use the Ubuntu desktop environment on Android for the time being (Termux version)
Test the version of the argparse module
Change the background of Ubuntu (GNOME)
Change the Python version of Homebrew
Sakura Use Python on the Internet
Notes on installing Ubuntu 18.04 on the XPS 15 7590
Environment construction of "Tello_Video" on Ubuntu
[Latest version] Let the bot speak at regular intervals on discord.py
How to use Jupyter on the front end of supercomputer ITO
How to update the python version of Cloud Shell on GCP
Use The Metabolic Disassembler on Google Colaboratory
How to check the version of Django
The story of adding MeCab to ubuntu 16.04
Investigate the effect of outliers on correlation
About the virtual environment of python version 3.7
Post the subject of Gmail on twitter
I installed TensorFlow (GPU version) on Ubuntu
Use the Grove sensor on the Raspberry Pi
[Python] Try pydash of the Python version of lodash
Display the graph of tensorBoard on jupyter
Install Pleasant on Ubuntu 20.04 (.NetCore3.1 / PostgreSQL version)
Community version of IntelliJ IDEA, PyCharm is available for business / commercial use
Migemo version of the: find command,: mfind
2019 version: Unauthorized access trend analysis (example of general-purpose server on the cloud)
Change the order of PostgreSQL on Heroku
The story of running the asp.net core 3.1 app on arm64 version Amazon Linux 2
[Python] Japanese localization of matplotlib on Ubuntu
Compiling the Linux kernel (Linux 5.x on Ubuntu 20.04)
It seems that the version of pyflakes is not the latest when flake8 is installed
I want to use Python in the environment of pyenv + pipenv on Windows 10
I tried to rescue the data of the laptop by booting it on Ubuntu
Try installing only the core part of Ubuntu
Try the python version of emacs-org parser orgparse
Use the latest pip in a virtualenv environment
Launch and use IPython notebook on the network
zsh settings that facilitate the use of virtualenv
The behavior of signal () depends on the compile options
The story of making the Mel Icon Generator version2
[2020July] Check the UDID of the iPad on Linux
Use OpenSeesPy regardless of OS or Python version
Use AppSync on the front and back ends
A note about the python version of python virtualenv
Try the free version of Progate [Python I]