在Linux Ubuntu上升级atom最好的方法是什么?我使用官方文档安装atom
git clone https://github.com/atom/atom
cd atom
script/build
sudo script/grunt install
发布于 2015-05-31 11:52:37
现在,看起来最简单的方法是从官方发行版下载新的打包版本(.deb或.rpm),并在以前的版本https://github.com/atom/atom/releases上安装它
发布于 2014-11-05 22:46:14
我创建了以下脚本来更新我在Ubuntu 14.10上的atom。
#!/bin/bash
# Update atom from downloaded deb file
rm -f /tmp/atom.deb
curl -L https://atom.io/download/deb > /tmp/atom.deb
dpkg --install /tmp/atom.deb
echo "***** apm upgrade - to ensure we update all apm packages *****"
apm upgrade --confirm false
exit 0
文件atom_update是可执行文件,需要使用su命令进行调用:
sudo ./atom_update
上面的方法是有效的,但现在我使用以下方法:
sudo add-apt-repository -y ppa:webupd8team/atom
sudo apt -y update
sudo apt -y install atom
apm install \
file-icons \
tabs-to-spaces \
trailing-spaces \
xml-formatter
使用上面的设置
sudo apt -y upgrade
将已安装的atom更新到最新版本。ppa通常是最新的。
发布于 2016-12-26 07:08:05
现在使用APT包更容易了。
sudo add-apt-repository ppa:webupd8team/atom
sudo apt update
sudo apt install atom
现在您可以像往常一样升级/ dist-upgrade
sudo apt upgrade
https://stackoverflow.com/questions/24741996
复制相似问题