简体   繁体   English

如何在 ubuntu 上安装 Snap

[英]How to install Snap on ubuntu

I mistakenly uninstalled the inbuilt snap from my Ubuntu, i want to reinstall it, can anybody help me in it.我错误地从我的 Ubuntu 中卸载了内置快照,我想重新安装它,有人可以帮助我吗? i tried researching several websites, but didn't found any way to install snap again.我尝试研究了几个网站,但没有找到任何重新安装 snap 的方法。

Install Snap by "apt install snapd"...通过“apt install snapd”安装Snap...

For Reference : https://ubuntu.com/tutorials/create-your-first-snap#1-overview供参考: https : //ubuntu.com/tutorials/create-your-first-snap#1-overview

Hope it would be useful for you :)希望对你有用:)

Make sure you have updated the local repositories确保您已更新本地存储库

  • sudo apt update && sudo apt upgrade须藤 apt 更新 && 须藤 apt 升级

If you still get into errors like you mentioned above try to run this如果您仍然遇到上面提到的错误,请尝试运行它

  • apt --fix-broken install apt --fix-broken 安装

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM