在Ubuntu 20上,本来想使用sublime-test 3,离线安装后发现不能输入中文,百度发现其他人也遇到此类问题,后来想安装2,结果发现不能在线安装2这个版本
~$ sudo apt-get install sublime-text=2.0.2
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
无 apt 软件包 "sublime-text",但有一个同名的 snap 软件包
尝试 "snap install sublime-text"
E: 无法定位软件包 sublime-text
~$ sudo snap install sublime-text --stable
错误: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.
sudo snap install sublime-text --stable
错误: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.
sudo snap install sublime-text --stable --classic
偶然发现有个4版本,使用snap安装成功,验证可输入中文