@torresdyl
2016-10-27T16:31:42.000000Z
字数 1171
阅读 2765
ubuntu
x86
32bit
atom
http://www.webupd8.org/2014/06/atom-text-editor-available-for-linux.html
http://www.webupd8.org/2014/03/fix-cannot-add-ppa-please-check-that.html
http://askubuntu.com/questions/53146/how-do-i-get-add-apt-repository-to-work-through-a-proxy/102505#102505
Now Atom is migrating completely to x64, but if we only have a 32 bit machine, some tweak must be done to install Atom.
sudo add-apt-repository ppa:webupd8team/atom
If you see this error:
Cannot add PPA: 'ppa:~webupd8team/ubuntu/atom'.
ERROR: '~webupd8team' user or team does not exist.
There may be two reasons:
1. You are behind a proxy.
2. Your ca-certificate
is broken.
export http_proxy=http://PROXY:PORT
export https_proxy=http://PROXY:PORT
And, use sudo -E
to make sudo
to preserve/respect the variables you just set:
sudo -E add-apt-repostory ppa:webupd8team/atom/
sudo apt-get install --reinstall ca-certificates
sudo apt-get update
sudo apt-get install atom
And you are done!
Where is Atom installed? The question is not easy to answer. Check out /usr/bin/atom.sh
and you may have a better understanding. In my case(Ubuntu 16.04 LTS 32 bit), it's in /opt/atom/atom
.