so i bought this raspberry pi a few days
 
ago and i'm really excited about it
 
because i'm going to be installing
 
Ubuntu snappy onto it. Professionally
 
I work as a full-stack software
 
developer and at work we've been
 
experimenting with new containerization
 
technologies like Docker and Vagrant. Now
 
Ubuntu Snappy is really interesting to
 
me because it's like a linux
 
distribution that is based around
 
running containers for docker. I think
 
that you could compare Ubuntu Snappy
 
to something like core OS and if you
 
read anything about Canonical's latest
 
technology
 
snapbacks are kind of like containerized
 
applications which is similar to the way
 
Docker does it but different. Now, Ubuntu
 
snappy or Ubuntu Core as it's
 
also called isn't necessarily a new
 
distribution of Ubuntu. The image is
 
actually based on Ubuntu server it
 
just comes with all the snappy stuff
 
installed. And despite not being a
 
default option when you use new to
 
install an OS onto your Raspberry Pi
 
Canonical makes it really easy to get
 
started with Ubuntu on your Raspberry
 
Pi. so basically what i'm gonna do from
 
here is download the image copy it onto
 
an SD card and boot up into the
 
raspberry pi so it'll install
 
automatically now unlike with Raspbian
 
there's no installer with Ubuntu
 
snappy instead the install happens
 
automatically and it's entirely CLI
 
driven it took about five to ten minutes
 
to install and it seems like an active
 
internet connection is required. now that
 
may not be the case but with my install
 
it got hung up on the step where it was
 
looking for an internet connection and
 
it didn't look like it was going to stop
 
looking until i plugged in my ethernet
 
cable so there were two other odd
 
artifacts that I saw during the install
 
on the initial install it got stuck at
 
this part where it said fixing recursive
 
fault but reboot is needed it got hung
 
up here and honestly I didn't actually
 
try to reboot I just assumed that
 
something went wrong with my SD card so
 
i went ahead reformatted it and try it
 
again after which this error went away
 
and the other weird artifact is once the
 
install is done all of the installation
 
text will go away and you'll see this
 
information about ssh host keys and
 
that's it. You actually have to press
 
ENTER to get to the login prompt but if
 
you don't you'll sit here forever which
 
kinda weird now when i first saw this I
 
thought that something went wrong during
 
the install and i went ahead and
 
rebooted after which I was taken to the
 
login prompt and since the installation
 
is automated
 
you don't get a chance to set
 
your user user password or anything
 
the username is in Ubuntu and the
 
password is Ubuntu. The first thing
 
you'll be asked after logging in is to
 
change your password and you have to
 
make sure to use a somewhat complicated
 
password you can't use just regular
 
dictionary words and once you've logged
 
in
 
it's just like any other Ubuntu that you
 
used now you're free to use Apt or dpkg
 
but the real power in Ubuntu snappy
 
or Ubuntu Core is of course snap
 
now the snap CLI could definitely use
 
some improvement the information that
 
provides a bit sparse and if i were to
 
just type in snap i would kind of expect
 
some sort of help rather than "error
 
please specify one command of" but it
 
does what it needs to do you can search
 
for packages using snap find though an
 
alias for snap search would be good too. a
 
really cool thing that snap provides is
 
the ability to log into private or
 
internal repositories now obviously you
 
can do that with traditional package
 
managers but this is kind of what snap
 
is built around if you ever use
 
programming language specific package
 
managers like NuGet or NPM or even
 
Gem's you should be familiar with this
 
concept and enterprise could have an
 
entire repository of internal tools and
 
libraries that they only want to share
 
internally so the easiest way to do that
 
is to create a private repository is
 
very common and snapped facilitates that
 
very very well so just as a test let's
 
go ahead and install hello
 
so go ahead and install it and then once
 
its installed will type hello
 
and there we go unfortunately I wasn't
 
able to find Nginx which is a bummer
 
i couldn't find any node or JavaScript
 
related stuff at all really
 
i was able to find H top which is kind
 
of an interesting find
 
there's actually a page that you can
 
visit that will show you everything in
 
the snap store and I think that this
 
page is beta but it does allow you to
 
search sort and filter so that's pretty
 
cool can give you an idea of what you
 
can find in snappy which is helpful if
 
you don't know what you're looking for
 
and like i said earlier you can use app
 
to install whatever you need to from the
 
normal repositories you're not locked
 
down to using snap i think in the future
 
they will probably remove the ability to
 
plug into the Ubuntu repositories once Snap
 
becomes more
 
stable but right now there's just not
 
enough in the snap store and having the
 
ability to plug into the repository is
 
actually really beneficial but that's
 
going to wrap this up. so Ubuntu
 
Snappy or Ubuntu Core/Server
 
whatever they're calling it nowadays is
 
really cool
 
it runs really well on the raspberry pi
 
3 in fact I would say that it runs
 
better than raspbian on the raspberry pi
 
3 you can install a desktop environment
 
on this but if you're gonna do that then
 
you might as well just install Ubuntu
 
to mate or something that is lightweight
 
and kind of built for the Raspberry Pi
 
with a desktop environment seems silly
 
to install a desktop environment on this
 
if you like this video leave a like and
 
leave a comment tell me what you thought
 
and yeah thanks for watching
