Yes, it's possible to use the armhf build. The overall sequence...
- Grab that .deb link
- Add armhf architecture to apt/dpkg
- apt-get update
- Grab the git repo for atom-armv7l using git clone
- Extract the .deb using dpkg -x /
(Don't install it using dpkg -i, because it requires python, and python for arm64 seems to conflict with python:armhf
- Install all of the prerequisite libraries in :armhf variants
apt-get install libgtk2.0-0:armhf libudev1:armhf libgcrypt20:armhf libnotify4:armhf libxtst6:armhf libnss3:armhf libcap2:armhf
- Also get these to forestall weird gtk errors later
apt-get install libatk-adaptor:armhf libgail-common:armhf libcanberra-gtk-module:armhf libxkbfile-dev:armhf
- Also get these to allow cross-compilation for node_modules (package errors)
apt-get install libc6-dev-armhf-cross linux-libc-dev-armhf-cross g++-arm-linux-gnueabihf gcc-arm-l inux-gnueabihf
- Start the atom binary from /usr/share/atom/atom (not just /usr/bin/atom) , it will complain about missing .so --run through each of these,google them to get package name, and apt-get install them too
- Finally, start the atom binary, it will start in a weird state after a few minutes. Quit it again
- In the git repo, chmod 755 and run atom.firstboot.sh
- It will complain about a missing apm binary
- Make a symlink from the right file in /usr/share/atom to the place it expects it
- set the CC and CXX vars to force armhf compilation when installing node modules:
export CC=/usr/bin/arm-linux-gnueabihf-gcc
export CXX=/usr/bin/arm-linux-gnueabihf-g++
- Run atom.firstboot.sh again
- Some packages have to be forced to particular versions... apm default installs a version more recent than is actually compatible with atom 1.15.0:
apm install tabs@0.101.0
apm install tree-view@0.214.1
apm install settings-view@0.248.0
apm install status-bar@1.8.5
apm install symbols-view@0.115.2
apm image-view@0.61.1
- restart atom
- if you get weird stuff, check atom dev tools Console tab for error messages, probably other missing .so libraries/packages
- ...
- profit!
- Grab that .deb link
- Add armhf architecture to apt/dpkg
- apt-get update
- Grab the git repo for atom-armv7l using git clone
- Extract the .deb using dpkg -x /
(Don't install it using dpkg -i, because it requires python, and python for arm64 seems to conflict with python:armhf
- Install all of the prerequisite libraries in :armhf variants
apt-get install libgtk2.0-0:armhf libudev1:armhf libgcrypt20:armhf libnotify4:armhf libxtst6:armhf libnss3:armhf libcap2:armhf
- Also get these to forestall weird gtk errors later
apt-get install libatk-adaptor:armhf libgail-common:armhf libcanberra-gtk-module:armhf libxkbfile-dev:armhf
- Also get these to allow cross-compilation for node_modules (package errors)
apt-get install libc6-dev-armhf-cross linux-libc-dev-armhf-cross g++-arm-linux-gnueabihf gcc-arm-l inux-gnueabihf
- Start the atom binary from /usr/share/atom/atom (not just /usr/bin/atom) , it will complain about missing .so --run through each of these,google them to get package name, and apt-get install them too
- Finally, start the atom binary, it will start in a weird state after a few minutes. Quit it again
- In the git repo, chmod 755 and run atom.firstboot.sh
- It will complain about a missing apm binary
- Make a symlink from the right file in /usr/share/atom to the place it expects it
- set the CC and CXX vars to force armhf compilation when installing node modules:
export CC=/usr/bin/arm-linux-gnueabihf-gcc
export CXX=/usr/bin/arm-linux-gnueabihf-g++
- Run atom.firstboot.sh again
- Some packages have to be forced to particular versions... apm default installs a version more recent than is actually compatible with atom 1.15.0:
apm install tabs@0.101.0
apm install tree-view@0.214.1
apm install settings-view@0.248.0
apm install status-bar@1.8.5
apm install symbols-view@0.115.2
apm image-view@0.61.1
- restart atom
- if you get weird stuff, check atom dev tools Console tab for error messages, probably other missing .so libraries/packages
- ...
- profit!