Ubuntu18.04系統(tǒng)如何安裝和使用snap
snap是一種全新的軟件包管理方式。它與其它包管理器的區(qū)別在于snap安裝的程序互相之間是高度隔離的,減少了互相引用. 避免了很多沖突問題。但是由此帶來的問題就是它占用更多的磁盤空間。那么在ubuntu18.04系統(tǒng)中如何安裝和使用snap呢?本文給出詳細(xì)說明。
1.首先更新軟件列表
sudo apt-get update
2.安裝snap
sudo apt-get install snap sudo apt-get install snapd
3.之后就可以用snap來代替apt管理軟件了
4.搜索要安裝的snap包
sudo snap find hello-world
5.安裝snap包
sudo snap install hello-world
6.查看已安裝snap包
sudo snap list
7.更新已安裝snap包
sudo snap refresh hello-world
沒有找到更新的版本了,無需更新
8.卸載已安裝snap包
sudo snap remove hello-world
版權(quán)保護(hù): 本文「Ubuntu18.04系統(tǒng)如何安裝和使用snap」由 云主機(jī)配置專家 原創(chuàng),轉(zhuǎn)載請(qǐng)保留鏈接: http://www.iqcg.cn/docs/system/795.html