<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.manjaro.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Php4fan</id>
	<title>Manjaro - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.manjaro.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Php4fan"/>
	<link rel="alternate" type="text/html" href="https://wiki.manjaro.org/index.php?title=Special:Contributions/Php4fan"/>
	<updated>2026-05-24T01:32:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.manjaro.org/index.php?title=Snap&amp;diff=49960</id>
		<title>Snap</title>
		<link rel="alternate" type="text/html" href="https://wiki.manjaro.org/index.php?title=Snap&amp;diff=49960"/>
		<updated>2024-01-22T12:04:44Z</updated>

		<summary type="html">&lt;p&gt;Php4fan: fixed missing sudo in command&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages /&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;translate&amp;gt;=== Overview === &amp;lt;!--T:1--&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{FlexSideContainerTemplate|&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
[https://snapcraft.io/ Snaps] are a distro independent method for packaging and distributing Linux software.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
Using software distributed by Snap has a couple of distinct advantages:&lt;br /&gt;
* Software that is not compatible with current system libraries will still work when packaged as a Snap&lt;br /&gt;
* Snaps are automatically updated&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
There are some other considerations to be aware of:&lt;br /&gt;
* Snaps do not always integrate with system themes&lt;br /&gt;
* Snaps may need to install shared run-times which consume disk space&lt;br /&gt;
|[[File:Snapcraft.png|right|250px]]&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{SectionTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:5--&amp;gt; Installing Support for Snaps&amp;lt;/translate&amp;gt;|2=&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
To use Snaps you to install and configure the Snap Daemon.  It is available in the Manjaro repos as {{ic|snapd}}, with {{ic|libpamac-snap-plugin}} and can be installed with your favorite package manager or using the command&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=pamac install snapd libpamac-snap-plugin}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
Once installed, you need to enable snapd using the command:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=sudo systemctl enable --now snapd.socket}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
If you also want support for classic snaps you can use the command:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=sudo ln -s /var/lib/snapd/snap /snap}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{SectionTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:9--&amp;gt; Using Snaps&amp;lt;/translate&amp;gt;|&lt;br /&gt;
&amp;lt;!-- sub 1 --&amp;gt;&lt;br /&gt;
{{SubContentTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt; Managing Snaps via Discover&amp;lt;/translate&amp;gt;|2=&lt;br /&gt;
&lt;br /&gt;
{{FlexSideContainerTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:35--&amp;gt; [[File:Kdediscover.png|400px]]&amp;lt;/translate&amp;gt;|2=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
One way to manage your Snaps is with the application [https://userbase.kde.org/Discover Discover] from the KDE project.  You need a special version of Discover that can be found in the repos to manage snaps.  This is now installed by default in some Manjaro editions that include Discover.  If it isn&amp;#039;t, you can install the package {{ic|discover-snap}} with your favorite package manager or the command:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=pamac install discover-snap}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
Once installed you can run &amp;#039;&amp;#039;&amp;#039;Discover&amp;#039;&amp;#039;&amp;#039; and you will be able to browse and install Snaps with a familiar store interface.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
{{BoxSuccess|tip|Discover can also install and update software from the Manjaro repos if you install the package {{ic|packagekit-qt5}}}}&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
|4=1}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- sub 2 --&amp;gt;&lt;br /&gt;
{{SubContentTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:14--&amp;gt; Managing Snaps via Gnome Software&amp;lt;/translate&amp;gt;|2=&lt;br /&gt;
&lt;br /&gt;
{{FlexSideContainerTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:36--&amp;gt; [[File:Gnomesoftware.png|400px]]&amp;lt;/translate&amp;gt;|2=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
Another way to manage your Snaps is with the application [https://wiki.gnome.org/Apps/Software Gnome Software] from the Gnome project.  You need a special version of Gnome Software that has support for managing snaps.  This now comes pre-installed in several Manjaro editions.  If it isn&amp;#039;t, you can install the package {{ic|gnome-software-snap}} with your favorite package manager or the command:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=pamac install gnome-software-snap}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
Once installed you can run &amp;#039;&amp;#039;&amp;#039;Software&amp;#039;&amp;#039;&amp;#039; and you will be able to browse and install Snaps with a familiar store interface.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
{{BoxSuccess|tip|Gnome Software can also install and update software from the Manjaro repos}}&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
|4=1}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{SectionTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:18--&amp;gt; Managing Snaps via the CLI&amp;lt;/translate&amp;gt;|2=&lt;br /&gt;
&amp;lt;!-- sub 1 --&amp;gt;&lt;br /&gt;
{{SubContentTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:19--&amp;gt; Finding and Installing Snaps&amp;lt;/translate&amp;gt;|&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
You can use the command {{ic|snap search}} to search for available Snaps.  For example, if you wanted to install VLC here is what it might look like:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=snap search vlc}}&lt;br /&gt;
&lt;br /&gt;
 Name            Version                 Publisher  Notes  Summary&lt;br /&gt;
 vlc             3.0.6                   videolan✓  -      The ultimate media player&lt;br /&gt;
 dav1d           0.2.0-1-ge29cb9a        videolan✓  -      AV1 decoder from VideoLAN&lt;br /&gt;
 mjpg-streamer   2.0                     ogra       -      UVC webcam streaming tool&lt;br /&gt;
 audio-recorder  3.0.5+rev1432+pkg-7b07  brlin      -      A free audio-recorder for Linux&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
From this output we can see that VLC and some related applications are avialable.  To install VLC, we would use the command&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=snap install vlc}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
This will install the application as well as any required run-times.  Once the application is installed you should be able to run it from your menu as you would with any application.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
|4=1}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- sub 2 --&amp;gt;&lt;br /&gt;
{{SubContentTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:23--&amp;gt; Displaying Detailed Snap Information&amp;lt;/translate&amp;gt;|&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
You can get more details about a specific Snap using the command {{ic|snap info}}.  For example:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=snap info vlc}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
name:      vlc&lt;br /&gt;
summary:   The ultimate media player&lt;br /&gt;
publisher: VideoLAN✓&lt;br /&gt;
contact:   https://www.videolan.org/support/&lt;br /&gt;
license:   GPL-2.0+&lt;br /&gt;
description: |&lt;br /&gt;
  VLC is the VideoLAN project&amp;#039;s media player.&lt;br /&gt;
  &lt;br /&gt;
  Completely open source and privacy-friendly, it plays every multimedia file and streams.&lt;br /&gt;
  &lt;br /&gt;
  It notably plays MKV, MP4, MPEG, MPEG-2, MPEG-4, DivX, MOV, WMV, QuickTime, WebM, FLAC, MP3,&lt;br /&gt;
  Ogg/Vorbis files, BluRays, DVDs, VCDs, podcasts, and multimedia streams from various network&lt;br /&gt;
  sources. It supports subtitles, closed captions and is translated in numerous languages.&lt;br /&gt;
snap-id: RT9mcUhVsRYrDLG8qnvGiy26NKvv6Qkd&lt;br /&gt;
channels:&lt;br /&gt;
  stable:    3.0.6                      2019-01-10  (770) 212MB -&lt;br /&gt;
  candidate: 3.0.6                      2019-01-10  (770) 212MB -&lt;br /&gt;
  beta:      3.0.6-341-g18d7d08         2019-05-24 (1020) 212MB -&lt;br /&gt;
  edge:      4.0.0-dev-8011-gfdbf7317e0 2019-05-24 (1019) 335MB -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|4=1}}&lt;br /&gt;
&amp;lt;!-- sub 3 --&amp;gt;&lt;br /&gt;
{{SubContentTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:25--&amp;gt; Getting a list of installed Snaps&amp;lt;/translate&amp;gt;|&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
To show a list of all the Snaps and run-times that are currently installed you can use the command:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=snap list}}&lt;br /&gt;
|4=1}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- sub 4 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{SubContentTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:27--&amp;gt; Removing Snaps&amp;lt;/translate&amp;gt;|&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
You can remove Snaps with the command {{ic|snap remove}}.  For example:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=snap remove vlc}}&lt;br /&gt;
|4=1}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- sub 5 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{SubContentTemplate|&amp;lt;translate&amp;gt;&amp;lt;!--T:29--&amp;gt; Removing Snap Support&amp;lt;/translate&amp;gt;|&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
If you want to remove support for snaps from the system, you can do so with a few simple steps.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
First, check if you have {{ic|gnome-software-snap}} or {{ic|discover-snap}} installed.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=pamac list -i | grep snap}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
If you find either of those packages, replace them with the non-snap versions.  For example, if {{ic|gnome-software-snap}} was on that list you can replace it with:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=pamac install gnome-software}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
Next, remove snapd itself&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=pamac remove snapd}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
Optionally, you can also remove the remaining snapd files which would include any installed snaps.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{UserCmd|command=sudo rm -r /var/lib/snapd}}&lt;br /&gt;
|4=1}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Contents Page{{#translation:}}]]&lt;br /&gt;
[[Category:Software Management{{#translation:}}]]&lt;/div&gt;</summary>
		<author><name>Php4fan</name></author>
	</entry>
</feed>