Skip to content

Commit 36cc2c0

Browse files
dkegel-fastlydeadprogram
authored andcommitted
linux.md: correct URL of ARM deb, add tip on running on 64 bit ARM os.
1 parent 6bc53fe commit 36cc2c0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

content/getting-started/install/linux.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ sudo dpkg -i tinygo_0.23.0_amd64.deb
3535
If you are on a Raspberry Pi or other ARM-based Linux computer, you should use this command instead:
3636

3737
```shell
38-
wget https://github.com/tinygo-org/tinygo/releases/download/v0.23.0/tinygo_0.23.0_arm.deb
39-
sudo dpkg -i tinygo_0.23.0_arm.deb
38+
wget https://github.com/tinygo-org/tinygo/releases/download/v0.23.0/tinygo_0.23.0_armhf.deb
39+
sudo dpkg -i tinygo_0.23.0_armhf.deb
4040
```
4141

4242
You will need to ensure that the path to the `tinygo` executable file is in your `PATH` variable.
@@ -52,6 +52,12 @@ $ tinygo version
5252
tinygo version 0.23.0 linux/amd64 (using go version go1.18.1 and LLVM version 14.0.0)
5353
```
5454

55+
If you are on a 64 bit ARM OS, and running tinygo fails with "no such file or directory", you may need to install the 32 bit C++ runtime library, e.g.:
56+
57+
```shell
58+
sudo apt install libstdc++6:armhf
59+
```
60+
5561
If you are only interested in compiling TinyGo code for WebAssembly then you are now done with the installation.
5662

5763
Otherwise, please continue with the installation of the additional requirements for your desired microcontroller.

0 commit comments

Comments
 (0)