PINE64
VSCODE Help - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: VSCODE Help (/showthread.php?tid=8193)



VSCODE Help - xircledev - 11-04-2019

First off Noob as in, I haven't touched a Linux based machine in a very, very long time and my skills are RUSTY so go easy on me.

I'm trying to install VSCode on my new Pinebook Pro with the hopes of using it for light front-end dev work. I downloaded the Debian version of the package. When I initiate the install I get this error...


"error wrong architecture amd64 run dpkg --add-architecture to add it and update afterwards"

I've done some digging but many of the solutions are 2 and 3 years old and nothing that specifically speaks to the error listed.

What steps should I take to install the amd64 and update as suggested?

Any help is appreciated.

Thanks


RE: VSCODE Help - xalius - 11-04-2019

amd64 is the wrong architecture (it's x86)... Since the Pinebook has an ARM SoC, it uses arm64 as architecture. You can run either arm64 or armhf packages directly, everything else would need an emulator. Check if there are either arm64 packages for VSCODE or how to build it natively.


RE: VSCODE Help - Der Geist der Maschine - 11-04-2019

(11-04-2019, 05:41 PM)xalius Wrote: amd64 is the wrong architecture (it's x86)... Since the Pinebook has an ARM SoC, it uses arm64 as architecture. You can run either arm64 or armhf packages directly, everything else would need an emulator. Check if there are either arm64 packages for VSCODE or how to build it natively.


Chose armhf over arm64 otherwise, I assume, you would need to pull in the arm64 run-time environment (libc etc) as well.


RE: VSCODE Help - Kicou - 11-04-2019

I successfully installed this: https://github.com/headmelted/codebuilds
Check instructions here to install a working version (latest  onejust shows a blank screen) https://github.com/headmelted/codebuilds/issues/64

As indicated in this Github issue, the package that works for me is  code-oss=1.29.0-1539702286


RE: VSCODE Help - xircledev - 11-04-2019

Thanks for the input everyone. I'm going to work on it tonight. Fingers crossed.


RE: VSCODE Help - electriccrowbar - 11-05-2019

(11-04-2019, 08:48 PM)xircledev Wrote: Thanks for the input everyone. I'm going to work on it tonight. Fingers crossed.


I was able to get an older version running in another thread: 

https://forum.pine64.org/showthread.php?tid=8047&pid=51655#pid51655

Code:
# Install package cloud repo
curl -s https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh | sudo bash
# Install code-oss
sudo apt install code-oss=1.29.0-1539702286
# Prevent upgrade
sudo apt-mark hold code-oss



RE: VSCODE Help - ndp - 04-28-2020

(11-05-2019, 11:09 AM)electriccrowbar Wrote:
(11-04-2019, 08:48 PM)xircledev Wrote: Thanks for the input everyone. I'm going to work on it tonight. Fingers crossed.


I was able to get an older version running in another thread: 

https://forum.pine64.org/showthread.php?tid=8047&pid=51655#pid51655

Code:
# Install package cloud repo
curl -s https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh | sudo bash
# Install code-oss
sudo apt install code-oss=1.29.0-1539702286
# Prevent upgrade
sudo apt-mark hold code-oss

Having used this workaround for several months, I decided to try the latest version of headmelted's code-oss on my Ubuntu Mate Pinebook Pro.
I am now running code-oss version 1.45.0-1586135927 (armhf) and all seems to be working fine.


RE: VSCODE Help - appelgriebsch - 04-28-2020

(11-04-2019, 04:46 PM)xircledev Wrote: First off Noob as in, I haven't touched a Linux based machine in a very, very long time and my skills are RUSTY so go easy on me.

I'm trying to install VSCode on my new Pinebook Pro with the hopes of using it for light front-end dev work. I downloaded the Debian version of the package. When I initiate the install I get this error...


"error wrong architecture amd64 run dpkg --add-architecture to add it and update afterwards"

I've done some digging but many of the solutions are 2 and 3 years old and nothing that specifically speaks to the error listed.

What steps should I take to install the amd64 and update as suggested?

Any help is appreciated.

Thanks

I run VSCodium on my Pinebook Pro successfully. It has aarch64 packages on it GitHub page as well as an AUR script for Arch...

https://github.com/VSCodium/vscodium