のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

wsl vscode install

code.visualstudio.com

$ /usr/share/code/bin/../code: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

askubuntu.com
github.com

$ /usr/share/code/bin/../code: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
m_fujii@None53-Surface:~$ apt-cache show code | grep ^Depends
Depends: libnotify4, libnss3, gnupg, apt, libxkbfile1, libgconf-2-4, libsecret-1-0
m_fujii@None53-Surface:~$
$ ldd /usr/share/code/code | grep not
        libasound.so.2 => not found
$ sudo apt-get install libasound2

github.com