[英]What is /snap/bin directory in $PATH? Can I remove it from $PATH?
I am working with environment value, $PATH. 我正在使用环境值$ PATH。 And I found that $PATH includes /snap/bin directory which does not exist.
而且我发现$ PATH包含/ snap / bin目录,该目录不存在。 What does the path work?
路径起作用了吗? Can I remove it from $PATH or should I leave it?
我可以将其从$ PATH中删除还是应该保留? Please give me your suggestion.
请给我您的建议。 Thank you very much?
非常感谢你?
It is a new-new Canonical thing to bundle and distribute applications. 捆绑和分发应用程序是一种全新的规范。 See for example this developer link by Canonical .
例如,请参阅Canonical的此开发人员链接 。
Personally, I also find it somewhat odd that they went into the top-level via /snap
but Oh well . 就我个人而言,我还发现他们通过
/snap
进入了顶层,这有点奇怪,但是哦 。
I may yet come to use it one. 我可能尚未开始使用它。 So far plain
docker
serves me well, besides of course building .deb
package the old-fashioned way. 到目前为止,简单的
docker
服务对我来说很好,除了当然可以用老式的方式构建.deb
包。
As for removing the PATH
entry: it only saves you a few bytes, plus nanoseconds in lookups and may break a future deployment involving snaps. 至于删除
PATH
条目:它仅节省您几个字节,外加10 ns的查找时间,并且可能会中断涉及快照的未来部署。 Your box, your call. 你的盒子,你的电话。 I left mine.
我离开了我
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.