snap下载
$ sudo apt update
$ sudo apt install snapd
https://snapcraft.io/docs/installing-snap-on-ubuntu
snap代理
修改配置
sudo systemctl edit snapd
添加如下内容
[Service]
Environment="http_proxy=http://127.0.0.1:7890"
Environment="https_proxy=http://127.0.0.1:7890"
退出方法
ctrl+x
之后回车确认
让systemd重载配置
sudo systemctl daemon-reload
重新启动snap服务
sudo systemctl restart snapd
https://blog.csdn.net/dhkfo66064/article/details/101746378
下载结果
为什么不显示图标或者终端无此命令?
注销重新登录就行