How to install PyCharm on Oracle Linux
Set proxy if you are behind a firewall.
bash-4.1$ export http_proxy=HTTP_PROXY_HOST_PORT_HERE
bash-4.1$ export https_proxy=
Download pycharm archive:
bash-4.1$ wget https://download.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz
--2017-11-05 23:02:33-- https://download.jetbrains.com/python/pycharm-community-2017.2.4.tar.gzSo tried again with " --no-check-certificate" option.
Resolving... ...
Connecting to|...|:80... connected.
ERROR: certificate common name â??www.jetbrains.comâ? doesnâ??t match requested host name â??download.jetbrains.comâ?.
To connect to download.jetbrains.com insecurely, use â??--no-check-certificateâ??.
bash-4.1$ wget https://download.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz --no-check-certificate
--2017-11-05 23:02:47-- https://download.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz
Resolving... ...
Connecting to|...|:80... connected.
WARNING: certificate common name â??www.jetbrains.comâ? doesnâ??t match requested host name â??download.jetbrains.comâ?.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: https://download-cf.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz [following]
--2017-11-05 23:02:48-- https://download-cf.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz
Connecting to|...|:80... connected.
OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Unable to establish SSL connection.
" --no-check-certificate" didn't help. So tried with http url, though its not mentioned in the docs and it worked.
Try using HTTP URL
$ wget http://download.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz
--2017-11-05 23:03:10-- http://download.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz
Connecting to|:80... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: http://download-cf.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz [following]
--2017-11-05 23:03:10-- http://download-cf.jetbrains.com/python/pycharm-community-2017.2.4.tar.gz
..
Proxy request sent, awaiting response... 200 OK
Length: 200392450 (191M) [binary/octet-stream]
Saving to: â??pycharm-community-2017.2.4.tar.gzâ?
100%[======================================================================================================================>] 200,392,450 3.16M/s in 64s
2017-11-05 23:04:14 (2.99 MB/s) - â??pycharm-community-2017.2.4.tar.gzâ? saved [200392450/200392450]
Extract archive:
$ sudo tar xf pycharm-community-2017.2.4.tar.gz -C /opt/
Password:
cd /opt
ln -s /opt/pycharm-community-2017.2.4 pycharm
Start pycharm:
sh pycharm/bin/pycharm.sh
No comments:
Post a Comment