Created
July 19, 2019 00:41
-
-
Save kflu/068896e333ff8b97e36ccaf1c696aadb to your computer and use it in GitHub Desktop.
Installing PyCharm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PYCHARM_INSTALL_DIR="$HOME/local/pycharm/pycharm-community-2019.1.3" | |
http_proxy=fwdproxy:8080 https_proxy=fwdproxy:8080 wget -O /tmp/pycharm.tar.gz https://download.jetbrains.com/python/pycharm-community-2019.1.3.tar.gz | |
mkdir -p ~/local/pycharm | |
tar xzf /tmp/pycharm.tar.gz -C ~/local/pycharm | |
cd "$PYCHARM_INSTALL_DIR/bin" | |
sed -i 's/-Xmx.*/-Xmx25g/' ./pycharm64.vmoptions | |
sed -i 's/-Xmx.*/-Xmx25g/' ./pycharm.vmoptions | |
ln -s -f "$PYCHARM_INSTALL_DIR/bin/pycharm.sh" /usr/local/bin/pycharm | |
rm -f /tmp/pycharm.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment