Follow these steps to install PyCharm in Ubuntu:
1. Copy the pycharm-*.tar.gz to the desired installation location
(make sure you have rw permissions for that directory)
2.Unpack the pycharm-*.tar.gz using the following command:
tar xfz pycharm-*.tar.gz
3. Check that you have Java Installed in your box [1] :
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
4. Setting up JAVA_HOME. Look for the Java location installation. Replace the x with the number of the version installed [2]:
find /usr/lib/jvm/java-1.x.x-openjdk
5. Edit /etc/profile. Add the following lines:
export JAVA_HOME=”path that you found” export PATH=$JAVA_HOME/bin:$PATH
References:
[1] http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
[2] http://stackoverflow.com/questions/24641536/how-to-set-java-home-in-linux-for-all-users