$ sudo snap install sublime-text
error: This revision of snap "sublime-text" was published using classic confinement and thus may
perform arbitrary system changes outside of the security sandbox that snaps are usually
confined to, which may put your system at risk.
If you understand and want to proceed repeat the command including --classic.我不明白这个警告,我是否应该安装这个。
当我键入$ subl时,结果
$ subl
Command 'subl' not found, but can be installed with:
sudo snap install sublime-text但是sudo snap install sublime-text没有安装。
发布于 2018-05-24 17:06:29
提到snaps.io文档:
经典限制中的snap作为一个传统打包的应用程序,具有对系统的完全访问权限。与严格和开发模式相反,经典的snap所认为的“/”是主机系统的“/”,而不是核心的“/”。
TL;DR:它的作用就像通常的.deb包一样,可以访问读和写系统的文件,而不像通常的snap包一样,它完全与系统中减去允许的位置隔离开来。
如果要安装,请在命令行传递选项--classic,如下所示:
sudo snap install sublime-text --classic安装与否完全是你的选择。
https://askubuntu.com/questions/1039911
复制相似问题