我设法在 RaspberryPi4 上安装了 Tizen (版本6 /统一),现在我正在尝试安装版本8或更高版本的 NodeJS 。 :
$ curl -O https://nodejs.org/dist/v8.9.4/node-v8.9.4-linux-armv7l.tar.gz
$ tar -xf node-v8.9.4-linux-armv7l.tar.gz --directory /usr/local --strip-components 1
$ cd /usr/local/bin
$ ls
node npm npx
然后我要通过以下方式进行验证:
node -v
但它返回:
bash: /usr/local/bin/node: No such file or directory
我想念什么?
编辑:
$ file /usr/local/bin/node
/usr/local/bin/node: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.26, BuildID[sha1]=a5fb63d28c3df67556a467e16c7f8a22514de1b3, with debug_info, not stripped
$ file /bin/ls
/bin/ls: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, BuildID[sha1]=40037c7fa87a4759ca2a7deee772a008b05cea97, for GNU/Linux 3.2.0, stripped
似乎我需要自己编译。 /lib/ld-linux-armhf.so.3在我的系统中不存在。
答案 0 :(得分:2)
data <- tibble(home_team = c("SF", "KC", "JAX", "WAS", "BUF"),
away_team = c("GB", "CAR", "HOU", "NYG", "SEA"),
home_total = c(21, 25, 30, 22, 23.5),
home_plays = c(65, 64, 63, 57, 60),
away_total = c(30, 22, 25, 22, 25),
away_plays = c(56, 62, 66, 59, 62))