Results 1 to 5 of 5

Thread: do snaps change what any terminal commands do?

  1. #1
    Join Date
    Dec 2015
    Location
    Japan
    Beans
    130
    Distro
    Lubuntu 20.04 Focal Fossa

    do snaps change what any terminal commands do?

    Sorry if this is a dumb question, but I am not a very knowledgeable Linux user...

    Now that *buntu is incorporating snaps, does that change what any commands do?
    For example: does
    Code:
    apt-get update
    function the same with snaps as it did before snaps?

    Basically, I want to know if any terminal commands have to re-learned, ignored, or newly acquired because of snaps.

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    2,627
    Distro
    Ubuntu

    Re: do snaps change what any terminal commands do?

    No, it doesn't work for snaps. Those are periodically updated in the background or manually via commands.

    The "Updates" utility now incorporates snaps updates as part of the routine so you can use just that.

  3. #3
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    4,787

    Re: do snaps change what any terminal commands do?

    Basically, I want to know if any terminal commands have to re-learned, ignored, or newly acquired because of snaps.
    New command:
    The snap command is for managing snap packages. There are many options:

    Code:
    mn@Sydney:~$ snap --help
    The snap command lets you install, configure, refresh and remove snaps.
    Snaps are packages that work across many different Linux distributions,
    enabling secure delivery and operation of the latest apps and utilities.
    
    Usage: snap <command> [<options>...]
    
    Commands can be classified as follows:
    
             Basics: find, info, install, list, remove
            ...more: refresh, revert, switch, disable, enable
            History: changes, tasks, abort, watch
            Daemons: services, start, stop, restart, logs
           Commands: alias, aliases, unalias, prefer
      Configuration: get, set, unset, wait
            Account: login, logout, whoami
        Permissions: connections, interface, connect, disconnect
          Snapshots: saved, save, check-snapshot, restore, forget
              Other: version, warnings, okay, ack, known, model, create-cohort
        Development: run, pack, try, download, prepare-image
    
    For more information about a command, run 'snap help <command>'.
    For a short summary of all commands, run 'snap help --all'.
    Enjoy your snaps!

  4. #4
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,357
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: do snaps change what any terminal commands do?

    Some Deb packages have been replace by a snap installer. Chromium-browser is one of those.
    On later releases, doing a sudo apt install chromium-browser will pull a package down that actually installs a snap version of chromium instead. https://snapcraft.io/blog/chromium-i...nap-transition

    i wouldn't expect the normal, core, Unix commands to be snap-only.

    Some CLI commands are only available as snaps from any repo. Examples are wormhole and lxd. There are others, almost certainly. wormhole is available as a source python package, but manually dealing with the dependencies is fun. There are probably a number of server subsystems that are changing to snaps. I’ve seen a nextcloud snap, for example.

    lxd is a container management front-end. Recently, they added a kvm management capability to it. Think the most recent 2 major releases are only available as snaps - v3.x and v4.x.

  5. #5
    Join Date
    Dec 2015
    Location
    Japan
    Beans
    130
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: do snaps change what any terminal commands do?

    Thanks for all the replies.

Tags for this Thread

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
  •