I got stuck when I tried to use PyCharm on Ubuntu, so make a note.
** Conclusion **: Now available
From here Download PyCharm community Edition
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