WSL2安装图形界面

#安装wsl
    1# ls
    2# nautilus
    3# sudo apt install nautilus
    
    4  wsl --update
    
    5  sudo apt update
   
    6# apt list --upgradable
    7# sudo apt upgrade -y
    8# sudo apt install gnome-text-editor -y
    9# sudosnap install gnome-text-editor
  
   10  sudo snap install gnome-text-editor
  
   11  sudo apt install gimp -y
   
   12  sudo apt install nautilus -y
   13  cd /usr/lib/wsl
   14  sudo mkdir lib2
   15  sudo ln -s lib/* lib2
   16  sudo vim /etc/ld.so.conf.d/ld.wsl.conf
   17  sudo ldconfig
   
   18  sudo apt install vlc -y
   
   19  sudo apt install x11-apps -y
   
   20  history
#
nautilus

官网参考
12步报错:WSL安装软件报错/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

你可能感兴趣的:(linux)