Install Atom editor in ubunut mate?
#5
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!


Messages In This Thread
Install Atom editor in ubunut mate? - by arnausd - 07-08-2017, 04:37 AM
RE: Install Atom editor in ubunut mate? - by combs - 08-04-2017, 08:03 PM
RE: Install Atom editor in ubunut mate? - by hene - 08-25-2017, 05:50 AM
RE: Install Atom editor in ubunut mate? - by hene - 08-25-2017, 09:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Broke pinebook GUI, what to do, fix or install new? acruhl 2 876 07-13-2023, 05:43 PM
Last Post: acruhl
  can't install a new OS with sd card. pinebook1080. ObviousHobbit 3 4,158 07-24-2019, 07:52 AM
Last Post: neilman
  Adding coherent_pool to boot.cmd on Xenial Mate by Ayufan causes boot loop k_mp 0 1,935 06-11-2019, 01:36 PM
Last Post: k_mp
  Problems putting Ubuntu (Xenial Mate) on my replacement eMMC. frank-zappa 11 13,584 05-01-2019, 12:09 PM
Last Post: frank-zappa
  Install OS to LUKS tahf 1 3,432 01-20-2019, 12:47 PM
Last Post: Blutkoete
  How to Configure Screen Brightness in mate on pinebook via terinal? shirman 6 9,009 12-02-2018, 05:37 AM
Last Post: mikee3000
  KDE Install on new Pinebook, howto? Corkonian 8 10,251 11-08-2018, 02:11 PM
Last Post: Luke
  Problems to install qemu on Xenial Mate (for EMMC) demian 1 3,124 03-14-2018, 08:43 AM
Last Post: xalius
  New pinebook owner, media playback how? (was: larger eMMC, what and how to install?) dahni 14 20,978 09-14-2017, 12:04 AM
Last Post: dahni
  Install pygame in Ubuntu Mate pkgAstronaut 2 4,223 08-31-2017, 10:39 PM
Last Post: pkgAstronaut

Forum Jump:


Users browsing this thread: 1 Guest(s)