[lxc-devel] [linuxcontainers.org/master] Put snaps first in the installation guide
evandandrea on Github
lxc-bot at linuxcontainers.org
Tue Mar 21 16:46:17 UTC 2017
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 513 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170321/a79433c1/attachment.bin>
-------------- next part --------------
From aa9ee29adbdece7d6e41e89dadfb51ba27a88cbb Mon Sep 17 00:00:00 2001
From: Evan Dandrea <evan at dandrea.co.uk>
Date: Tue, 21 Mar 2017 16:43:42 +0000
Subject: [PATCH] Put snaps first as it's the most straightfoward way to get
LXD and covers a few distributions at once.
---
content/lxd/getting-started-cli.md | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/content/lxd/getting-started-cli.md b/content/lxd/getting-started-cli.md
index a0009a7..98be459 100644
--- a/content/lxd/getting-started-cli.md
+++ b/content/lxd/getting-started-cli.md
@@ -1,7 +1,19 @@
![Logo](/static/img/containers.png)
# Installing LXD and the command line tool
-## Ubuntu desktop and Ubuntu server
+
+The simplest way to get the latest version of LXD is to install the snap
+package. This will work regardless of what operating system release you have
+installed. Just check that [snap support is installed](https://snapcraft.io/docs/core/install),
+then run:
+
+ sudo snap install lxd
+
+It should be noted that the server certificate generation can take a long time
+if you're working on a device like the rpi2 so it might be a few minutes before
+LXD will respond to the lxc command.
+
+## Classic packages for Ubuntu desktop and server
Ubuntu 16.04 LTS users can install LXD with:
apt-get install lxd
@@ -31,18 +43,7 @@ making the deamon visible on the network and configuring networking for the cont
sudo lxd init
-## Ubuntu Core (snappy)
-LXD is available for Ubuntu Core as a Snap package in the store.
-You can install it with:
-
- sudo snap install lxd
-
-After that, LXD can be interacted with through the "lxd.lxc" command.
-
-It should be noted that the server certificate generation can take a long time if you're working on a device like
-the rpi2 so it might be a few minutes before LXD will respond to the lxc command.
-
-## Other distributions
+## Classic packages for other distributions
There are currently packages for multiple distributions including Gentoo and, of course, Ubuntu.
Users of other distributions might find it in their package manager too.
More information about the lxc-devel
mailing list