周末我从 14.04.x 升级到了 16.04 (64 位)。OMGubuntu!刚刚发布了一篇关于如何快速安装 notes 的帖子。
Ctrl+ Alt+T然后
sudo snap install notes
然后输入我的密码..
sudo: snap: command not found
怎么了?我错过了什么?我不想错过这个新的快照乐趣。
答案1
以下操作在我的系统上运行正常:
sudo apt-get install snapd
sudo snap install notes
我需要注销然后重新登录,以便 Dash 找到“Notes”:
笔记:目前存在一些混淆其他Xenial 包名为折断给出的结果为:“使用隐马尔可夫模型从 DNA 序列中定位基因”。如果dpkg
在安装时遇到与此包相关的错误snapd
(特别是覆盖常用名称的手册页),请运行以下命令:
sudo apt-get purge snap
然后你就可以走了:)
应用程序“Notes”可能有点不尽如人意,其他软件包看起来更有希望:
andrew@athens:~$ snap find
Name Version Summary
audovia 3.2.2 Database application for making music using JFugue MusicStrings
beagleblack 3.1 OEM Beagle Bone Black
canonical-dragon 0.7.1 The gadget snap for the dragonboard
canonical-i386 3.1.i386 The gadget snap for generic i386 systems
canonical-pc 3.2 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
john-the-ripper 1.8.0-11765-g9a09113 John the Ripper Jumbo password cracker for Linux
links 2.12-1 Web browser running in text mode
moon-buggy 1.0.51.9 Drive a car across the moon
morse-converter-py 1-2 Simple command-line Morse converter
nmap 7.12SVN-0.4 Nmap ("Network Mapper") is a free and open source utility for network discovery and security auditing
notes 0.0.8~snap3.gita80fd1c Note-taking application, write down your thoughts
shout 0.53.0 A self hosted web IRC client
sshtron 1.0 multiplayer Tron via ssh
tmux 2.3bump1 tmux
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
yacas 1.4.2 Yet Another Computer Algebra System
有趣的时刻即将来临……
答案2
共有 4 个步骤:
sudo rm /etc/apt/preferences.d/nosnap.pref
sudo apt update
sudo apt install snapd
然后,安装您需要的任何东西,例如:
sudo snap install rocketchat-desktop
或者sudo snap install notes
答案3
安装 snappy:
sudo apt install ubuntu-snappy-cli
安装快照:
sudo snap install <package>