<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The simplest way is to log out and back in again. We are looking at other options on how to make this easier.<div class=""><br class=""></div><div class=""><div class="">Regards,</div><div class="">Jamie.</div></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 9 Feb 2017, at 09:02, XiaoGuo Liu <<a href="mailto:xiaoguo.liu@canonical.com" class="">xiaoguo.liu@canonical.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Thomas,<div class=""><br class=""></div><div class="">So, an end user needs to manually add the path, right? It is not a little bit straightforward though. I think it would be good to come with detailed instructions.</div><div class=""><br class=""></div><div class="">Thanks & best regards,</div><div class="">XiaoGuo</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Feb 9, 2017 at 4:39 PM, Thomas Voß <span dir="ltr" class=""><<a href="mailto:thomas.voss@canonical.com" target="_blank" class="">thomas.voss@canonical.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><span class="">On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu <span dir="ltr" class=""><<a href="mailto:xiaoguo.liu@canonical.com" target="_blank" class="">xiaoguo.liu@canonical.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">I just tried to install the snapd and installed a hello-world snap app on 14.04 desktop. However, I found a problem. When I un the hello-world, it shows:</div><div class=""><br class=""></div><div class=""><div class="">liuxg@liuxg:/snap/bin$ hello-world</div><div class="">hello-world: command not found</div><div class=""><br class=""></div></div></div></blockquote><div class=""><br class=""></div></span><div class=""><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">This is expected behavior right now. PATH is adjusted in /etc/profile.d/apps-bin-path.<wbr class="">sh (comes with the snapd package). /etc/profile and the entries in /etc/profile.d/* are only considered for login shells. With that, a reboot, logout/login, or sourcing /etc/profile in your current shell will give you the correct PATH setup.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">We are looking into letting the user know when installing the debian package (as opposed to the situation where snapd is already part of the image). See <a href="https://github.com/snapcore/snapd/pull/2819" target="_blank" class="">https://github.com/<wbr class="">snapcore/snapd/pull/2819</a> for reference.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Thanks for testing,</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">  Thomas</div><br class=""></div><div class=""><div class="h5"><div class=""> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div class=""><div class=""></div></div><div class="">Which means that /snap/bin path is not added to the path after installing the core. Also, when I run it under the /snap/bin, it shows:</div><div class=""><br class=""></div><div class=""><div class="">liuxg@liuxg:/snap/bin$ ./hello-world</div><div class="">ERROR: ld.so: object '/lib/$LIB/liblsp.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.</div><div class="">ERROR: ld.so: object '/lib/$LIB/liblsp.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.</div><div class="">Hello World!</div><div class=""><br class=""></div></div><div class="">My desktop info is:</div><div class=""><br class=""></div><div class=""><div class="">liuxg@liuxg:~$ lsb_release -a</div><div class="">No LSB modules are available.</div><div class="">Distributor ID:<span class="m_6385465544835580273gmail-m_-1672777835490676976gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>Ubuntu</div><div class="">Description:<span class="m_6385465544835580273gmail-m_-1672777835490676976gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>Ubuntu 14.04.5 LTS</div><div class="">Release:<span class="m_6385465544835580273gmail-m_-1672777835490676976gmail-Apple-tab-span" style="white-space:pre-wrap">    </span>14.04</div><div class="">Codename:<span class="m_6385465544835580273gmail-m_-1672777835490676976gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>trusty</div><div class=""><br class=""></div></div><div class=""><div class="">liuxg@liuxg:~$ snap list</div><div class="">Name         Version  Rev  Developer  Notes</div><div class="">core         16.04.1  888  canonical  -</div><div class="">hello-world  6.3      27   canonical  -</div><div class=""><br class=""></div></div><div class="">Thanks & best regards,</div><div class="">XiaoGuo</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="m_6385465544835580273gmail-h5">On Wed, Feb 8, 2017 at 5:35 AM, Andrew Mason <span dir="ltr" class=""><<a href="mailto:andrew@miniatureworldmaker.com.au" target="_blank" class="">andrew@miniatureworldmaker.co<wbr class="">m.au</a>></span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="m_6385465544835580273gmail-h5"><div class="">Awesome, i am going to give this a try!<br class=""><br class=""><div class="gmail_quote">On 8 February 2017 8:01:30 am ACDT, Manik Taneja <<a href="mailto:manik@canonical.com" target="_blank" class="">manik@canonical.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth <span dir="ltr" class=""><<a href="mailto:mark@ubuntu.com" target="_blank" class="">mark@ubuntu.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_6385465544835580273gmail-m_-1672777835490676976m_464023181452000248gmail-">On 07/02/17 20:17, Thomas Voß wrote:<br class="">
> <a href="https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xenial/+bug/1655724" rel="noreferrer" target="_blank" class="">https://bugs.launchpad.net/ubu<wbr class="">ntu/+source/xorg-server-lts-xe<wbr class="">nial/+bug/1655724</a><br class="">
> was released to the updates pocket today.<br class="">
<br class="">
</span>Congrats! Quick feedback from folks with Trusty (14.04 LTS) systems,<br class="">
cloud or desktop, would be welcome. Pick a favorite snap and take it for<br class="">
a spin.<br class=""></blockquote><div class="">The experience is very clean now. I just tried on AWS and have RocketChat up and <br class="">running-<br class=""><br class=""><img alt="Inline image 1" width="578" height="348" class=""><br class=""></div><div class="">Kudos to everyone involved in delivering this!<br class=""><br class=""></div><div class="">Cheers,<br class=""></div><div class="">Manik<span class="m_6385465544835580273gmail-m_-1672777835490676976HOEnZb"><font color="#888888" class=""><br class=""></font></span></div></div></div></div><span class="m_6385465544835580273gmail-m_-1672777835490676976HOEnZb"><font color="#888888" class="">
</font></span></blockquote></div><span class="m_6385465544835580273gmail-m_-1672777835490676976HOEnZb"><font color="#888888" class=""><br class="">
-- <br class="">
Sent from my mobile device.</font></span></div><br class=""></div></div><span class="m_6385465544835580273gmail-">--<br class="">
Snapcraft mailing list<br class="">
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank" class="">Snapcraft@lists.snapcraft.io</a><br class="">
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank" class="">https://lists.ubuntu.com/mailm<wbr class="">an/listinfo/snapcraft</a><br class="">
<br class=""></span></blockquote></div><span class="m_6385465544835580273gmail-HOEnZb"><font color="#888888" class=""><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="m_6385465544835580273gmail-m_-1672777835490676976gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">XiaoGuo, Liu </div></div></div></div>
</font></span></div>
<br class="">--<br class="">
Snapcraft mailing list<br class="">
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank" class="">Snapcraft@lists.snapcraft.io</a><br class="">
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank" class="">https://lists.ubuntu.com/mailm<wbr class="">an/listinfo/snapcraft</a><br class="">
<br class=""></blockquote></div></div></div><br class=""></div></div>
<br class="">--<br class="">
Snapcraft mailing list<br class="">
<a href="mailto:Snapcraft@lists.snapcraft.io" class="">Snapcraft@lists.snapcraft.io</a><br class="">
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank" class="">https://lists.ubuntu.com/<wbr class="">mailman/listinfo/snapcraft</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">XiaoGuo, Liu </div></div></div></div>
</div>
-- <br class="">Snapcraft mailing list<br class=""><a href="mailto:Snapcraft@lists.snapcraft.io" class="">Snapcraft@lists.snapcraft.io</a><br class="">Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft<br class=""></div></blockquote></div><br class=""></div></body></html>