[关闭]
@torresdyl 2016-10-27T08:31:42.000000Z 字数 1171 阅读 2621

[Linux]Install Atom editor in Ubuntu x86 在Linux下安装32位Atom

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.

0. Add repository

  1. sudo add-apt-repository ppa:webupd8team/atom

If you see this error:

  1. Cannot add PPA: 'ppa:~webupd8team/ubuntu/atom'.
  2. 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.

1-1. Set proxy as system variable.

  1. export http_proxy=http://PROXY:PORT
  2. export https_proxy=http://PROXY:PORT

And, use sudo -E to make sudo to preserve/respect the variables you just set:

  1. sudo -E add-apt-repostory ppa:webupd8team/atom/

1-2. Reinstall your ca certificates.

  1. sudo apt-get install --reinstall ca-certificates

2. Refresh source list and install

  1. sudo apt-get update
  2. 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.

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注