返回

Ubuntu中安装IDEA

Ubuntu中安装IDEA

  1. 官网下载
  2. /usr/local/路径下新建安装目录IDEA:
1
mkdir -p /usr/local/IDEA
  1. 解压下载的压缩包到指定目录,执行下面的命令:
1
tar -zxvf ideaIU-2022.3.3.tar.gz -C /usr/local/IDEA
  1. 运行IDEA
1
2
cd /usr/local/IDEA/idea-IU-223.8836.41/bin
./idea.sh

配置IDEA快捷方式

  1. 创建一个文件叫idea.desktop
1
sudo gedit /usr/share/applications/idea.desktop 
  1. 写入下面的内容:
1
2
3
4
5
6
7
8
[Desktop Entry]
Name=IntelliJ IDEA
Comment=IntelliJ IDEA
Exec=/usr/local/IDEA/idea-IU-223.8836.41/bin/idea.sh #换成自己的 idea 路径
Icon=/usr/local/IDEA/idea-IU-223.8836.41/bin/idea.png #换成自己的 idea 路径
Terminal=false
Type=Application
Categories=Developer;
  1. 查看是否生成idea

Built with Hugo
Theme Stack designed by Jimmy