I just recently bought a Pinebook and I tried all the tutorials about how te get Atom editor working on pinebook but they all fail at some point and I'm not able to get it.
Does anyone know how to get it or did anyone could install it on his Pinebook?
Hii, thanks for the reply, I tried a couple of times (a few weeks ago I tried without adding architecture) and it seems not work, at least for me.
08-04-2017, 08:03 PM
(This post was last modified: 08-05-2017, 10:29 AM by combs.)
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!
08-05-2017, 12:13 AM
(This post was last modified: 08-05-2017, 12:14 AM by MarkHaysHarris777.)
I would recommend against running armhf, and especially I would recommend against running a mix of aarch64 and armhf ( 32bit with 64bit ).
The aarch64 64bit ArmV8 will run as much as 2.5 to 3 times faster than the armhf ! YMMV. But, often trying to mix 32bit and 64bit causes subtleties (nuances) of problems where the two will interfere; although, it is possible to run them together on a 64bit machine ( and folks do that all the time ) I don't recommend it; particularly if the reason is to get an editor ! There is nothing particularly so special about any editor that warrants running 32bit code to get it !
That's just an opinion, ofc.
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )
Okay so before anyone else tries ExaGear + Atom. Not worth it. Performance is really bad. You can start Atom but input lag is few seconds.
Atom, being among the most resource intensive editors in use today, might not be a great choice on this setup. I like Atom a lot, use it at school often... on a light-weight system I theme emacs to resemble Atom.
Do what you will, but be prepared to have your system clobbered.
It works okay with the armhf setup (exagear is x86 emulation?). Takes 55 seconds to start and become responsive with my pile of windows, tabs, and plug-ins. Timecop looks like a bloodbath, haha.
Typing is maybe a 1/4s lag with lots of syntax highlighting stuff enabled.
Still not the same as a "real computer" but a lot better than it sounds like you're getting with exagear. Just plan on burning like 3 hours to get all the armhf stuff set up.