索引:
参看代码 GitHub:
一、Linux (DeepinOS) 环境
1.官网下载
1 ideaIU-2018.1.2.tar.gz
2.解压
1 tar -zxvf ideaIU-2018.1.2.tar.gz -C ~/dev/Idea
3.设置执行权限
1 cd ~/dev/Idea/idea-IU-181.4668.68/bin 2 sudo chmod a=+rx ./idea.sh
4.安装
1 执行此 shell 前,可对 IDEA 进行 xxxx ,具体方法自行在网上搜索查看 2 sudo ./idea.sh
5.手动创建桌面快捷图标
1 1.创建一个 idea.desktop 文件: 2 [Desktop Entry] 3 Name=IdeaIU 4 Comment=IdeaIU 5 Exec=env JAVA_HOME=/home/liumeng/dev/Java/jdk1.8.0_171 /home/liumeng/dev/Idea/idea-IU-181.4668.68/bin/idea.sh 6 Icon=/home/liumeng/dev/Idea/idea-IU-181.4668.68/bin/idea.png 7 Terminal=false 8 Type=Application 9 Categories=Application; 10 X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher 11 X-Deepin-AppID=idea 12 2.将文件放到 /usr/share/applications 中: 13 sudo cp ~/dev/Idea/idea-IU-181.4668.68/bin/idea.desktop /usr/share/applications
蒙
2018-05-19 20:50 周六
原文地址:https://www.cnblogs.com/Meng-NET/p/9061612.html
时间: 2024-10-12 01:18:56