【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
笔记本自带的Deepin系统如果按照官方指南手动安装,会出现错误:
Your distribution, identified as "camel", is not currently supported
其实官方脚本对Deepin发行版是做了判断的:
check_alt "Deepin" "panda" "Debian" "sid" check_alt "Deepin" "unstable" "Debian" "sid" check_alt "Deepin" "stable" "Debian" "buster"
不明白为什么专业版桌面的Codename改成了camel。至此解决方案很简单:
- 手动修改Codename为“sid”或者“buster”
- 按照官方指南操作
- 手动还原Codename为“camel”
#1 set codename
sudo sed -i 's/camel/buster/g' /etc/lsb-release
#2 follow offical guide
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs
#3 recover
sudo sed -i 's/buster/camel/g' /etc/lsb-release
来源:oschina
链接:https://my.oschina.net/wffger/blog/3146587