一、进入官网,下载Pycharm2021.3版本
1.官网如下
https://www.jetbrains.com/pycharm/
2.在浏览器中进入官网后,点击Download
3.再点击右下角的Other versions
4.选择Version 2021.3下的2021.3-Linux(tar.gz)进行下载
二、安装Pycharm2021.3
1.先将该压缩包解压在当前目录下
(1)方法一:
右击压缩文件,选择Extract Here
(2)方法二:
通过命令解压,打开Terminal输入命令:如下
tar -zxvf your_file.tar.gz -C /path/to/directory
其中,-zxvf选项表示同时进行gzip解压和解包操作。your_file.tar.gz为要解压的文件名,而/path/to/directory则是要解压到的目标路径。
2.将解压的文件移动到指定目录中
(1)方法一:
右击压缩文件,选择Move to
(2)方法二:
mv [源文件路径] [目标目录路径]
其中,[源文件路径]表示要移动的文件所在位置及名称;[目标目录路径]表示要移动到的目标目录的完整路径。
例如:若要将当前工作目录下的file.txt文件移动到/home/user/Documents目录中,则可以运行以下命令:
mv file.txt /home/user/Documents
若要将/var/www/html目录下的index.php文件移动到/tmp目录中,则可以运行以下命令:
mv /var/www/html/index.php /tmp
3.进入“pycharm-2021.3”文件夹,找到bin文件夹并进入
4.在bin文件夹里面找到pycharm.sh和pycharm64.vmoptions这2个文件,其中pycharm.sh是运行文件,pycharm64.vmoptions是配置文件
1.先修改一下配置文件 pycharm64.vmoptions:
(1)先下载fineagent.jar,并将其放在【/home/用户名/】目录下:我这里用户名为xh。(fineagent.jar和后面的激活码我都会上传到这篇博客的资源里面,大家进行下载即可),将下载的fineagent.jar文件复制进【/home/用户名/】目录下即可
(2)将下面这段代码添加到 pycharm64.vmoptions里面, 注:-javaagent: 后面加的是文件fineagent.jar的路径:
首先输入以下命令编辑pycharm64.vmoptions文件:
gredit pycharm64.vmoptions
然后向里面添加以下代码,点击save:
-javaagent:/home/用户名/fineagent.jar
2.配置好 pycharm64.vmoptions文件后,就运行pycharm.sh文件:当出现pycharm安装界面,说明配置成功
5.根据弹窗来的pycharm安装界面,进行安装
输入激活码:
5AYV1D1RE5-eyJsaWNlbnNlSWQiOiI1QVlWMUQx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xBwNZZALNz3EtQL6IeIWWJByl3g==
文章来源:https://www.toymoban.com/news/detail-838775.html
到了这里就表明Ubuntu中安装pycharm的专业版就成功了!文章来源地址https://www.toymoban.com/news/detail-838775.html
到了这里,关于在Ubuntu中安装pycharm的专业版且可以激活到2099年(保姆级教学,值得借鉴与信任)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!