Xubuntu 16.04 安装了 ubuntu snap 吗?

Xubuntu 16.04 安装了 ubuntu snap 吗?

我最近从 Ubuntu 16.04 beta 2 升级到了 16.04 LTS,并阅读了如何在 Ubuntu 16.04 中安装和删除 Snap 软件包

但是当我运行时snap list我得到了以下输出:

error: no snaps found

Xubuntu 也有 snap 打包吗,还是只适用于 Ubuntu?

输出lsb_release -a

Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:    16.04
Codename:   xenial

答案1

Canonical 发布 Ubuntu 16.04 LTS 第 6 个版本 - Ubuntu 16.04 LTS 增加了新的“snap”应用程序包格式,进一步实现了物联网、移动设备和桌面之间的融合

您只会得到这个输出,因为您当前没有安装 snap 包...执行:

snap find  

输出显示当前可用的包:

Name                   Version                  Summary  
canonical-dragon       0.7.1                    The gadget snap for the dragonboard  
canonical-i386         3.1                      The gadget snap for generic i386 systems  
canonical-pc           3.1                      AMD64 generic package  
canonical-pc-linux     4.4.0-18+20160419.13-26  The ubuntu-core kernel snap  
canonical-pi2          3.2                      Raspberry Pi 2 support package  
go-example-webserver   16.04-4                  Minimal Golang webserver for snappy  
hello-world            6.0                      Hello world example  
http                   4.6692016                HTTPie in a snap  
links                  2.12-1                   Web browser running in text mode  
moon-buggy             1.0.51.9                 Drive a car across the moon  
nmap                   7.12SVN-0.4              Nmap ("Network Mapper") is a free and open source utility for network discovery and security auditing  
notes-dpm              0.0.8+snap1              Note-taking application, write down your thoughts  
shout                  0.53.0                   A self hosted web IRC client  
sshtron                1.0                      multiplayer Tron via ssh  
tor-middle-relay       0.2.7.6-6                Essential infrastructure node for Tor network  
ubuntu-calculator-app  2.1+snap3                Ubuntu Calculator application for the Unity 7 desktop  
ubuntu-clock-app       3.6+snap3                Ubuntu Clock application for the Unity 7 desktop  
ubuntu-core            16.04+20160419.20-55     The ubuntu-core OS snap  
xkcd-webserver         16.04-5                  Show random XKCD compic via a build-in webserver  

要安装 snap 包,请执行:

sudo snap install <package-name>  

安装软件包后,snap list将显示已安装的软件包。

有关所有可用 snap 命令的更多信息,请执行:snap --help

例子 :

sudo snap install nmap  

结果 :

snap list
Name         Version               Developer
nmap         7.12SVN-0.4           joetalbott
ubuntu-core  16.04+20160419.20-55  canonical

相关内容