最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - bun: libx86_64-linux-gnulibm.so.6: version `GLIBC_2.29' not found (required by bun) - Stack Overflow

programmeradmin5浏览0评论

I am trying to install bun to wsl and have already added

BUN_INSTALL="/home/jack/.bun" 

and

PATH="$BUN_INSTALL/bin:$PATH" 

to

$HOME/.bashrc 

and when I do bun -v the error shows up.

I am trying to install bun to wsl and have already added

BUN_INSTALL="/home/jack/.bun" 

and

PATH="$BUN_INSTALL/bin:$PATH" 

to

$HOME/.bashrc 

and when I do bun -v the error shows up.

Share Improve this question edited Jul 9, 2022 at 22:37 Lee Taylor 7,98416 gold badges37 silver badges53 bronze badges asked Jul 9, 2022 at 5:34 user16466655user16466655 511 gold badge1 silver badge2 bronze badges 3
  • it doesn't work on WSL, its still WIP. – bogdanoff Commented Jul 9, 2022 at 5:41
  • I have seen a lot of tutorials using it in WSL like in this video youtube./watch?v=-deAm_7akK4&t=399s – user16466655 Commented Jul 9, 2022 at 6:18
  • I saw other video, where he couldn't make it work on WSL. Here follow this issue. – bogdanoff Commented Jul 9, 2022 at 7:39
Add a ment  | 

1 Answer 1

Reset to default 3

You might need to upgrade your WSL Ubuntu version. A version that works with Bun is 22.04.

You can check your current version inside a Ubuntu terminal: lsb_release -a

To update:

  1. Go to "Microsoft Store" in the start menu for Windows 10/11.
  2. Download Ubuntu 22.04 LTS

Then proceed to reinstall Bun:

  1. sudo apt install unzip
  2. curl https://bun.sh/install | bash

There's a post about it here

发布评论

评论列表(0)

  1. 暂无评论