Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Oh Snap!

  1. #1
    Join Date
    Oct 2006
    Beans
    227
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Oh Snap!

    I was not aware of Ubuntu Snap until I read this very short article today

    https://betanews.com/2019/09/19/ubun...5-snaps-linux/

    Do I correctly understand what Snap is?

    Instead of downloading an rpm, deb, etc an linux os would download a snap, a zip file in a format any distro can handle.
    Once downloaded the native package manager would unzip it and distribute the files per the eccentricities of the particular distro?

    Thanks.

  2. #2
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,209
    Distro
    Ubuntu Budgie Development Release

    Re: Oh Snap!

    If using a current version of Ubuntu the terminal is handy for locating and installing snaps. Snap packages pose a security concern for some users, but have had no problems. Some default packages are now snap and to locate them use the snap list command. https://snapcraft.io/store

    Code:
    snap find
    Code:
    snap find package-name
    Code:
    sudo snap install package-name
    Code:
    sudo snap remove package-name
    Code:
     snap list
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  3. #3
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: Oh Snap!

    You don't download them manually; they are installed by the snap manager, which is already installed and ready to go. First thing to install is the snap-store so you can browse the available packages.

    Code:
    snap install snap-store
    note that sudo isn't needed here!
    Last edited by Dennis N; September 19th, 2019 at 08:09 PM.

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,614
    Distro
    Ubuntu

    Re: Oh Snap!

    snaps are not zips.
    snaps are their own file structure.
    snaps require snapd to be installed.

    snaps have their own package management system.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Oh Snap!

    it is kind of like portable apps in windows. not really but they act similarly. self contained and for that reason you can have multiple versions of same app on linux.

    similar stuff: flatpack, appimage, zero install...
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
    User friendly full disk backup: Rescuezilla

  6. #6
    Join Date
    Feb 2009
    Location
    Wasilla, Alaska
    Beans
    583
    Distro
    Kubuntu

    Re: Oh Snap!

    I personally like the idea of Snaps. They are supposed to be completely self-contained, and require no additional dependencies.
    Holy Cripes on Toast!
    Attention is the currency of internet forums. - ticopelp

  7. #7
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,614
    Distro
    Ubuntu

    Re: Oh Snap!

    I think appimages are the only format that are truly (or at least as close to as possible) self-contained.
    Snaps and flatpaks both require runtimes outside of the snaps.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  8. #8
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Oh Snap!

    Quote Originally Posted by deadflowr View Post
    I think appimages are the only format that are truly (or at least as close to as possible) self-contained.
    Snaps and flatpaks both require runtimes outside of the snaps.
    +1 I'm glad you added that.
    The key idea of the AppImage format is one app = one file. Every AppImage contains an app and all the files the app needs to run. In other words, each AppImage has no dependencies other than what is included in the targeted base operating system(s).

    AppImage format is ideal for upstream packaging, which means that you get the software directly from the original author(s) without any intermediaries, exactly in the way the author(s) intended. And quickly.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  9. #9
    Join Date
    Jan 2010
    Location
    Wheeling WV USA
    Beans
    2,023
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Oh Snap!

    the snaps i've seen are too small to be completely self-contained.

    what does "self-contained" mean? that it runs with nothing else needed? not even a kernel? as in a VM? oh wait, it needs a VM?
    Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer

  10. #10
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Oh Snap!

    Quote Originally Posted by Skaperen View Post
    what does "self-contained" mean? that it runs with nothing else needed? not even a kernel? as in a VM? oh wait, it needs a VM?
    it's sand box. stuff inside doesn't affect the OS. yes it seems it does have some overhead.

    kind of similar like jail in BSD or similar but not the same as sand box in Comodo security suite (on windows).

    i wonder, could you then use Ubuntu 12.04 with latest stuff packed in appimage?
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
    User friendly full disk backup: Rescuezilla

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •