![IDEA 的 Snap 安装会自动更新为 EAP](https://linux22.com/image/1008365/IDEA%20%E7%9A%84%20Snap%20%E5%AE%89%E8%A3%85%E4%BC%9A%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0%E4%B8%BA%20EAP.png)
不久前我使用 snap 安装了 Jetbrains IDEA,运行非常顺畅。
Snap 已将 IDEA 更新至其 EAP 分支(早期访问程序)。
由于我只对一个可以工作且稳定的 IDE 感兴趣,所以我并不喜欢这个,而更喜欢最新的稳定版本(该版本在此之前已更新)
有没有办法重新配置这个内部快照?
答案1
您可以通过运行以下命令将snap 应用程序的安装从--edge
或最新版本更改为版本:--stable
sudo snap refresh intellij-idea-community --stable --classic
如果您想返回到最新版本,请按如下方式运行:
sudo snap refresh intellij-idea-community --edge --classic
或者您也可以在测试版中运行它:
sudo snap refresh intellij-idea-community --beta --classic
如果你想查看所有可安装的版本或切换使用snap info
例子:
~$ snap info intellij-idea-community
name: intellij-idea-community
summary: Capable & Ergonomic Java IDE
publisher: jetbrains✓
contact: https://www.jetbrains.com/idea/documentation/
license: unset
description: |
IntelliJ IDEA Community Edition is a free and open-source edition of
IntelliJ IDEA, the commercial Java IDE by JetBrains. IntelliJ IDEA
Community Edition provides all the tools you need for Java, Groovy, Kotlin,
Scala, and Android. It offers instant and clever code completion,
on-the-fly code analysis, and reliable refactoring tools. Mission-critical
tools such as integrated version controls systems and a wide variety of
supported languages and frameworks are at hand — no plugin hustle included.
commands:
- intellij-idea-community
snap-id: KSPcSedMkvhgEjkg3Ki1PdjX2Ylm2aOy
tracking: stable
refresh-date: today at 08:17 MDT
channels:
stable: 2018.2.4 (83) 481MB classic
candidate: 2018.2.4 (83) 481MB classic
beta: 2018.2.4 (83) 481MB classic
edge: 2018.3-EAP (87) 500MB classic
2018.3/stable: –
2018.3/candidate: –
2018.3/beta: –
2018.3/edge: 2018.3-EAP (87) 500MB classic
2018.2/stable: 2018.2.4 (83) 481MB classic
2018.2/candidate: 2018.2.4 (83) 481MB classic
2018.2/beta: 2018.2.4 (83) 481MB classic
2018.2/edge: 2018.2.5-EAP (86) 481MB classic
2018.1/stable: 2018.1.6 (65) 495MB classic
2018.1/candidate: ↑
2018.1/beta: ↑
2018.1/edge: ↑
2017.3/stable: 2017.3.5 (36) 425MB classic
2017.3/candidate: ↑
2017.3/beta: ↑
2017.3/edge: ↑
installed: 2018.2.4 (83) 481MB classic
希望这可以帮助!