jikexianfeng

参考:https://raspberrypi.stackexchange.com/questions/4745/how-to-uninstall-x-server-and-desktop-manager-when-running-as-headless-server

参考:https://blog.csdn.net/Blears/article/details/105214851

树莓派的BOOT分区是一个只读分区,如果只按上述的方法卸载不成功,所以需要首先执行:

sudo mount -rw -o remount /boot

然后顺序执行:

sudo apt-get install deborphan
sudo apt-get autoremove --purge libx11-.* lxde-.* raspberrypi-artwork xkb-data omxplayer penguinspuzzle sgml-base xml-core alsa-.* cifs-.* samba-.* fonts-.* desktop-* gnome-.*
sudo apt-get autoremove --purge $(deborphan)
sudo apt-get autoremove --purge
sudo apt-get autoclean

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2021-11-09
  • 2022-01-01
  • 2021-07-21
  • 2021-12-30
猜你喜欢
  • 2021-07-17
  • 2022-01-14
  • 2022-12-23
  • 2021-06-04
  • 2021-11-13
相关资源
相似解决方案