第一步:进入官网,选择Linux版本,下载安装包。我们可以选择community(社区免费版)
也可以选择功能更为齐全的专业版(当然也有人叫做商业版)。
第二步:将下载好安装包解压。我们以专业版为例,进行说明。
第三步:进入解压后文件夹的bin目录。在空白处右击,在此处打开终端
第四步:进入终端后,执行命令:sh ./pycharm.sh
(1)浏览完弹出界面后,点击Accept,进入下一步。
(2)在弹出的数据分享窗口中,选择“Don’t send”.
第五步:弹出激活窗口进行激活。
提供了两种pycharm激活方式(都支持最新2019版本)。
本文只提供修改hosts激活
优点:方便快捷;
缺点:需要修改hosts文件。
1.修改hosts文件
将0.0.0.0 account.jetbrains.com和0.0.0.0 www.jetbrains.com添加到hosts文件最后,注意hosts文件无后缀,如果遇到无法修改或权限问题,可以采用覆盖的方法去替换hosts文件。
修改后请检查hosts文件是否修改,激活码无法激活的原因99.99%是因为hosts没有修改正确。
Windows系统hosts文件路径为:c:\windows\system32\drivers\etc
Ubantu(Linux)系统hosts文件路径为:/etc
2.复制激活码
打开PyCharm选择Activation code激活,然后复制下面的激活码点击激活。
56ZS5PQ1RF-eyJsaWNlbnNlSWQiOiI1NlpTNVBRMVJGIiwibGljZW5zZWVOYW1lIjoi5q2j54mI5o6I5p2DIC4iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiRm9yIGVkdWNhdGlvbmFsIHVzZSBvbmx5IiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJJSSIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IkFDIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiRFBOIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7ImNvZGUiOiJHTyIsInBhaWRVcFRvIjoiMjAyMC0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IG0lih3yz5EqFhld03bGp222ZQCIghCTVL6QBNadGsiN/lWLl4JdR3lJkZzlpFdiHijoVRdWeSWqM4y0t23c92HXKrgppoSV18XMxrWVdoSM3nuMHwxGhFyde05OdDtLpCv+jlWf5REAHHA201pAU6bJSZINyHDUTB+Beo28rRXSwSh3OUIvYwKNVeoBY+KwOJ7WnuTCUq1meE6GkKc4D/cXmgpOyW/1SmBz3XjVIi/zprZ0zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
第六步:查看有效期
当你激活完毕后,PyCharm右下角会有个Registration小长条提示框,大致的内容为:You copy is Licensed to XXX意思就会告诉你:兄弟,你已经激活成功了,激活码的许可来源是:XXX。
查看有效期的步骤为点击:Help->About这里可以看到你的pycharm的版本号、许可来源、有效期、以及一些环境。
服务器激活是没有期限的,即为永久有效。
激活码激活的有效期到2089年的。