How I can create a 32-bit version of Atom?

The new Atom 1.0 text editor is now available. But only to 64-bit processors. How I can create a 32-bit version?


Solution 1:

These instructions assume you have a 32-bit system:

sudo apt-get install build-essential git libgnome-keyring-dev fakeroot rpm libx11-dev libxkbfile-dev

Setup node.js:

curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get install nodejs

Clone the Atom repository:

cd
git clone https://github.com/atom/atom

If you need the latest release:

git fetch -p
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)

Now build and install:

cd atom
sudo script/build --create-debian-package

Use sudo above to avoid permission denied errors during the build process. Also, if you have a problem at the build command, run sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10.


Or install Atom via a PPA:

sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom

Solution 2:

https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md

Build it mate. As it is in readme, step by step. :)