最終更新:2022-12-23 (金) 10:34:41 (482d)  

snap install
Top / snap install

Install snaps on the system

snap install --classic

  • snapソフトウェアを隔離してセキュリティを高めるサンドボックス機能があります。
  • しかしこの制限をかけると使い勝手が悪くなるパッケージがあるので、 そのリスクを承知してインストールをするために –-classic オプションを追加します。
  • 必要なやつでつけないとエラーが表示される

メモ

Visual Studio Code

help

  • Usage:
      snap install [install-OPTIONS] <snap>...
    
    The install command installs the named snaps on the system.
    
    To install multiple instances of the same snap, append an underscore and a
    unique identifier (for each instance) to a snap's name.
    
    With no further options, the snaps are installed tracking the stable channel,
    with strict security confinement. All available channels of a snap are listed in
    its 'snap info' output.
    
    Revision choice via the --revision override requires the user to
    have developer access to the snap, either directly or through the
    store's collaboration feature, and to be logged in (see 'snap help login').
    
    Note that a later refresh will typically undo a revision override, taking the snap
    back to the current revision of the channel it's tracking.
    
    Use --name to set the instance name when installing from snap file.
    
    [install command options]
          --color=[auto|never|always]          Use a little bit of color to highlight some things. (default: auto)
          --unicode=[auto|never|always]        Use a little bit of Unicode to improve legibility. (default: auto)
          --no-wait                            Do not wait for the operation to finish but just print the change id.
          --channel=                           Use this channel instead of stable
          --edge                               Install from the edge channel
          --beta                               Install from the beta channel
          --candidate                          Install from the candidate channel
          --stable                             Install from the stable channel
          --devmode                            Put snap in development mode and disable security confinement
          --jailmode                           Put snap in enforced confinement mode
          --classic                            Put snap in classic mode and disable security confinement
          --revision=                          Install the given revision of a snap, to which you must have developer access
          --dangerous                          Install the given snap file even if there are no pre-acknowledged signatures for it, meaning it was not verified and could be dangerous
                                               (--devmode implies this)
          --unaliased                          Install the given snap without enabling its automatic aliases
          --name=                              Install the snap file under the given instance name
          --cohort=                            Install the snap in the given cohort
          --ignore-validation                  Ignore validation by other snaps blocking the installation
          --transaction=[all-snaps|per-snap]   Have one transaction per-snap or one for all the specified snaps (default: per-snap)