<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=User4708</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=User4708"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/User4708"/>
	<updated>2026-05-03T07:35:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=NVIDIA&amp;diff=22972</id>
		<title>NVIDIA</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=NVIDIA&amp;diff=22972"/>
		<updated>2023-02-15T17:03:40Z</updated>

		<summary type="html">&lt;p&gt;User4708: /* Nouveau */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Nouveau ==&lt;br /&gt;
&#039;&#039;&#039;Nouveau&#039;&#039;&#039; is a open-source driver for NVIDIA GPUs.&lt;br /&gt;
&lt;br /&gt;
=== Wayland ===&lt;br /&gt;
&lt;br /&gt;
Install the following packages as needed:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;mesa-dri-gallium&amp;lt;/code&amp;gt;: &#039;&#039;&#039;necessary&#039;&#039;&#039; Mesa drivers.&lt;br /&gt;
* &amp;lt;code&amp;gt;mesa-va-gallium&amp;lt;/code&amp;gt;: VA-API drivers, for hardware accelerated video encoding and decoding&lt;br /&gt;
&lt;br /&gt;
If driver auto-selection does not work, e.g. no mouse cursor under Sway, manual driver selection might be needed:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;export MESA_LOADER_DRIVER_OVERRIDE=nouveau&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For VA-API:&lt;br /&gt;
* &amp;lt;code&amp;gt;export LIBVA_DRIVER_NAME=nouveau&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Proprietary Driver ==&lt;br /&gt;
&lt;br /&gt;
As of Decemeber 2022 the proprietary NVIDIA driver does not support the [https://musl.libc.org/ musl libc].&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22831</id>
		<title>Flatpak</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22831"/>
		<updated>2023-01-03T05:54:40Z</updated>

		<summary type="html">&lt;p&gt;User4708: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft|More documentation and testing is needed, but everything currently here should be safe to follow.}}&lt;br /&gt;
&lt;br /&gt;
Flatpak is a technology for building and distributing applications with the goal of having a universal package format for all Linux distributons, it is similar to [https://en.wikipedia.org/wiki/Snap_(software) Snap], &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Setup / Installation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;From: https://flatpak.org/setup/Alpine/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Note|To install Flatpak you will need to enable the  Community repository, See: [[Repositories#Managing_repositories|Repositories - Managing repositories]]}}&lt;br /&gt;
&lt;br /&gt;
To install Flatpak run:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add flatpak}}&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended to run flatpak as your user, rather than as root. Therefore, add your user to the flatpak group:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt; flatpak}}&lt;br /&gt;
&lt;br /&gt;
Next you need to add a repository, for this guide we will use the recommended repository, [https://flathub.org Flathub].&lt;br /&gt;
&lt;br /&gt;
{{cmd|flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo}}&lt;br /&gt;
&lt;br /&gt;
Now reboot to complete setup&lt;br /&gt;
&lt;br /&gt;
{{Note|graphical installation of Flatpak apps may not be possible with Alpine.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
To get all of the available options to use with the &#039;&#039;&#039;flatpak&#039;&#039;&#039; command run: &#039;&#039;&#039;flatpak --help&#039;&#039;&#039; or &#039;&#039;&#039;flatpak -h&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search ====&lt;br /&gt;
&lt;br /&gt;
To search for applications run &#039;&#039;&#039;flatpak search &amp;lt;appplicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|flatpak search chromium|Name                   Description                                                        Application ID                        Version       Branch  Remotes&lt;br /&gt;
Chromium Web Browser   The web browser from Chromium project                              org.chromium.Chromium                 96.0.4664.93  stable  flathub&lt;br /&gt;
Chromium B.S.U.        Fast paced, arcade-style, top-scrolling space shooter              net.sourceforge.chromium-bsu          0.9.16.1      stable  flathub&lt;br /&gt;
ungoogled-chromium     A lightweight approach to removing Google web service dependency   com.github.Eloston.UngoogledChromium  96.0.4664.45  stable  flathub}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install ====&lt;br /&gt;
&lt;br /&gt;
To install a package run &#039;&#039;&#039;flatpak install &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install com.github.Eloston.UngoogledChromium|Looking for matches…&lt;br /&gt;
&lt;br /&gt;
com.github.Eloston.UngoogledChromium permissions:&lt;br /&gt;
    ipc             network                 cups                   pulseaudio               wayland                       x11&lt;br /&gt;
    devices         file access [1]         dbus access [2]        bus ownership [3]        system dbus access [4]&lt;br /&gt;
&lt;br /&gt;
    [1] /run/.heim_org.h5l.kcm-socket, home, xdg-run/pipewire-0&lt;br /&gt;
    [2] org.freedesktop.FileManager1, org.freedesktop.Notifications, org.freedesktop.secrets, org.gnome.SessionManager&lt;br /&gt;
    [3] org.mpris.MediaPlayer2.chromium.*&lt;br /&gt;
    [4] org.freedesktop.Avahi, org.freedesktop.UPower&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        ID                                                      Branch             Op            Remote             Download&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium.Codecs             stable             i             flathub              &amp;lt; 1.1 MB&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Locale             stable             i             flathub            &amp;lt; 112.8 kB&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium                    stable             i             flathub            &amp;lt; 119.0 MB&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install chromium|Looking for matches…&lt;br /&gt;
Similar refs found for ‘chromium’ in remote ‘flathub’ (system):&lt;br /&gt;
&lt;br /&gt;
   1) app/net.sourceforge.chromium-bsu/x86_64/stable&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable&lt;br /&gt;
   3) runtime/org.chromium.Chromium.Codecs/x86_64/stable&lt;br /&gt;
   4) app/org.chromium.Chromium/x86_64/stable&lt;br /&gt;
   5) app/com.github.Eloston.UngoogledChromium/x86_64/stable&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-5]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Remove ====&lt;br /&gt;
&lt;br /&gt;
To remove a package run: &#039;&#039;&#039;flatpak remove &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove com.github.Eloston.UngoogledChromium|&lt;br /&gt;
&lt;br /&gt;
        ID                                                     Branch           Op&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium                   stable           r&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Codecs            stable           r&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium.Locale            stable           r&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove chromium|Similar installed refs found for ‘chromium’:&lt;br /&gt;
&lt;br /&gt;
   1) app/com.github.Eloston.UngoogledChromium/x86_64/stable (system)&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable (system)&lt;br /&gt;
   3) All of the above&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-3]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Developers =&lt;br /&gt;
&lt;br /&gt;
* [https://docs.flatpak.org/en/latest/available-runtimes.html Flatpak - available runtimes]&lt;br /&gt;
&lt;br /&gt;
These are all hosted on [https://flathub.org/ Flathub.org].&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
==== Permission errors ====&lt;br /&gt;
&lt;br /&gt;
If you receive errors about permissions then you may need to add your user to the &#039;&#039;&#039;flatpak&#039;&#039;&#039; group, See step two of [[Flatpak#Setup_/_Installation|Setup / Installation]].&lt;br /&gt;
&lt;br /&gt;
{{Note|You may need to log out and log back in or reboot for the group change(s) to take effect}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fixing audio issues ====&lt;br /&gt;
&lt;br /&gt;
If you have a minimal setup and don&#039;t have access to audio devices you will need to set the XDG_RUNTIME_DIR variable. Save the following script in /etc/profile.d/xdg_runtime_dir.sh and re-login to have it set up properly.&lt;br /&gt;
&lt;br /&gt;
 if test -z &amp;quot;${XDG_RUNTIME_DIR}&amp;quot;; then&lt;br /&gt;
   export XDG_RUNTIME_DIR=/tmp/$(id -u)&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
When you launch a Flatpak you will need to start pulseaudio as well:&lt;br /&gt;
{{Cmd|pulseaudio --start &amp;amp;&amp;amp; flatpak run com.example.Example}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [https://flatpak.org/ Flatpak]&lt;br /&gt;
* [https://flathub.org/ Flathub]&lt;br /&gt;
* [https://winepak.github.io/ Winepak]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See Also = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]]&lt;br /&gt;
[[Category: Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=22794</id>
		<title>KDE</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=22794"/>
		<updated>2022-12-21T06:33:35Z</updated>

		<summary type="html">&lt;p&gt;User4708: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:KDEScreenshot.png |thumb |KDE Plasma screenshot.]]&lt;br /&gt;
&lt;br /&gt;
KDE is a software project comprising a desktop environment known as Plasma, a collection of libraries and frameworks known as KDE Frameworks, and several applications known as KDE Applications. Their [https://userbase.kde.org/Welcome_to_KDE_UserBase UserBase wiki] has detailed information about most KDE Applications.&lt;br /&gt;
&lt;br /&gt;
{{Note|the {{Pkg|plasma}} package isn&#039;t available for the &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt; architectures due to the {{Pkg|kdeplasma-addons}} dependency not being available there. However, the rest of Plasma can be installed separately to get a functional desktop.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* [[Installation|Install]] AlpineLinux&lt;br /&gt;
* [[Setting_up_a_new_user#Creating_a_new_user|Create a user account]] (optional but recommended)&lt;br /&gt;
* [[Repositories#Managing_repositories|Enable the Community repository]]&lt;br /&gt;
* [[Alpine_setup_scripts#setup-xorg-base|Install Xorg]]&lt;br /&gt;
&lt;br /&gt;
{{Note|[[Wayland]] can be used but may be less stable and Plasma may still require Xorg}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
==== Standard plasma installation ====&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add plasma elogind polkit-elogind dbus}}&lt;br /&gt;
&lt;br /&gt;
This will install the required Plasma packages, {{Pkg|sddm}} and pre-configure it to use the Breeze theme.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lightweight plasma installation ====&lt;br /&gt;
&lt;br /&gt;
Alternatively, a smaller installation can be done:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add plasma-desktop systemsettings sddm breeze elogind polkit-elogind dbus}}&lt;br /&gt;
&lt;br /&gt;
{{Note|If you are missing something that is in a standard Plasma installation check out the dependencies of the {{Pkg|plasma}} package because it is likely you will find whatever your missing there.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For both installation methods you need to enable the following services:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-update add dbus}}&lt;br /&gt;
{{Cmd|# rc-update add elogind}}&lt;br /&gt;
{{Cmd|# rc-update add polkit}}&lt;br /&gt;
{{Cmd|# rc-update add udev}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|&#039;&#039;&#039;polkit&#039;&#039;&#039; and &#039;&#039;&#039;udev&#039;&#039;&#039; are technically optional (or have other alternatives) but if they are not installed/started features (or the system) may not work properly, modify this at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE Applications ==&lt;br /&gt;
&lt;br /&gt;
To install the full set of KDE Applications, install {{Pkg|kde-applications}}. You can also choose to install a smaller set of applications by installing any of the subpackages:&lt;br /&gt;
&lt;br /&gt;
* {{Pkg|kde-applications-accessibility}}&lt;br /&gt;
* {{Pkg|kde-applications-admin}}&lt;br /&gt;
* {{Pkg|kde-applications-base}}&lt;br /&gt;
* {{Pkg|kde-applications-edu}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-games}}&lt;br /&gt;
* {{Pkg|kde-applications-graphics}}&lt;br /&gt;
* {{Pkg|kde-applications-multimedia}}&lt;br /&gt;
* {{Pkg|kde-applications-network}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-pim}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-sdk}}&lt;br /&gt;
* {{Pkg|kde-applications-utils}}&lt;br /&gt;
* {{Pkg|kde-applications-webdev}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Starting Plasma ==&lt;br /&gt;
&lt;br /&gt;
Plasma can be started using a display manager or from the console.&lt;br /&gt;
&lt;br /&gt;
==== Using a display manager ====&lt;br /&gt;
&lt;br /&gt;
When Plasma is installed via the {{Pkg|plasma}} meta-package, the display manager is set up using {{Pkg|sddm}}.&lt;br /&gt;
&lt;br /&gt;
Make sure you enable and start the SDDM service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rc-update add sddm&lt;br /&gt;
rc-service sddm start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Select &#039;&#039;Plasma&#039;&#039; to launch a new session in Wayland&lt;br /&gt;
* Select &#039;&#039;Plasma (X11)&#039;&#039; to launch a new session in Xorg&lt;br /&gt;
&lt;br /&gt;
==== From the console ====&lt;br /&gt;
&lt;br /&gt;
The Xorg session can be launched by installing {{Pkg|xinit}} and appending &amp;lt;code&amp;gt;exec startplasma-x11&amp;lt;/code&amp;gt; to your &amp;lt;code&amp;gt;.xinitrc&amp;lt;/code&amp;gt; file. To start X:&lt;br /&gt;
{{Cmd|xinit}}&lt;br /&gt;
&lt;br /&gt;
For the Wayland session run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Installation#Post-Installation|Post installation]]&lt;br /&gt;
* [[Flatpak]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=NVIDIA&amp;diff=22793</id>
		<title>NVIDIA</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=NVIDIA&amp;diff=22793"/>
		<updated>2022-12-21T06:27:45Z</updated>

		<summary type="html">&lt;p&gt;User4708: Added the drivers category and added info to the Proprietary Drivers section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Nouveau ==&lt;br /&gt;
&#039;&#039;&#039;Nouveau&#039;&#039;&#039; is the open-source driver for NVIDIA GPUs.&lt;br /&gt;
&lt;br /&gt;
=== Wayland ===&lt;br /&gt;
&lt;br /&gt;
Install the following packages as needed:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;mesa-dri-gallium&amp;lt;/code&amp;gt;: &#039;&#039;&#039;necessary&#039;&#039;&#039; Mesa drivers.&lt;br /&gt;
* &amp;lt;code&amp;gt;mesa-va-gallium&amp;lt;/code&amp;gt;: VA-API drivers, for hardware accelerated video encoding and decoding&lt;br /&gt;
&lt;br /&gt;
If driver auto-selection does not work, e.g. no mouse cursor under Sway, manual driver selection might be needed:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;export MESA_LOADER_DRIVER_OVERRIDE=nouveau&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For VA-API:&lt;br /&gt;
* &amp;lt;code&amp;gt;export LIBVA_DRIVER_NAME=nouveau&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Proprietary Driver ==&lt;br /&gt;
&lt;br /&gt;
As of Decemeber 2022 the proprietary NVIDIA driver does not support the [https://musl.libc.org/ musl libc].&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Nvidia_Video&amp;diff=22792</id>
		<title>Nvidia Video</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Nvidia_Video&amp;diff=22792"/>
		<updated>2022-12-21T06:12:52Z</updated>

		<summary type="html">&lt;p&gt;User4708: User4708 moved page Nvidia Video to NVIDIA: NVIDIA is more inline with other Linux distro docs - NVIDIA is spelled in captial letters on the NVIDA website&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[NVIDIA]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=NVIDIA&amp;diff=22791</id>
		<title>NVIDIA</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=NVIDIA&amp;diff=22791"/>
		<updated>2022-12-21T06:12:52Z</updated>

		<summary type="html">&lt;p&gt;User4708: User4708 moved page Nvidia Video to NVIDIA: NVIDIA is more inline with other Linux distro docs - NVIDIA is spelled in captial letters on the NVIDA website&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Nouveau ==&lt;br /&gt;
&#039;&#039;&#039;Nouveau&#039;&#039;&#039; is the open-source driver for NVIDIA GPUs.&lt;br /&gt;
&lt;br /&gt;
=== Wayland ===&lt;br /&gt;
&lt;br /&gt;
Install the following packages as needed:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;mesa-dri-gallium&amp;lt;/code&amp;gt;: &#039;&#039;&#039;necessary&#039;&#039;&#039; Mesa drivers.&lt;br /&gt;
* &amp;lt;code&amp;gt;mesa-va-gallium&amp;lt;/code&amp;gt;: VA-API drivers, for hardware accelerated video encoding and decoding&lt;br /&gt;
&lt;br /&gt;
If driver auto-selection does not work, e.g. no mouse cursor under Sway, manual driver selection might be needed:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;export MESA_LOADER_DRIVER_OVERRIDE=nouveau&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For VA-API:&lt;br /&gt;
* &amp;lt;code&amp;gt;export LIBVA_DRIVER_NAME=nouveau&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Proprietary Driver ==&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=22769</id>
		<title>KDE</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=22769"/>
		<updated>2022-12-13T18:24:04Z</updated>

		<summary type="html">&lt;p&gt;User4708: Changed link to reflect changes made to the Repositories page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:KDEScreenshot.png |thumb |KDE Plasma screenshot.]]&lt;br /&gt;
&lt;br /&gt;
KDE is a software project comprising a desktop environment known as Plasma, a collection of libraries and frameworks known as KDE Frameworks, and several applications known as KDE Applications. Their [https://userbase.kde.org/Welcome_to_KDE_UserBase UserBase wiki] has detailed information about most KDE Applications.&lt;br /&gt;
&lt;br /&gt;
{{Note|the {{Pkg|plasma}} package isn&#039;t available for the &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt; architectures due to the {{Pkg|kdeplasma-addons}} dependency not being available there. However, the rest of Plasma can be installed separately to get a functional desktop.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* [[Installation|Install]] AlpineLinux&lt;br /&gt;
* [[Setting_up_a_new_user#Creating_a_new_user|Create a user account]] (optional but recommended)&lt;br /&gt;
* [[Repositories#Managing_repositories|Enable the Community repository]]&lt;br /&gt;
* [[Alpine_setup_scripts#setup-xorg-base|Install Xorg]]&lt;br /&gt;
&lt;br /&gt;
{{Note|[[Wayland]] can be used but may be less stable and Plasma may still require Xorg}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
==== Standard plasma installation ====&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add plasma elogind polkit-elogind dbus}}&lt;br /&gt;
&lt;br /&gt;
This will install the required Plasma packages, {{Pkg|sddm}} and pre-configure it to use the Breeze theme.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lightweight plasma installation ====&lt;br /&gt;
&lt;br /&gt;
Alternatively, a smaller installation can be done:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add plasma-desktop systemsettings sddm breeze elogind polkit-elogind dbus}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|If you are missing something that is in a standard Plasma installation check out the dependencies of the {{Pkg|plasma}} package because it is likely you will find whatever your missing there.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For both installation methods you need to enable the following services:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-update add dbus}}&lt;br /&gt;
{{Cmd|# rc-update add elogind}}&lt;br /&gt;
{{Cmd|# rc-update add polkit}}&lt;br /&gt;
{{Cmd|# rc-update add udev}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|&#039;&#039;&#039;polkit&#039;&#039;&#039; and &#039;&#039;&#039;udev&#039;&#039;&#039; are technically optional (or have other alternatives) but if they are not installed/started features (or the system) may not work properly, modify this at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE Applications ==&lt;br /&gt;
&lt;br /&gt;
To install the full set of KDE Applications, install {{Pkg|kde-applications}}. You can also choose to install a smaller set of applications by installing any of the subpackages:&lt;br /&gt;
&lt;br /&gt;
* {{Pkg|kde-applications-accessibility}}&lt;br /&gt;
* {{Pkg|kde-applications-admin}}&lt;br /&gt;
* {{Pkg|kde-applications-base}}&lt;br /&gt;
* {{Pkg|kde-applications-edu}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-games}}&lt;br /&gt;
* {{Pkg|kde-applications-graphics}}&lt;br /&gt;
* {{Pkg|kde-applications-multimedia}}&lt;br /&gt;
* {{Pkg|kde-applications-network}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-pim}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-sdk}}&lt;br /&gt;
* {{Pkg|kde-applications-utils}}&lt;br /&gt;
* {{Pkg|kde-applications-webdev}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Starting Plasma ==&lt;br /&gt;
&lt;br /&gt;
Plasma can be started using a display manager or from the console.&lt;br /&gt;
&lt;br /&gt;
==== Using a display manager ====&lt;br /&gt;
&lt;br /&gt;
When Plasma is installed via the {{Pkg|plasma}} meta-package, the display manager is set up using {{Pkg|sddm}}.&lt;br /&gt;
&lt;br /&gt;
Make sure you enable and start the SDDM service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rc-update add sddm&lt;br /&gt;
rc-service sddm start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Select &#039;&#039;Plasma&#039;&#039; to launch a new session in Wayland&lt;br /&gt;
* Select &#039;&#039;Plasma (X11)&#039;&#039; to launch a new session in Xorg&lt;br /&gt;
&lt;br /&gt;
==== From the console ====&lt;br /&gt;
&lt;br /&gt;
The Xorg session can be launched by installing {{Pkg|xinit}} and appending &amp;lt;code&amp;gt;exec startplasma-x11&amp;lt;/code&amp;gt; to your &amp;lt;code&amp;gt;.xinitrc&amp;lt;/code&amp;gt; file. To start X:&lt;br /&gt;
{{Cmd|xinit}}&lt;br /&gt;
&lt;br /&gt;
For the Wayland session run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Installation#Post-Installation|Post installation]]&lt;br /&gt;
* [[Flatpak]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22768</id>
		<title>Flatpak</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22768"/>
		<updated>2022-12-13T18:22:25Z</updated>

		<summary type="html">&lt;p&gt;User4708: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft|More documentation and testing is needed, but everything currently here should be safe to follow.}}&lt;br /&gt;
&lt;br /&gt;
Flatpak is a technology for building and distributing applications with the goal of having a universal package format for all Linux distributons, it is similar to [https://en.wikipedia.org/wiki/Snappy_(package_manager) Snap], &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Setup / Installation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;From: https://flatpak.org/setup/Alpine/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Note|To install Flatpak you will need to enable the  Community repository, See: [[Repositories#Managing_repositories|Repositories - Managing repositories]]}}&lt;br /&gt;
&lt;br /&gt;
To install Flatpak run:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add flatpak}}&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended to run flatpak as your user, rather than as root. Therefore, add your user to the flatpak group:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt; flatpak}}&lt;br /&gt;
&lt;br /&gt;
Next you need to add a repository, for this guide we will use the recommended repository, [https://flathub.org Flathub].&lt;br /&gt;
&lt;br /&gt;
{{cmd|flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo}}&lt;br /&gt;
&lt;br /&gt;
Now reboot to complete setup&lt;br /&gt;
&lt;br /&gt;
{{Note|graphical installation of Flatpak apps may not be possible with Alpine.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
To get all of the available options to use with the &#039;&#039;&#039;flatpak&#039;&#039;&#039; command run: &#039;&#039;&#039;flatpak --help&#039;&#039;&#039; or &#039;&#039;&#039;flatpak -h&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search ====&lt;br /&gt;
&lt;br /&gt;
To search for applications run &#039;&#039;&#039;flatpak search &amp;lt;appplicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|flatpak search chromium|Name                   Description                                                        Application ID                        Version       Branch  Remotes&lt;br /&gt;
Chromium Web Browser   The web browser from Chromium project                              org.chromium.Chromium                 96.0.4664.93  stable  flathub&lt;br /&gt;
Chromium B.S.U.        Fast paced, arcade-style, top-scrolling space shooter              net.sourceforge.chromium-bsu          0.9.16.1      stable  flathub&lt;br /&gt;
ungoogled-chromium     A lightweight approach to removing Google web service dependency   com.github.Eloston.UngoogledChromium  96.0.4664.45  stable  flathub}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install ====&lt;br /&gt;
&lt;br /&gt;
To install a package run &#039;&#039;&#039;flatpak install &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install com.github.Eloston.UngoogledChromium|Looking for matches…&lt;br /&gt;
&lt;br /&gt;
com.github.Eloston.UngoogledChromium permissions:&lt;br /&gt;
    ipc             network                 cups                   pulseaudio               wayland                       x11&lt;br /&gt;
    devices         file access [1]         dbus access [2]        bus ownership [3]        system dbus access [4]&lt;br /&gt;
&lt;br /&gt;
    [1] /run/.heim_org.h5l.kcm-socket, home, xdg-run/pipewire-0&lt;br /&gt;
    [2] org.freedesktop.FileManager1, org.freedesktop.Notifications, org.freedesktop.secrets, org.gnome.SessionManager&lt;br /&gt;
    [3] org.mpris.MediaPlayer2.chromium.*&lt;br /&gt;
    [4] org.freedesktop.Avahi, org.freedesktop.UPower&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        ID                                                      Branch             Op            Remote             Download&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium.Codecs             stable             i             flathub              &amp;lt; 1.1 MB&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Locale             stable             i             flathub            &amp;lt; 112.8 kB&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium                    stable             i             flathub            &amp;lt; 119.0 MB&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install chromium|Looking for matches…&lt;br /&gt;
Similar refs found for ‘chromium’ in remote ‘flathub’ (system):&lt;br /&gt;
&lt;br /&gt;
   1) app/net.sourceforge.chromium-bsu/x86_64/stable&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable&lt;br /&gt;
   3) runtime/org.chromium.Chromium.Codecs/x86_64/stable&lt;br /&gt;
   4) app/org.chromium.Chromium/x86_64/stable&lt;br /&gt;
   5) app/com.github.Eloston.UngoogledChromium/x86_64/stable&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-5]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Remove ====&lt;br /&gt;
&lt;br /&gt;
To remove a package run: &#039;&#039;&#039;flatpak remove &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove com.github.Eloston.UngoogledChromium|&lt;br /&gt;
&lt;br /&gt;
        ID                                                     Branch           Op&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium                   stable           r&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Codecs            stable           r&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium.Locale            stable           r&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove chromium|Similar installed refs found for ‘chromium’:&lt;br /&gt;
&lt;br /&gt;
   1) app/com.github.Eloston.UngoogledChromium/x86_64/stable (system)&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable (system)&lt;br /&gt;
   3) All of the above&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-3]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Developers =&lt;br /&gt;
&lt;br /&gt;
* [https://docs.flatpak.org/en/latest/available-runtimes.html Flatpak - available runtimes]&lt;br /&gt;
&lt;br /&gt;
These are all hosted on [https://flathub.org/ Flathub.org].&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
==== Permission errors ====&lt;br /&gt;
&lt;br /&gt;
If you receive errors about permissions then you may need to add your user to the &#039;&#039;&#039;flatpak&#039;&#039;&#039; group, See step two of [[Flatpak#Setup_/_Installation|Setup / Installation]].&lt;br /&gt;
&lt;br /&gt;
{{Note|You may need to log out and log back in or reboot for the group change(s) to take effect}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fixing audio issues ====&lt;br /&gt;
&lt;br /&gt;
If you have a minimal setup and don&#039;t have access to audio devices you will need to set the XDG_RUNTIME_DIR variable. Save the following script in /etc/profile.d/xdg_runtime_dir.sh and re-login to have it set up properly.&lt;br /&gt;
&lt;br /&gt;
 if test -z &amp;quot;${XDG_RUNTIME_DIR}&amp;quot;; then&lt;br /&gt;
   export XDG_RUNTIME_DIR=/tmp/$(id -u)&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
When you launch a Flatpak you will need to start pulseaudio as well:&lt;br /&gt;
{{Cmd|pulseaudio --start &amp;amp;&amp;amp; flatpak run com.example.Example}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [https://flatpak.org/ Flatpak]&lt;br /&gt;
* [https://flathub.org/ Flathub]&lt;br /&gt;
* [https://winepak.github.io/ Winepak]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See Also = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]]&lt;br /&gt;
[[Category: Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22767</id>
		<title>Flatpak</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22767"/>
		<updated>2022-12-13T18:21:02Z</updated>

		<summary type="html">&lt;p&gt;User4708: /* Setup / Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft|More documentation and testing is needed, but everything currently here should be safe to follow.}}&lt;br /&gt;
&lt;br /&gt;
Flatpak is a technology for building and distributing applications with the goal of having a universal package format for all Linux distributons, it is similar to [https://en.wikipedia.org/wiki/Snappy_(package_manager) Snap], &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Setup / Installation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;From: https://flatpak.org/setup/Alpine/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Note|To install Flatpak you will need to enable the  Community repository, See: [[Repositories#Managing_repositories|Repositories - Managing repositories]]}}&lt;br /&gt;
&lt;br /&gt;
To install Flatpak run:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add flatpak}}&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended to run flatpak as your user, rather than as root. Therefore, add your user to the flatpak group:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt; flatpak}}&lt;br /&gt;
&lt;br /&gt;
Next you need to add a repository, for this guide we will use the recommended repository, [https://flathub.org Flathub].&lt;br /&gt;
&lt;br /&gt;
{{cmd|flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo}}&lt;br /&gt;
&lt;br /&gt;
Now reboot to complete setup&lt;br /&gt;
&lt;br /&gt;
{{Note|graphical installation of Flatpak apps may not be possible with Alpine.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
To get all of the available options to use with the &#039;&#039;&#039;flatpak&#039;&#039;&#039; command run: &#039;&#039;&#039;flatpak --help&#039;&#039;&#039; or &#039;&#039;&#039;flatpak -h&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search ====&lt;br /&gt;
&lt;br /&gt;
To search for applications run &#039;&#039;&#039;flatpak search &amp;lt;appplicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|flatpak search chromium|Name                   Description                                                        Application ID                        Version       Branch  Remotes&lt;br /&gt;
Chromium Web Browser   The web browser from Chromium project                              org.chromium.Chromium                 96.0.4664.93  stable  flathub&lt;br /&gt;
Chromium B.S.U.        Fast paced, arcade-style, top-scrolling space shooter              net.sourceforge.chromium-bsu          0.9.16.1      stable  flathub&lt;br /&gt;
ungoogled-chromium     A lightweight approach to removing Google web service dependency   com.github.Eloston.UngoogledChromium  96.0.4664.45  stable  flathub}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install ====&lt;br /&gt;
&lt;br /&gt;
To install a package run &#039;&#039;&#039;flatpak install &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install com.github.Eloston.UngoogledChromium|Looking for matches…&lt;br /&gt;
&lt;br /&gt;
com.github.Eloston.UngoogledChromium permissions:&lt;br /&gt;
    ipc             network                 cups                   pulseaudio               wayland                       x11&lt;br /&gt;
    devices         file access [1]         dbus access [2]        bus ownership [3]        system dbus access [4]&lt;br /&gt;
&lt;br /&gt;
    [1] /run/.heim_org.h5l.kcm-socket, home, xdg-run/pipewire-0&lt;br /&gt;
    [2] org.freedesktop.FileManager1, org.freedesktop.Notifications, org.freedesktop.secrets, org.gnome.SessionManager&lt;br /&gt;
    [3] org.mpris.MediaPlayer2.chromium.*&lt;br /&gt;
    [4] org.freedesktop.Avahi, org.freedesktop.UPower&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        ID                                                      Branch             Op            Remote             Download&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium.Codecs             stable             i             flathub              &amp;lt; 1.1 MB&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Locale             stable             i             flathub            &amp;lt; 112.8 kB&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium                    stable             i             flathub            &amp;lt; 119.0 MB&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install chromium|Looking for matches…&lt;br /&gt;
Similar refs found for ‘chromium’ in remote ‘flathub’ (system):&lt;br /&gt;
&lt;br /&gt;
   1) app/net.sourceforge.chromium-bsu/x86_64/stable&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable&lt;br /&gt;
   3) runtime/org.chromium.Chromium.Codecs/x86_64/stable&lt;br /&gt;
   4) app/org.chromium.Chromium/x86_64/stable&lt;br /&gt;
   5) app/com.github.Eloston.UngoogledChromium/x86_64/stable&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-5]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Remove ====&lt;br /&gt;
&lt;br /&gt;
To remove a package run: &#039;&#039;&#039;flatpak remove &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove com.github.Eloston.UngoogledChromium|&lt;br /&gt;
&lt;br /&gt;
        ID                                                     Branch           Op&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium                   stable           r&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Codecs            stable           r&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium.Locale            stable           r&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove chromium|Similar installed refs found for ‘chromium’:&lt;br /&gt;
&lt;br /&gt;
   1) app/com.github.Eloston.UngoogledChromium/x86_64/stable (system)&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable (system)&lt;br /&gt;
   3) All of the above&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-3]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Developers =&lt;br /&gt;
&lt;br /&gt;
* [https://docs.flatpak.org/en/latest/available-runtimes.html Flatpak - available runtimes]&lt;br /&gt;
&lt;br /&gt;
These are all hosted on [https://flathub.org/ Flathub.org].&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
==== Permission errors ====&lt;br /&gt;
&lt;br /&gt;
If you receive errors about permissions then you may need to add your user to the &#039;&#039;&#039;flatpak&#039;&#039;&#039; group, see step two of [[Flatpak#Setup_/_Installation|Setup / Installation]].&lt;br /&gt;
&lt;br /&gt;
{{Note|You may need to log out and log back in or reboot for the group change(s) to take effect}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fixing audio issues ====&lt;br /&gt;
&lt;br /&gt;
If you have a minimal setup and don&#039;t have access to audio devices you will need to set the XDG_RUNTIME_DIR variable. Save the following script in /etc/profile.d/xdg_runtime_dir.sh and re-login to have it set up properly.&lt;br /&gt;
&lt;br /&gt;
 if test -z &amp;quot;${XDG_RUNTIME_DIR}&amp;quot;; then&lt;br /&gt;
   export XDG_RUNTIME_DIR=/tmp/$(id -u)&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
When you launch a Flatpak you will need to start pulseaudio as well:&lt;br /&gt;
{{Cmd|pulseaudio --start &amp;amp;&amp;amp; flatpak run com.example.Example}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [https://flatpak.org/ Flatpak]&lt;br /&gt;
* [https://flathub.org/ Flathub]&lt;br /&gt;
* [https://winepak.github.io/ Winepak]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See Also = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]]&lt;br /&gt;
[[Category: Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22766</id>
		<title>Flatpak</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22766"/>
		<updated>2022-12-13T18:20:07Z</updated>

		<summary type="html">&lt;p&gt;User4708: Removed repeated &amp;quot;adduser &amp;lt;YourUsername&amp;gt; flatpak&amp;quot; and replaced it with a link back to step 2 of Setup / Installation which already covers this.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft|More documentation and testing is needed, but everything currently here should be safe to follow.}}&lt;br /&gt;
&lt;br /&gt;
Flatpak is a technology for building and distributing applications with the goal of having a universal package format for all Linux distributons, it is similar to [https://en.wikipedia.org/wiki/Snappy_(package_manager) Snap], &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Setup / Installation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;From: https://flatpak.org/setup/Alpine/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To install Flatpak you will need to enable the  Community repository, See: [[Repositories#Managing_repositories|Repositories - Managing repositories]]&lt;br /&gt;
&lt;br /&gt;
To install Flatpak run:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add flatpak}}&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended to run flatpak as your user, rather than as root. Therefore, add your user to the flatpak group:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt; flatpak}}&lt;br /&gt;
&lt;br /&gt;
Next you need to add a repository, for this guide we will use the recommended repository, [https://flathub.org Flathub].&lt;br /&gt;
&lt;br /&gt;
{{cmd|flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo}}&lt;br /&gt;
&lt;br /&gt;
Now reboot to complete setup&lt;br /&gt;
&lt;br /&gt;
{{Note|graphical installation of Flatpak apps may not be possible with Alpine.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
To get all of the available options to use with the &#039;&#039;&#039;flatpak&#039;&#039;&#039; command run: &#039;&#039;&#039;flatpak --help&#039;&#039;&#039; or &#039;&#039;&#039;flatpak -h&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search ====&lt;br /&gt;
&lt;br /&gt;
To search for applications run &#039;&#039;&#039;flatpak search &amp;lt;appplicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|flatpak search chromium|Name                   Description                                                        Application ID                        Version       Branch  Remotes&lt;br /&gt;
Chromium Web Browser   The web browser from Chromium project                              org.chromium.Chromium                 96.0.4664.93  stable  flathub&lt;br /&gt;
Chromium B.S.U.        Fast paced, arcade-style, top-scrolling space shooter              net.sourceforge.chromium-bsu          0.9.16.1      stable  flathub&lt;br /&gt;
ungoogled-chromium     A lightweight approach to removing Google web service dependency   com.github.Eloston.UngoogledChromium  96.0.4664.45  stable  flathub}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install ====&lt;br /&gt;
&lt;br /&gt;
To install a package run &#039;&#039;&#039;flatpak install &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install com.github.Eloston.UngoogledChromium|Looking for matches…&lt;br /&gt;
&lt;br /&gt;
com.github.Eloston.UngoogledChromium permissions:&lt;br /&gt;
    ipc             network                 cups                   pulseaudio               wayland                       x11&lt;br /&gt;
    devices         file access [1]         dbus access [2]        bus ownership [3]        system dbus access [4]&lt;br /&gt;
&lt;br /&gt;
    [1] /run/.heim_org.h5l.kcm-socket, home, xdg-run/pipewire-0&lt;br /&gt;
    [2] org.freedesktop.FileManager1, org.freedesktop.Notifications, org.freedesktop.secrets, org.gnome.SessionManager&lt;br /&gt;
    [3] org.mpris.MediaPlayer2.chromium.*&lt;br /&gt;
    [4] org.freedesktop.Avahi, org.freedesktop.UPower&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        ID                                                      Branch             Op            Remote             Download&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium.Codecs             stable             i             flathub              &amp;lt; 1.1 MB&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Locale             stable             i             flathub            &amp;lt; 112.8 kB&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium                    stable             i             flathub            &amp;lt; 119.0 MB&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install chromium|Looking for matches…&lt;br /&gt;
Similar refs found for ‘chromium’ in remote ‘flathub’ (system):&lt;br /&gt;
&lt;br /&gt;
   1) app/net.sourceforge.chromium-bsu/x86_64/stable&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable&lt;br /&gt;
   3) runtime/org.chromium.Chromium.Codecs/x86_64/stable&lt;br /&gt;
   4) app/org.chromium.Chromium/x86_64/stable&lt;br /&gt;
   5) app/com.github.Eloston.UngoogledChromium/x86_64/stable&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-5]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Remove ====&lt;br /&gt;
&lt;br /&gt;
To remove a package run: &#039;&#039;&#039;flatpak remove &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove com.github.Eloston.UngoogledChromium|&lt;br /&gt;
&lt;br /&gt;
        ID                                                     Branch           Op&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium                   stable           r&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Codecs            stable           r&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium.Locale            stable           r&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove chromium|Similar installed refs found for ‘chromium’:&lt;br /&gt;
&lt;br /&gt;
   1) app/com.github.Eloston.UngoogledChromium/x86_64/stable (system)&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable (system)&lt;br /&gt;
   3) All of the above&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-3]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Developers =&lt;br /&gt;
&lt;br /&gt;
* [https://docs.flatpak.org/en/latest/available-runtimes.html Flatpak - available runtimes]&lt;br /&gt;
&lt;br /&gt;
These are all hosted on [https://flathub.org/ Flathub.org].&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
==== Permission errors ====&lt;br /&gt;
&lt;br /&gt;
If you receive errors about permissions then you may need to add your user to the &#039;&#039;&#039;flatpak&#039;&#039;&#039; group, see step two of [[Flatpak#Setup_/_Installation|Setup / Installation]].&lt;br /&gt;
&lt;br /&gt;
{{Note|You may need to log out and log back in or reboot for the group change(s) to take effect}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fixing audio issues ====&lt;br /&gt;
&lt;br /&gt;
If you have a minimal setup and don&#039;t have access to audio devices you will need to set the XDG_RUNTIME_DIR variable. Save the following script in /etc/profile.d/xdg_runtime_dir.sh and re-login to have it set up properly.&lt;br /&gt;
&lt;br /&gt;
 if test -z &amp;quot;${XDG_RUNTIME_DIR}&amp;quot;; then&lt;br /&gt;
   export XDG_RUNTIME_DIR=/tmp/$(id -u)&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
When you launch a Flatpak you will need to start pulseaudio as well:&lt;br /&gt;
{{Cmd|pulseaudio --start &amp;amp;&amp;amp; flatpak run com.example.Example}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [https://flatpak.org/ Flatpak]&lt;br /&gt;
* [https://flathub.org/ Flathub]&lt;br /&gt;
* [https://winepak.github.io/ Winepak]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See Also = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]]&lt;br /&gt;
[[Category: Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=22765</id>
		<title>KDE</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=22765"/>
		<updated>2022-12-12T22:02:02Z</updated>

		<summary type="html">&lt;p&gt;User4708: /* See also */  - Changed link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:KDEScreenshot.png |thumb |KDE Plasma screenshot.]]&lt;br /&gt;
&lt;br /&gt;
KDE is a software project comprising a desktop environment known as Plasma, a collection of libraries and frameworks known as KDE Frameworks, and several applications known as KDE Applications. Their [https://userbase.kde.org/Welcome_to_KDE_UserBase UserBase wiki] has detailed information about most KDE Applications.&lt;br /&gt;
&lt;br /&gt;
{{Note|the {{Pkg|plasma}} package isn&#039;t available for the &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt; architectures due to the {{Pkg|kdeplasma-addons}} dependency not being available there. However, the rest of Plasma can be installed separately to get a functional desktop.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* [[Installation|Install]] AlpineLinux&lt;br /&gt;
* [[Setting_up_a_new_user#Creating_a_new_user|Create a user account]] (optional but recommended)&lt;br /&gt;
* [[Repositories#Enabling_the_community_repository|Enable the Community repository]]&lt;br /&gt;
* [[Alpine_setup_scripts#setup-xorg-base|Install Xorg]]&lt;br /&gt;
&lt;br /&gt;
{{Note|[[Wayland]] can be used but may be less stable and Plasma may still require Xorg}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
==== Standard plasma installation ====&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add plasma elogind polkit-elogind dbus}}&lt;br /&gt;
&lt;br /&gt;
This will install the required Plasma packages, {{Pkg|sddm}} and pre-configure it to use the Breeze theme.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Lightweight plasma installation ====&lt;br /&gt;
&lt;br /&gt;
Alternatively, a smaller installation can be done:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add plasma-desktop systemsettings sddm breeze elogind polkit-elogind dbus}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|If you are missing something that is in a standard Plasma installation check out the dependencies of the {{Pkg|plasma}} package because it is likely you will find whatever your missing there.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For both installation methods you need to enable the following services:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-update add dbus}}&lt;br /&gt;
{{Cmd|# rc-update add elogind}}&lt;br /&gt;
{{Cmd|# rc-update add polkit}}&lt;br /&gt;
{{Cmd|# rc-update add udev}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|&#039;&#039;&#039;polkit&#039;&#039;&#039; and &#039;&#039;&#039;udev&#039;&#039;&#039; are technically optional (or have other alternatives) but if they are not installed/started features (or the system) may not work properly, modify this at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== KDE Applications ==&lt;br /&gt;
&lt;br /&gt;
To install the full set of KDE Applications, install {{Pkg|kde-applications}}. You can also choose to install a smaller set of applications by installing any of the subpackages:&lt;br /&gt;
&lt;br /&gt;
* {{Pkg|kde-applications-accessibility}}&lt;br /&gt;
* {{Pkg|kde-applications-admin}}&lt;br /&gt;
* {{Pkg|kde-applications-base}}&lt;br /&gt;
* {{Pkg|kde-applications-edu}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-games}}&lt;br /&gt;
* {{Pkg|kde-applications-graphics}}&lt;br /&gt;
* {{Pkg|kde-applications-multimedia}}&lt;br /&gt;
* {{Pkg|kde-applications-network}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-pim}}, not available for &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;&lt;br /&gt;
* {{Pkg|kde-applications-sdk}}&lt;br /&gt;
* {{Pkg|kde-applications-utils}}&lt;br /&gt;
* {{Pkg|kde-applications-webdev}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Starting Plasma ==&lt;br /&gt;
&lt;br /&gt;
Plasma can be started using a display manager or from the console.&lt;br /&gt;
&lt;br /&gt;
==== Using a display manager ====&lt;br /&gt;
&lt;br /&gt;
When Plasma is installed via the {{Pkg|plasma}} meta-package, the display manager is set up using {{Pkg|sddm}}.&lt;br /&gt;
&lt;br /&gt;
Make sure you enable and start the SDDM service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rc-update add sddm&lt;br /&gt;
rc-service sddm start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Select &#039;&#039;Plasma&#039;&#039; to launch a new session in Wayland&lt;br /&gt;
* Select &#039;&#039;Plasma (X11)&#039;&#039; to launch a new session in Xorg&lt;br /&gt;
&lt;br /&gt;
==== From the console ====&lt;br /&gt;
&lt;br /&gt;
The Xorg session can be launched by installing {{Pkg|xinit}} and appending &amp;lt;code&amp;gt;exec startplasma-x11&amp;lt;/code&amp;gt; to your &amp;lt;code&amp;gt;.xinitrc&amp;lt;/code&amp;gt; file. To start X:&lt;br /&gt;
{{Cmd|xinit}}&lt;br /&gt;
&lt;br /&gt;
For the Wayland session run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Installation#Post-Installation|Post installation]]&lt;br /&gt;
* [[Flatpak]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Apk_spec&amp;diff=22764</id>
		<title>Apk spec</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Apk_spec&amp;diff=22764"/>
		<updated>2022-12-12T21:55:11Z</updated>

		<summary type="html">&lt;p&gt;User4708: Changed Package_managment to Alpine Package Keeper.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft}}&lt;br /&gt;
&lt;br /&gt;
For end-user facing documentation about apk, check out the [[Alpine_Package_Keeper|Alpine Package Keeper]] page.&lt;br /&gt;
&lt;br /&gt;
This page is an attempt to document the internal data structures of the apk package manager. The canonical implementation of the apk format is [https://gitlab.alpinelinux.org/alpine/apk-tools apk-tools] and much of this information is gleaned from reading the source code.&lt;br /&gt;
&lt;br /&gt;
There are three generations of the APK data formats. Version 1 is deprecated and no longer used, version 2 is currently the main version in use by apk-tools, and version 3 is under development. This page mostly describes the data formats used in version 2.&lt;br /&gt;
&lt;br /&gt;
= Background =&lt;br /&gt;
== Tar Segments ==&lt;br /&gt;
Tar segments are a set of tar records. Normal tar files contain two null records at the end of the tar file to signal the end of the tarball. Tar segments are lacking these two records and can thus be concatenated before other tar files and will behave as one continuous tar file. The APK v2 package format makes use of both tar segments and tarballs.&lt;br /&gt;
&lt;br /&gt;
Tar segments can be compressed using gzip compression. Gzip is a stream-based file format and multiple streams can be concatenated together. Most tooling will treat multiple gzip streams within a file as if it were a single stream. APK v2 files are aware of gzip streams and use them for file segmentation.&lt;br /&gt;
&lt;br /&gt;
= Package Format V2 =&lt;br /&gt;
== Binary Format ==&lt;br /&gt;
APK v2 packages contain two tar segments followed by a tarball each in their own gzip stream (3 streams total). These streams contain the package signature, control data, and package data. The package data is a tarball of the files contained in a package laid out in a way that allows it to be unpacked at the filesystem root such that all files are placed in the correct location on the system. The control tar segment contains the package metadata along with any install scripts. The signature tar segment contains a single file that is a binary signature over the concatenated control segment and data tarball.&lt;br /&gt;
&lt;br /&gt;
The signature file is a DER encoded PKCS1v15 RSA signature of the SHA1 hash of the concatenated control and data gzip streams. The filename has the format &amp;lt;tt&amp;gt;.SIGN.RSA.&amp;lt;key_name&amp;gt;.rsa.pub&amp;lt;/tt&amp;gt; (for example &amp;lt;tt&amp;gt;.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub&amp;lt;/tt&amp;gt;). This file is placed inside of a tar record with permissions 0644, uid 0, and gid 0. This tar record (lacking end-of-tar records) is gzip compressed, forming a signature tar segment, and is concatenated onto the front of the combined control and data segments. [https://gitlab.alpinelinux.org/alpine/abuild/-/blob/master/abuild-sign.in abuild-sign] is responsible for generating these signature segments.&lt;br /&gt;
&lt;br /&gt;
The control segment contains the package metadata in a &amp;lt;tt&amp;gt;.PKGINFO&amp;lt;/tt&amp;gt; file as well as all of the scripts (if any) that are used by apk during installation and removal of the package. For historical reasons all files in the control tar segment are prefixed with a dot (&amp;lt;tt&amp;gt;.&amp;lt;/tt&amp;gt;). The control segment is constructed by placing each file for the package into a tar record, concatenating those tar records, gzipping the tar records, and concatenating them onto the front of the data tarball. The SHA1 hash of this gzip stream is used as the checksum &amp;lt;tt&amp;gt;C:&amp;lt;/tt&amp;gt; field in the APKINDEX file.&lt;br /&gt;
&lt;br /&gt;
The data tarball is a standard gzipped tarball with extra PAX headers that contain the SHA1 hash of each file in the tar header for that file. The hash is contained in a header called &amp;lt;tt&amp;gt;APK-TOOLS.checksum.SHA1&amp;lt;/tt&amp;gt;. Unlike the other tar streams this tarball does contain the two end-of-tar null records. It is always the final segment of an APK package. Hashes are added with the [https://gitlab.alpinelinux.org/alpine/abuild/-/blob/master/abuild-tar.c abuild-tar] tool.&lt;br /&gt;
&lt;br /&gt;
== PKGINFO Format ==&lt;br /&gt;
The PKGINFO file contains the package metadata. This is a plain-text file similar to INI files. Lines that begin with &amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt; are comments and ignored. Unlike INI files the parsing format of this file is very strict. Each key-value pair must be separated by exactly one space, one equal sign, and one more space (&amp;lt;tt&amp;gt; = &amp;lt;/tt&amp;gt;). Keys may be repeated in this file and should be treated as a list of values if repetitions are found.&lt;br /&gt;
&lt;br /&gt;
The specification for what fields are valid in PKGINFO is largely defined by [https://gitlab.alpinelinux.org/alpine/abuild/-/blob/master/abuild.in abuild]. As of July 2022 the following fields are supported:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;pkgname&amp;lt;/tt&amp;gt; - package name&lt;br /&gt;
* &amp;lt;tt&amp;gt;pkgver&amp;lt;/tt&amp;gt; - package version&lt;br /&gt;
* &amp;lt;tt&amp;gt;pkgdesc&amp;lt;/tt&amp;gt; - package description&lt;br /&gt;
* &amp;lt;tt&amp;gt;url&amp;lt;/tt&amp;gt; - package url&lt;br /&gt;
* &amp;lt;tt&amp;gt;builddate&amp;lt;/tt&amp;gt; - unix timestamp of the package build date/time&lt;br /&gt;
* &amp;lt;tt&amp;gt;packager&amp;lt;/tt&amp;gt; - name (and typically email) of person who built the package&lt;br /&gt;
* &amp;lt;tt&amp;gt;size&amp;lt;/tt&amp;gt; - the installed-size of the package&lt;br /&gt;
* &amp;lt;tt&amp;gt;arch&amp;lt;/tt&amp;gt; - the architecture of the package (ex: x86_64)&lt;br /&gt;
* &amp;lt;tt&amp;gt;origin&amp;lt;/tt&amp;gt; - the origin name of the package&lt;br /&gt;
* &amp;lt;tt&amp;gt;commit&amp;lt;/tt&amp;gt; - the commit hash from which the package was built&lt;br /&gt;
* &amp;lt;tt&amp;gt;maintainer&amp;lt;/tt&amp;gt; - name (and typically email) of the package maintainer&lt;br /&gt;
* &amp;lt;tt&amp;gt;replaces_priority&amp;lt;/tt&amp;gt; - replaces priority field for package (integer)&lt;br /&gt;
* &amp;lt;tt&amp;gt;provider_priority&amp;lt;/tt&amp;gt; - provider priority for the package (integer)&lt;br /&gt;
* &amp;lt;tt&amp;gt;license&amp;lt;/tt&amp;gt; - license string for the package&lt;br /&gt;
* &amp;lt;tt&amp;gt;depend&amp;lt;/tt&amp;gt; - dependencies for the package (repeated)&lt;br /&gt;
* &amp;lt;tt&amp;gt;replaces&amp;lt;/tt&amp;gt; - packages this package replaces (repeated)&lt;br /&gt;
* &amp;lt;tt&amp;gt;provides&amp;lt;/tt&amp;gt; - what this package provides (repeated)&lt;br /&gt;
* &amp;lt;tt&amp;gt;triggers&amp;lt;/tt&amp;gt; - what packages this package triggers on (repeated)&lt;br /&gt;
* &amp;lt;tt&amp;gt;install_if&amp;lt;/tt&amp;gt; - install this package if these packages are present (repeated)&lt;br /&gt;
* &amp;lt;tt&amp;gt;datahash&amp;lt;/tt&amp;gt; - hex-encoded sha256 checksum of the data tarball&lt;br /&gt;
&lt;br /&gt;
== Example of PKGINFO ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Generated by abuild 3.9.0-r2&lt;br /&gt;
# using fakeroot version 1.25.3&lt;br /&gt;
# Wed Jul  6 19:09:49 UTC 2022&lt;br /&gt;
pkgname = busybox&lt;br /&gt;
pkgver = 1.35.0-r18&lt;br /&gt;
pkgdesc = Size optimized toolbox of many common UNIX utilities&lt;br /&gt;
url = https://busybox.net/&lt;br /&gt;
builddate = 1657134589&lt;br /&gt;
packager = Buildozer &amp;lt;alpine-devel@lists.alpinelinux.org&amp;gt;&lt;br /&gt;
size = 958464&lt;br /&gt;
arch = x86_64&lt;br /&gt;
origin = busybox&lt;br /&gt;
commit = 332d2fff53cd4537d415e15e55e8ceb6fe6eaedb&lt;br /&gt;
maintainer = Sören Tempel &amp;lt;soeren+alpine@soeren-tempel.net&amp;gt;&lt;br /&gt;
provider_priority = 100&lt;br /&gt;
license = GPL-2.0-only&lt;br /&gt;
replaces = busybox-initscripts&lt;br /&gt;
provides = /bin/sh&lt;br /&gt;
triggers = /bin /usr/bin /sbin /usr/sbin /lib/modules/*&lt;br /&gt;
# automatically detected:&lt;br /&gt;
provides = cmd:busybox=1.35.0-r18&lt;br /&gt;
provides = cmd:sh=1.35.0-r18&lt;br /&gt;
depend = so:libc.musl-x86_64.so.1&lt;br /&gt;
datahash = 7d3351ac6c3ebaf18182efb5390061f50d077ce5ade60a15909d91278f70ada7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Package Building Example ==&lt;br /&gt;
This is a set of commands to partially build a package. &#039;&#039;&#039;DO NOT DO THIS&#039;&#039;&#039;, it&#039;s mainly an example to see how this all fits together. Use the official build tools to build packages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tar -c .PKGNIFO .pre-install | abuild-tar --cut | gzip -9 &amp;gt; $controldir/control.tar.gz&lt;br /&gt;
cd $pkgdir; tar -c * | abuild-tar --hash | gzip -9 &amp;gt; $controldir/data.tar.gz&lt;br /&gt;
cat $controldir/control.tar.gz $controldir/data.tar.gz &amp;gt; mypackage-1.0-r0.apk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Index Format V2 =&lt;br /&gt;
== Binary Format ==&lt;br /&gt;
The index is served as [http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz APKINDEX.tar.gz] and is downloaded by apk to power the package database. The index is signed similarly to packages. The main difference between the index and packages is that the index file contains only two segments.&lt;br /&gt;
&lt;br /&gt;
The signature segment is identical to a package segment and is concatenated, in its own gzip stream, to the beginning of the APKINDEX tarball.&lt;br /&gt;
&lt;br /&gt;
The APKINDEX tarball contains two files: a DESCRIPTION file and an APKINDEX file. Each of these files is in their own tar record and the final record is followed by the standard end-of-tar null records. The DESCRIPTION file is a simple text file containing a description of the index (ex: &amp;lt;tt&amp;gt;community v20210212-7170-g5c9853dc69&amp;lt;/tt&amp;gt;). The APKINDEX file is a text file containing records for each package in the repository in a text-based format. Each record is separated by a newline.&lt;br /&gt;
&lt;br /&gt;
== APKINDEX Format ==&lt;br /&gt;
The APKINDEX file contains a set of records extracted from the PKGINFO file of each package in the repository. Each line is prefixed with a letter, colon, and is followed by the value of the field. Lines are newline (&amp;lt;tt&amp;gt;\n&amp;lt;/tt&amp;gt;) terminated and there is one blank line between records for a package.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;apk_pkg_write_index_entry&amp;lt;/tt&amp;gt; function of [https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/ff7c8f6ee9dfa2add57b88dc271f6711030e72a0/src/package.c#L905 package.c] defines the currently accepted fields. As of July 2022, these are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;C:&amp;lt;/tt&amp;gt; - file checksum, see below&lt;br /&gt;
* &amp;lt;tt&amp;gt;P:&amp;lt;/tt&amp;gt; - package name (corresponds to &amp;lt;tt&amp;gt;pkgname&amp;lt;/tt&amp;gt; in PKGINFO)&lt;br /&gt;
* &amp;lt;tt&amp;gt;V:&amp;lt;/tt&amp;gt; - package version (corresponds to &amp;lt;tt&amp;gt;pkgver&amp;lt;/tt&amp;gt; in PKGINFO)&lt;br /&gt;
* &amp;lt;tt&amp;gt;A:&amp;lt;/tt&amp;gt; - architecture (corresponds to &amp;lt;tt&amp;gt;arch&amp;lt;/tt&amp;gt; in PKGINFO), optional&lt;br /&gt;
* &amp;lt;tt&amp;gt;S:&amp;lt;/tt&amp;gt; - size of entire package, integer&lt;br /&gt;
* &amp;lt;tt&amp;gt;I:&amp;lt;/tt&amp;gt; - installed size, integer (corresponds to &amp;lt;tt&amp;gt;size&amp;lt;/tt&amp;gt; in PKGINFO)&lt;br /&gt;
* &amp;lt;tt&amp;gt;T:&amp;lt;/tt&amp;gt; - description (corresponds to &amp;lt;tt&amp;gt;pkgdesc&amp;lt;/tt&amp;gt; in PKGINFO)&lt;br /&gt;
* &amp;lt;tt&amp;gt;U:&amp;lt;/tt&amp;gt; - url (corresponds to &amp;lt;tt&amp;gt;url&amp;lt;/tt&amp;gt; in PKGINFO)&lt;br /&gt;
* &amp;lt;tt&amp;gt;L:&amp;lt;/tt&amp;gt; - license (corresponds to &amp;lt;tt&amp;gt;license&amp;lt;/tt&amp;gt; in PKGINFO)&lt;br /&gt;
* &amp;lt;tt&amp;gt;o:&amp;lt;/tt&amp;gt; - origin (corresponds to &amp;lt;tt&amp;gt;origin&amp;lt;/tt&amp;gt; in PKGINFO), optional&lt;br /&gt;
* &amp;lt;tt&amp;gt;m:&amp;lt;/tt&amp;gt; - maintainer (corresponds to &amp;lt;tt&amp;gt;maintainer&amp;lt;/tt&amp;gt; in PKGINFO), optional&lt;br /&gt;
* &amp;lt;tt&amp;gt;t:&amp;lt;/tt&amp;gt; - build time (corresponds to &amp;lt;tt&amp;gt;builddate&amp;lt;/tt&amp;gt; in PKGINFO), optional&lt;br /&gt;
* &amp;lt;tt&amp;gt;c:&amp;lt;/tt&amp;gt; - commit (corresponds to &amp;lt;tt&amp;gt;commit&amp;lt;/tt&amp;gt; in PKGINFO), optional&lt;br /&gt;
* &amp;lt;tt&amp;gt;k:&amp;lt;/tt&amp;gt; - provider priority, integer (corresponds to &amp;lt;tt&amp;gt;provider_priority&amp;lt;/tt&amp;gt; in PKGINFO), optional&lt;br /&gt;
* &amp;lt;tt&amp;gt;D:&amp;lt;/tt&amp;gt; - dependencies (corresponds to &amp;lt;tt&amp;gt;depend&amp;lt;/tt&amp;gt; in PKGINFO, concatenated by spaces into a single line)&lt;br /&gt;
* &amp;lt;tt&amp;gt;p:&amp;lt;/tt&amp;gt; - provides (corresponds to &amp;lt;tt&amp;gt;provides&amp;lt;/tt&amp;gt; in PKGINFO, concatenated by spaces into a single line)&lt;br /&gt;
* &amp;lt;tt&amp;gt;i:&amp;lt;/tt&amp;gt; - install if (corresponds to &amp;lt;tt&amp;gt;install_if&amp;lt;/tt&amp;gt; in PKGINFO, concatenated by spaces into a single line)&lt;br /&gt;
&lt;br /&gt;
== Package Checksum Field ==&lt;br /&gt;
The package checksum field is the SHA1 hash of the second gzip stream (control stream) in the package. The binary hash digest is base64 encoded. This is prefixed with &amp;lt;tt&amp;gt;Q1&amp;lt;/tt&amp;gt; to differentiate it from the MD5 hashes used in older index formats. It is not possible to compute this checksum with standard command line tools but the apk-tools can compute it in their &amp;lt;tt&amp;gt;index&amp;lt;/tt&amp;gt; operation.&lt;br /&gt;
&lt;br /&gt;
== Example APKINDEX Record ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:Q1P4IRU/u5yB4CSnUEBRD1WWwajrY=&lt;br /&gt;
P:jool-tools&lt;br /&gt;
V:4.1.5-r0&lt;br /&gt;
A:x86_64&lt;br /&gt;
S:140605&lt;br /&gt;
I:434176&lt;br /&gt;
T:Userspace control tools for SIIT / NAT64 Jool&lt;br /&gt;
U:https://www.jool.mx&lt;br /&gt;
L:GPL-2.0-only&lt;br /&gt;
o:jool-tools&lt;br /&gt;
m:Jakub Jirutka &amp;lt;jakub@jirutka.cz&amp;gt;&lt;br /&gt;
t:1620480809&lt;br /&gt;
c:771b3b0910ea9c7736db6ca4ff5c37ca9cf9af0d&lt;br /&gt;
D:so:libc.musl-x86_64.so.1 so:libnl-3.so.200 so:libnl-genl-3.so.200&lt;br /&gt;
p:cmd:jool=4.1.5-r0 cmd:jool_siit=4.1.5-r0 cmd:joold=4.1.5-r0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installed Database V2 =&lt;br /&gt;
The installed database is used by apk to track which packages are installed and what modifications those packages have made to the system. This file is located at &amp;lt;tt&amp;gt;/lib/apk/db/installed&amp;lt;/tt&amp;gt;. The installed file is a plaintext file of the same format as APKINDEX (contained in APKINDEX.tar.gz). It is neither compressed nor signed. Each record in the installed file starts with a package index record with the same fields as the APKINDEX file. The installed file adds some additional fields that are defined in [https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/ff7c8f6ee9dfa2add57b88dc271f6711030e72a0/src/database.c#L937 database.c]. As of July 2022 these additional fields are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;r:&amp;lt;/tt&amp;gt; - packages which this package replaces, space separated list&lt;br /&gt;
* &amp;lt;tt&amp;gt;q:&amp;lt;/tt&amp;gt; - replaces priority, integer, optional&lt;br /&gt;
* &amp;lt;tt&amp;gt;s:&amp;lt;/tt&amp;gt; - repository tag, optional, this will be set if the package is tagged to a repository in the world file (ex: linux@testing)&lt;br /&gt;
* &amp;lt;tt&amp;gt;f:&amp;lt;/tt&amp;gt; - indicates broken items, space separated (f=files, s=scripts, x=xattrs, S=file hashes)&lt;br /&gt;
&lt;br /&gt;
The following fields are repeated and in groups consist of a set of mutations made to the system to install the package.&lt;br /&gt;
&lt;br /&gt;
ACL lines are specified as uid, colon, gid, colon, and mode.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;F:&amp;lt;/tt&amp;gt; - directory name that was created by package, repeated&lt;br /&gt;
* &amp;lt;tt&amp;gt;M:&amp;lt;/tt&amp;gt; - directory ACL, only if different than the default of 0:0:0755&lt;br /&gt;
* &amp;lt;tt&amp;gt;R:&amp;lt;/tt&amp;gt; - file name, relative to preceding directory name&lt;br /&gt;
* &amp;lt;tt&amp;gt;a:&amp;lt;/tt&amp;gt; - file ACL&lt;br /&gt;
* &amp;lt;tt&amp;gt;Z:&amp;lt;/tt&amp;gt; - file checksum, if the checksum in the package is not none, a &amp;lt;tt&amp;gt;Q1&amp;lt;/tt&amp;gt; prefix indicates this will be a SHA1 hash in base64 format&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]] [[Category:Development]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22758</id>
		<title>Flatpak</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22758"/>
		<updated>2022-12-10T06:24:27Z</updated>

		<summary type="html">&lt;p&gt;User4708: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft|More documentation and testing is needed, but everything currently here should be safe to follow.}}&lt;br /&gt;
&lt;br /&gt;
Flatpak is a technology for building and distributing applications with the goal of having a universal package format for all Linux distributons, it is similar to [https://en.wikipedia.org/wiki/Snappy_(package_manager) Snap], &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Setup / Installation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;From: https://flatpak.org/setup/Alpine/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To install Flatpak you will need to enable the  Community repository, See: [[Repositories#Managing_repositories|Repositories - Managing repositories]]&lt;br /&gt;
&lt;br /&gt;
To install Flatpak run:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add flatpak}}&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended to run flatpak as your user, rather than as root. Therefore, add your user to the flatpak group:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt; flatpak}}&lt;br /&gt;
&lt;br /&gt;
Next you need to add a repository, for this guide we will use the recommended repository, [https://flathub.org Flathub].&lt;br /&gt;
&lt;br /&gt;
{{cmd|flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo}}&lt;br /&gt;
&lt;br /&gt;
Now reboot to complete setup&lt;br /&gt;
&lt;br /&gt;
{{Note|graphical installation of Flatpak apps may not be possible with Alpine.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
To get all of the available options to use with the &#039;&#039;&#039;flatpak&#039;&#039;&#039; command run: &#039;&#039;&#039;flatpak --help&#039;&#039;&#039; or &#039;&#039;&#039;flatpak -h&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search ====&lt;br /&gt;
&lt;br /&gt;
To search for applications run &#039;&#039;&#039;flatpak search &amp;lt;appplicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|flatpak search chromium|Name                   Description                                                        Application ID                        Version       Branch  Remotes&lt;br /&gt;
Chromium Web Browser   The web browser from Chromium project                              org.chromium.Chromium                 96.0.4664.93  stable  flathub&lt;br /&gt;
Chromium B.S.U.        Fast paced, arcade-style, top-scrolling space shooter              net.sourceforge.chromium-bsu          0.9.16.1      stable  flathub&lt;br /&gt;
ungoogled-chromium     A lightweight approach to removing Google web service dependency   com.github.Eloston.UngoogledChromium  96.0.4664.45  stable  flathub}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install ====&lt;br /&gt;
&lt;br /&gt;
To install a package run &#039;&#039;&#039;flatpak install &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install com.github.Eloston.UngoogledChromium|Looking for matches…&lt;br /&gt;
&lt;br /&gt;
com.github.Eloston.UngoogledChromium permissions:&lt;br /&gt;
    ipc             network                 cups                   pulseaudio               wayland                       x11&lt;br /&gt;
    devices         file access [1]         dbus access [2]        bus ownership [3]        system dbus access [4]&lt;br /&gt;
&lt;br /&gt;
    [1] /run/.heim_org.h5l.kcm-socket, home, xdg-run/pipewire-0&lt;br /&gt;
    [2] org.freedesktop.FileManager1, org.freedesktop.Notifications, org.freedesktop.secrets, org.gnome.SessionManager&lt;br /&gt;
    [3] org.mpris.MediaPlayer2.chromium.*&lt;br /&gt;
    [4] org.freedesktop.Avahi, org.freedesktop.UPower&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        ID                                                      Branch             Op            Remote             Download&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium.Codecs             stable             i             flathub              &amp;lt; 1.1 MB&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Locale             stable             i             flathub            &amp;lt; 112.8 kB&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium                    stable             i             flathub            &amp;lt; 119.0 MB&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install chromium|Looking for matches…&lt;br /&gt;
Similar refs found for ‘chromium’ in remote ‘flathub’ (system):&lt;br /&gt;
&lt;br /&gt;
   1) app/net.sourceforge.chromium-bsu/x86_64/stable&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable&lt;br /&gt;
   3) runtime/org.chromium.Chromium.Codecs/x86_64/stable&lt;br /&gt;
   4) app/org.chromium.Chromium/x86_64/stable&lt;br /&gt;
   5) app/com.github.Eloston.UngoogledChromium/x86_64/stable&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-5]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Remove ====&lt;br /&gt;
&lt;br /&gt;
To remove a package run: &#039;&#039;&#039;flatpak remove &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove com.github.Eloston.UngoogledChromium|&lt;br /&gt;
&lt;br /&gt;
        ID                                                     Branch           Op&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium                   stable           r&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Codecs            stable           r&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium.Locale            stable           r&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove chromium|Similar installed refs found for ‘chromium’:&lt;br /&gt;
&lt;br /&gt;
   1) app/com.github.Eloston.UngoogledChromium/x86_64/stable (system)&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable (system)&lt;br /&gt;
   3) All of the above&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-3]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Developers =&lt;br /&gt;
&lt;br /&gt;
* [https://docs.flatpak.org/en/latest/available-runtimes.html Flatpak - available runtimes]&lt;br /&gt;
&lt;br /&gt;
These are all hosted on [https://flathub.org/ Flathub.org].&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
==== Permission errors ====&lt;br /&gt;
&lt;br /&gt;
If you receive errors about permissions then you may need to add your user to the &#039;&#039;&#039;flatpak&#039;&#039;&#039; group:&lt;br /&gt;
&lt;br /&gt;
{{cmd|adduser &amp;lt;YourUsername&amp;gt; flatpak}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|You may need to log out and log back in or reboot for the group change(s) to take effect}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fixing audio issues ====&lt;br /&gt;
&lt;br /&gt;
If you have a minimal setup and don&#039;t have access to audio devices you will need to set the XDG_RUNTIME_DIR variable. Save the following script in /etc/profile.d/xdg_runtime_dir.sh and re-login to have it set up properly.&lt;br /&gt;
&lt;br /&gt;
 if test -z &amp;quot;${XDG_RUNTIME_DIR}&amp;quot;; then&lt;br /&gt;
   export XDG_RUNTIME_DIR=/tmp/$(id -u)&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
When you launch a Flatpak you will need to start pulseaudio as well:&lt;br /&gt;
{{Cmd|pulseaudio --start &amp;amp;&amp;amp; flatpak run com.example.Example}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [https://flatpak.org/ Flatpak]&lt;br /&gt;
* [https://flathub.org/ Flathub]&lt;br /&gt;
* [https://winepak.github.io/ Winepak]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See Also = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]]&lt;br /&gt;
[[Category: Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22757</id>
		<title>Flatpak</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Flatpak&amp;diff=22757"/>
		<updated>2022-12-09T21:34:10Z</updated>

		<summary type="html">&lt;p&gt;User4708: Changed link to Repositories#Managing_repositories&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Draft|More documentation and testing is needed, but everything currently here should be safe to follow.}}&lt;br /&gt;
&lt;br /&gt;
Flatpak is a technology for building and distributing applications with the goal of having a universal package format for all Linux distributons, it is similar to [https://en.wikipedia.org/wiki/Snappy_(package_manager) Snap], &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Setup / Installation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;From: https://flatpak.org/setup/Alpine/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To install Flatpak you will need to enable the  Community repository, See: [https://wiki.alpinelinux.org/wiki/Repositories#Managing_repositories Repositories - Managing repositories]&lt;br /&gt;
&lt;br /&gt;
To install Flatpak run:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add flatpak}}&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended to run flatpak as your user, rather than as root. Therefore, add your user to the flatpak group:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# adduser &amp;lt;YourUsername&amp;gt; flatpak}}&lt;br /&gt;
&lt;br /&gt;
Next you need to add a repository, for this guide we will use the recommended repository, [https://flathub.org Flathub].&lt;br /&gt;
&lt;br /&gt;
{{cmd|flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo}}&lt;br /&gt;
&lt;br /&gt;
Now reboot to complete setup&lt;br /&gt;
&lt;br /&gt;
{{Note|graphical installation of Flatpak apps may not be possible with Alpine.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
To get all of the available options to use with the &#039;&#039;&#039;flatpak&#039;&#039;&#039; command run: &#039;&#039;&#039;flatpak --help&#039;&#039;&#039; or &#039;&#039;&#039;flatpak -h&#039;&#039;&#039;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search ====&lt;br /&gt;
&lt;br /&gt;
To search for applications run &#039;&#039;&#039;flatpak search &amp;lt;appplicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|flatpak search chromium|Name                   Description                                                        Application ID                        Version       Branch  Remotes&lt;br /&gt;
Chromium Web Browser   The web browser from Chromium project                              org.chromium.Chromium                 96.0.4664.93  stable  flathub&lt;br /&gt;
Chromium B.S.U.        Fast paced, arcade-style, top-scrolling space shooter              net.sourceforge.chromium-bsu          0.9.16.1      stable  flathub&lt;br /&gt;
ungoogled-chromium     A lightweight approach to removing Google web service dependency   com.github.Eloston.UngoogledChromium  96.0.4664.45  stable  flathub}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install ====&lt;br /&gt;
&lt;br /&gt;
To install a package run &#039;&#039;&#039;flatpak install &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install com.github.Eloston.UngoogledChromium|Looking for matches…&lt;br /&gt;
&lt;br /&gt;
com.github.Eloston.UngoogledChromium permissions:&lt;br /&gt;
    ipc             network                 cups                   pulseaudio               wayland                       x11&lt;br /&gt;
    devices         file access [1]         dbus access [2]        bus ownership [3]        system dbus access [4]&lt;br /&gt;
&lt;br /&gt;
    [1] /run/.heim_org.h5l.kcm-socket, home, xdg-run/pipewire-0&lt;br /&gt;
    [2] org.freedesktop.FileManager1, org.freedesktop.Notifications, org.freedesktop.secrets, org.gnome.SessionManager&lt;br /&gt;
    [3] org.mpris.MediaPlayer2.chromium.*&lt;br /&gt;
    [4] org.freedesktop.Avahi, org.freedesktop.UPower&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        ID                                                      Branch             Op            Remote             Download&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium.Codecs             stable             i             flathub              &amp;lt; 1.1 MB&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Locale             stable             i             flathub            &amp;lt; 112.8 kB&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium                    stable             i             flathub            &amp;lt; 119.0 MB&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak install chromium|Looking for matches…&lt;br /&gt;
Similar refs found for ‘chromium’ in remote ‘flathub’ (system):&lt;br /&gt;
&lt;br /&gt;
   1) app/net.sourceforge.chromium-bsu/x86_64/stable&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable&lt;br /&gt;
   3) runtime/org.chromium.Chromium.Codecs/x86_64/stable&lt;br /&gt;
   4) app/org.chromium.Chromium/x86_64/stable&lt;br /&gt;
   5) app/com.github.Eloston.UngoogledChromium/x86_64/stable&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-5]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Remove ====&lt;br /&gt;
&lt;br /&gt;
To remove a package run: &#039;&#039;&#039;flatpak remove &amp;lt;applicationname&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove com.github.Eloston.UngoogledChromium|&lt;br /&gt;
&lt;br /&gt;
        ID                                                     Branch           Op&lt;br /&gt;
 1.     com.github.Eloston.UngoogledChromium                   stable           r&lt;br /&gt;
 2.     com.github.Eloston.UngoogledChromium.Codecs            stable           r&lt;br /&gt;
 3.     com.github.Eloston.UngoogledChromium.Locale            stable           r&lt;br /&gt;
&lt;br /&gt;
Proceed with these changes to the system installation? [Y/n]:}}&lt;br /&gt;
&lt;br /&gt;
or if you dont know or dont want to type the exact package name:&lt;br /&gt;
&lt;br /&gt;
{{cat|$ flatpak remove chromium|Similar installed refs found for ‘chromium’:&lt;br /&gt;
&lt;br /&gt;
   1) app/com.github.Eloston.UngoogledChromium/x86_64/stable (system)&lt;br /&gt;
   2) runtime/com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable (system)&lt;br /&gt;
   3) All of the above&lt;br /&gt;
&lt;br /&gt;
Which do you want to use (0 to abort)? [0-3]:}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Developers =&lt;br /&gt;
&lt;br /&gt;
* [https://docs.flatpak.org/en/latest/available-runtimes.html Flatpak - available runtimes]&lt;br /&gt;
&lt;br /&gt;
These are all hosted on [https://flathub.org/ Flathub.org].&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
==== Permission errors ====&lt;br /&gt;
&lt;br /&gt;
If you receive errors about permissions then you may need to add your user to the &#039;&#039;&#039;flatpak&#039;&#039;&#039; group:&lt;br /&gt;
&lt;br /&gt;
{{cmd|adduser &amp;lt;YourUsername&amp;gt; flatpak}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|You may need to log out and log back in or reboot for the group change(s) to take effect}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fixing audio issues ====&lt;br /&gt;
&lt;br /&gt;
If you have a minimal setup and don&#039;t have access to audio devices you will need to set the XDG_RUNTIME_DIR variable. Save the following script in /etc/profile.d/xdg_runtime_dir.sh and re-login to have it set up properly.&lt;br /&gt;
&lt;br /&gt;
 if test -z &amp;quot;${XDG_RUNTIME_DIR}&amp;quot;; then&lt;br /&gt;
   export XDG_RUNTIME_DIR=/tmp/$(id -u)&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
When you launch a Flatpak you will need to start pulseaudio as well:&lt;br /&gt;
{{Cmd|pulseaudio --start &amp;amp;&amp;amp; flatpak run com.example.Example}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Links =&lt;br /&gt;
* [https://flatpak.org/ Flatpak]&lt;br /&gt;
* [https://flathub.org/ Flathub]&lt;br /&gt;
* [https://winepak.github.io/ Winepak]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See Also = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Package Manager]]&lt;br /&gt;
[[Category: Desktop]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Repositories&amp;diff=22756</id>
		<title>Repositories</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Repositories&amp;diff=22756"/>
		<updated>2022-12-09T21:31:37Z</updated>

		<summary type="html">&lt;p&gt;User4708: Removed sections for enabling the community/edge repositories that is covered in Managing repositories, Left Using the testing repositories on stable branches&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
The Alpine software repositories have three branches:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;main&#039;&#039;&#039; packages are the software that have direct support and updates from the Alpine core and main team. They also have official special documentation, are always available for all releases and will have substitutions if some are not continued from upstream. Commonly these packages are selected due to their responsibility and stability with respect to upstream availability. Packages from &#039;&#039;community&#039;&#039; or (rarely) &#039;&#039;testing&#039;&#039;, that are accepted go to the &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;community&#039;&#039;&#039; packages are those made by users in team with the official developers and close to the Alpine package process. They are supported by those user(s) contributions and could end if the user(s) stops; they may also be removed in a future release due to lack of support by upstream authors. Packages from &#039;&#039;testing&#039;&#039; that are accepted go to the &#039;&#039;community&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;testing&#039;&#039;&#039; packages are where new packages go. These are made by any contributor to Alpine. Testing has no release linked. The &#039;&#039;testing&#039;&#039; repository is only available on &#039;&#039;edge&#039;&#039;. Packages from &#039;&#039;testing&#039;&#039; that are accepted go to the &#039;&#039;community&#039;&#039; branch or (rarely) the &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
= Managing repositories =&lt;br /&gt;
&lt;br /&gt;
To enable a repository, remove the &#039;&#039;&#039;#&#039;&#039;&#039; in front of the URL along with any blank space.&lt;br /&gt;
&lt;br /&gt;
Example: Disabled&lt;br /&gt;
{{cat|/etc/apk/repositories|#http://dl-cdn.alpinelinux.org/alpine/v3.16/community}}&lt;br /&gt;
&lt;br /&gt;
Example: Enabled&lt;br /&gt;
{{cat|/etc/apk/repositories|http://dl-cdn.alpinelinux.org/alpine/v3.16/community}}&lt;br /&gt;
&lt;br /&gt;
To edit the repositories, open the &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; file in a text editor:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# &amp;lt;editor&amp;gt; /etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
The default will look something like:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.16/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/v3.16/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
After making changes to &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; you should update the package index using:&lt;br /&gt;
{{cmd|# apk update}}&lt;br /&gt;
&lt;br /&gt;
=== Changing repositories to https ===&lt;br /&gt;
For better security you should probably change the url&#039;s from &#039;&#039;&#039;http&#039;&#039;&#039; to &#039;&#039;&#039;https&#039;&#039;&#039;. [https://en.wikipedia.org/wiki/HTTPS#Technical]&lt;br /&gt;
&lt;br /&gt;
{{Note|Some Alpine Linux package mirrors may not support &#039;&#039;&#039;https&#039;&#039;&#039;. If that is the case, you will need to change mirrors or revert back. You can check if your mirror supports &#039;&#039;&#039;https&#039;&#039;&#039; on https://mirrors.alpinelinux.org }}&lt;br /&gt;
&lt;br /&gt;
=== Avoid manually changing the repositories file for a new release ===&lt;br /&gt;
&lt;br /&gt;
You can avoid having to manually update the version in &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; for each Alpine Linux release by changing &amp;lt;code&amp;gt;v3.16&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;latest-stable&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/latest-stable/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Changing the repositories to &amp;lt;code&amp;gt;latest-stable&amp;lt;/code&amp;gt; may initiate unexpected release upgrades.}}&lt;br /&gt;
&lt;br /&gt;
= Release Branches =&lt;br /&gt;
&lt;br /&gt;
There are several release branches for Alpine Linux available at the same time. Each May and November we make a release branch from &#039;&#039;&#039;edge&#039;&#039;&#039;. The &#039;&#039;&#039;main&#039;&#039;&#039; repository is typically supported for 2 years and the &#039;&#039;&#039;community&#039;&#039;&#039; repository is supported until next stable release.&lt;br /&gt;
&lt;br /&gt;
Security fixes beyond that can be made on request when there are patches available.&lt;br /&gt;
&lt;br /&gt;
== Main ==&lt;br /&gt;
&lt;br /&gt;
By default only the &#039;&#039;&#039;main&#039;&#039;&#039; repository is enabled. &#039;&#039;main&#039;&#039; has a support cycle of 2 years. We also try to limit the amount of packages in &#039;&#039;main&#039;&#039; to only include base system packages, in base you can think of packages which are needed by other packages or are needed to setup a basic system. Packages in &#039;&#039;main&#039;&#039; must &#039;&#039;&#039;not&#039;&#039;&#039; have dependencies in other repositories.&lt;br /&gt;
&lt;br /&gt;
== Community ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;community&#039;&#039;&#039; repository was introduced with Alpine Linux version [https://alpinelinux.org/posts/Alpine-3.3.0-released.html 3.3.0].  &#039;&#039;community&#039;&#039; has a maximum support cycle of 6 months. After that you will need to update to the new release to continue to have support.&lt;br /&gt;
&lt;br /&gt;
= Edge =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;edge&#039;&#039; is the name given to the current [[Aports tree|development tree]] of Alpine Linux. It consists of an APK repository called &#039;&#039;edge&#039;&#039; and contains the latest build of all available Alpine Linux packages. Those packages are updated on a regular basis.&lt;br /&gt;
&lt;br /&gt;
{{Warning|&#039;&#039;edge&#039;&#039; is under constant development so be careful using it in production. It is possible that bugs in &#039;&#039;edge&#039;&#039; could cause data loss or could break your system.}}&lt;br /&gt;
&lt;br /&gt;
End users should not use &#039;&#039;edge&#039;&#039; as their main day-to-day workstation or as a productive system. Because &#039;&#039;edge&#039;&#039; is a development branch, many changes are not heavily tested (or tested at all) and packages in &#039;&#039;edge&#039;&#039; can and sometimes do break without warning.&lt;br /&gt;
&lt;br /&gt;
However, testing &#039;&#039;edge&#039;&#039; is a very valuable activity which helps the Alpine Linux development to ensure that the quality of the stable releases is high. Testing &#039;&#039;edge&#039;&#039; is a great way to contribute to the Alpine Linux development.&lt;br /&gt;
&lt;br /&gt;
== Upgrading to edge ==&lt;br /&gt;
&lt;br /&gt;
{{:Include:Upgrading to Edge}}&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;testing&#039;&#039;&#039; repository was introduced with Alpine Linux &#039;&#039;edge&#039;&#039; development. No support (staging only) and only built for &#039;&#039;edge&#039;&#039;. If it stays here long enough it gets moved to unmaintained/purged (gets cleaned up every 6 months).&lt;br /&gt;
&lt;br /&gt;
Before a package can move from &#039;&#039;testing&#039;&#039; to &#039;&#039;main&#039;&#039; or &#039;&#039;community&#039;&#039;, the following requirements must be met:&lt;br /&gt;
&lt;br /&gt;
# Package must work correctly, including the init.d script (if provided) and default configuration.&lt;br /&gt;
# Packaging must be done correctly, with files installed in the right places, e.g. configs are in &amp;lt;code&amp;gt;/etc/&amp;lt;/code&amp;gt; and not in &amp;lt;code&amp;gt;/usr/etc&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Package dependencies are handled correctly. Abuild can (and should) autodetect shared libs, for example &#039;&#039;&#039;sqlite-libs&#039;&#039;&#039; provides &#039;&#039;&#039;so:libsqlite3.so.0&#039;&#039;&#039;. Any package linked to &#039;&#039;&#039;sqlite&#039;&#039;&#039; should have an automatically (by abuild) added &amp;lt;code&amp;gt;depend=so:libsqlite3.so.0&amp;lt;/code&amp;gt; and the user should not have to manually add a &amp;lt;code&amp;gt;depend=&amp;quot;sqlite-libs&amp;quot;&amp;lt;/code&amp;gt; in the APKBUILD.&lt;br /&gt;
# There is a maintainer who claims responsibility for the maintenance of the package and can help fix things if they break in the future.&lt;br /&gt;
&lt;br /&gt;
=== Using the testing repository on stable branches ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|&#039;&#039;&#039;Only do this if you&#039;re 100% sure what you&#039;re doing!&#039;&#039;&#039; Installing packages from edge that link to something in &#039;&#039;main&#039;&#039; or &#039;&#039;community&#039;&#039; usually will not work. Alpine does not officially support mixing branches this way.}}&lt;br /&gt;
&lt;br /&gt;
Edit the file &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; and add (or uncomment) a line that points to the &amp;quot;testing&amp;quot; directory, while also [[Package_management#Repository_pinning|tagging]] the repository, for example:&lt;br /&gt;
&lt;br /&gt;
{{Cat|/etc/apk/repositories|&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.16/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.16/community&lt;br /&gt;
@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
In that case, the tag is &amp;lt;code&amp;gt;@testing&amp;lt;/code&amp;gt;, which allows you to pull packages from that repository without potentially messing up your install (too badly):&lt;br /&gt;
&lt;br /&gt;
 $ apk add wireguard-go@testing&lt;br /&gt;
&lt;br /&gt;
== Unmaintained ==&lt;br /&gt;
&lt;br /&gt;
{{Expand|Maybe also move this somewhere else?}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;unmaintained&#039;&#039;&#039; packages are not built.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Linux in a chroot]]&lt;br /&gt;
* [http://bugs.alpinelinux.org/ Report Bugs]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Package Manager]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Repositories&amp;diff=22755</id>
		<title>Repositories</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Repositories&amp;diff=22755"/>
		<updated>2022-12-09T21:19:37Z</updated>

		<summary type="html">&lt;p&gt;User4708: /* Managing repositories */  added apk update command/note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
The Alpine software repositories have three branches:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;main&#039;&#039;&#039; packages are the software that have direct support and updates from the Alpine core and main team. They also have official special documentation, are always available for all releases and will have substitutions if some are not continued from upstream. Commonly these packages are selected due to their responsibility and stability with respect to upstream availability. Packages from &#039;&#039;community&#039;&#039; or (rarely) &#039;&#039;testing&#039;&#039;, that are accepted go to the &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;community&#039;&#039;&#039; packages are those made by users in team with the official developers and close to the Alpine package process. They are supported by those user(s) contributions and could end if the user(s) stops; they may also be removed in a future release due to lack of support by upstream authors. Packages from &#039;&#039;testing&#039;&#039; that are accepted go to the &#039;&#039;community&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;testing&#039;&#039;&#039; packages are where new packages go. These are made by any contributor to Alpine. Testing has no release linked. The &#039;&#039;testing&#039;&#039; repository is only available on &#039;&#039;edge&#039;&#039;. Packages from &#039;&#039;testing&#039;&#039; that are accepted go to the &#039;&#039;community&#039;&#039; branch or (rarely) the &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
= Managing repositories =&lt;br /&gt;
&lt;br /&gt;
To enable a repository, remove the &#039;&#039;&#039;#&#039;&#039;&#039; in front of the URL along with any blank space.&lt;br /&gt;
&lt;br /&gt;
Example: Disabled&lt;br /&gt;
{{cat|/etc/apk/repositories|#http://dl-cdn.alpinelinux.org/alpine/v3.16/community}}&lt;br /&gt;
&lt;br /&gt;
Example: Enabled&lt;br /&gt;
{{cat|/etc/apk/repositories|http://dl-cdn.alpinelinux.org/alpine/v3.16/community}}&lt;br /&gt;
&lt;br /&gt;
To edit the repositories, open the &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; file in a text editor:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# &amp;lt;editor&amp;gt; /etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
The default will look something like:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.16/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/v3.16/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
After making changes to &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; you should update the package index using:&lt;br /&gt;
{{cmd|# apk update}}&lt;br /&gt;
&lt;br /&gt;
=== Changing repositories to https ===&lt;br /&gt;
For better security you should probably change the url&#039;s from &#039;&#039;&#039;http&#039;&#039;&#039; to &#039;&#039;&#039;https&#039;&#039;&#039;. [https://en.wikipedia.org/wiki/HTTPS#Technical]&lt;br /&gt;
&lt;br /&gt;
{{Note|Some Alpine Linux package mirrors may not support &#039;&#039;&#039;https&#039;&#039;&#039;. If that is the case, you will need to change mirrors or revert back. You can check if your mirror supports &#039;&#039;&#039;https&#039;&#039;&#039; on https://mirrors.alpinelinux.org }}&lt;br /&gt;
&lt;br /&gt;
=== Avoid manually changing the repositories file for a new release ===&lt;br /&gt;
&lt;br /&gt;
You can avoid having to manually update the version in &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; for each Alpine Linux release by changing &amp;lt;code&amp;gt;v3.16&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;latest-stable&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/latest-stable/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Changing the repositories to &amp;lt;code&amp;gt;latest-stable&amp;lt;/code&amp;gt; may initiate unexpected release upgrades.}}&lt;br /&gt;
&lt;br /&gt;
= Release Branches =&lt;br /&gt;
&lt;br /&gt;
There are several release branches for Alpine Linux available at the same time. Each May and November we make a release branch from &#039;&#039;&#039;edge&#039;&#039;&#039;. The &#039;&#039;&#039;main&#039;&#039;&#039; repository is typically supported for 2 years and the &#039;&#039;&#039;community&#039;&#039;&#039; repository is supported until next stable release.&lt;br /&gt;
&lt;br /&gt;
Security fixes beyond that can be made on request when there are patches available.&lt;br /&gt;
&lt;br /&gt;
== Main ==&lt;br /&gt;
&lt;br /&gt;
By default only the &#039;&#039;&#039;main&#039;&#039;&#039; repository is enabled. &#039;&#039;main&#039;&#039; has a support cycle of 2 years. We also try to limit the amount of packages in &#039;&#039;main&#039;&#039; to only include base system packages, in base you can think of packages which are needed by other packages or are needed to setup a basic system. Packages in &#039;&#039;main&#039;&#039; must &#039;&#039;&#039;not&#039;&#039;&#039; have dependencies in other repositories.&lt;br /&gt;
&lt;br /&gt;
== Community ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;community&#039;&#039;&#039; repository was introduced with Alpine Linux version [https://alpinelinux.org/posts/Alpine-3.3.0-released.html 3.3.0].  &#039;&#039;community&#039;&#039; has a maximum support cycle of 6 months. After that you will need to update to the new release to continue to have support.&lt;br /&gt;
&lt;br /&gt;
=== Enabling the community repository ===&lt;br /&gt;
&lt;br /&gt;
To enable the repository, edit the file &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; and add (or uncomment) a line that points to the &amp;quot;community&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Its format is:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://&amp;lt;mirror-server&amp;gt;/alpine/&amp;lt;version&amp;gt;/community&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, if your mirror is dl-cdn.alpinelinux.org and you&#039;re on version 3.16, add the following line to the repositories file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://dl-cdn.alpinelinux.org/alpine/v3.16/community&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After enabling the community repository, one needs to update the index of available packages with:&lt;br /&gt;
{{Cmd|# apk update}}&lt;br /&gt;
And then it&#039;s possible to install packages from the community repository.&lt;br /&gt;
&lt;br /&gt;
= Edge =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;edge&#039;&#039; is the name given to the current [[Aports tree|development tree]] of Alpine Linux. It consists of an APK repository called &#039;&#039;edge&#039;&#039; and contains the latest build of all available Alpine Linux packages. Those packages are updated on a regular basis.&lt;br /&gt;
&lt;br /&gt;
{{Warning|&#039;&#039;edge&#039;&#039; is under constant development so be careful using it in production. It is possible that bugs in &#039;&#039;edge&#039;&#039; could cause data loss or could break your system.}}&lt;br /&gt;
&lt;br /&gt;
End users should not use &#039;&#039;edge&#039;&#039; as their main day-to-day workstation or as a productive system. Because &#039;&#039;edge&#039;&#039; is a development branch, many changes are not heavily tested (or tested at all) and packages in &#039;&#039;edge&#039;&#039; can and sometimes do break without warning.&lt;br /&gt;
&lt;br /&gt;
However, testing &#039;&#039;edge&#039;&#039; is a very valuable activity which helps the Alpine Linux development to ensure that the quality of the stable releases is high. Testing &#039;&#039;edge&#039;&#039; is a great way to contribute to the Alpine Linux development.&lt;br /&gt;
&lt;br /&gt;
== Upgrading to edge ==&lt;br /&gt;
&lt;br /&gt;
{{:Include:Upgrading to Edge}}&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;testing&#039;&#039;&#039; repository was introduced with Alpine Linux &#039;&#039;edge&#039;&#039; development. No support (staging only) and only built for &#039;&#039;edge&#039;&#039;. If it stays here long enough it gets moved to unmaintained/purged (gets cleaned up every 6 months).&lt;br /&gt;
&lt;br /&gt;
Before a package can move from &#039;&#039;testing&#039;&#039; to &#039;&#039;main&#039;&#039; or &#039;&#039;community&#039;&#039;, the following requirements must be met:&lt;br /&gt;
&lt;br /&gt;
# Package must work correctly, including the init.d script (if provided) and default configuration.&lt;br /&gt;
# Packaging must be done correctly, with files installed in the right places, e.g. configs are in &amp;lt;code&amp;gt;/etc/&amp;lt;/code&amp;gt; and not in &amp;lt;code&amp;gt;/usr/etc&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Package dependencies are handled correctly. Abuild can (and should) autodetect shared libs, for example &#039;&#039;&#039;sqlite-libs&#039;&#039;&#039; provides &#039;&#039;&#039;so:libsqlite3.so.0&#039;&#039;&#039;. Any package linked to &#039;&#039;&#039;sqlite&#039;&#039;&#039; should have an automatically (by abuild) added &amp;lt;code&amp;gt;depend=so:libsqlite3.so.0&amp;lt;/code&amp;gt; and the user should not have to manually add a &amp;lt;code&amp;gt;depend=&amp;quot;sqlite-libs&amp;quot;&amp;lt;/code&amp;gt; in the APKBUILD.&lt;br /&gt;
# There is a maintainer who claims responsibility for the maintenance of the package and can help fix things if they break in the future.&lt;br /&gt;
&lt;br /&gt;
=== Enabling the testing repository ===&lt;br /&gt;
&lt;br /&gt;
To enable the repository, edit the file &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; and add (or uncomment) a line that points to the &amp;quot;testing&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Its format is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://&amp;lt;mirror-server&amp;gt;/alpine/edge/testing&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After enabling the testing repository, one needs to update the index of available packages with:&lt;br /&gt;
{{Cmd|# apk update}}&lt;br /&gt;
And then it&#039;s possible to install packages from the testing repository.&lt;br /&gt;
&lt;br /&gt;
=== Using the testing repository on stable branches ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|&#039;&#039;&#039;Only do this if you&#039;re 100% sure what you&#039;re doing!&#039;&#039;&#039; Installing packages from edge that link to something in &#039;&#039;main&#039;&#039; or &#039;&#039;community&#039;&#039; usually will not work. Alpine does not officially support mixing branches this way.}}&lt;br /&gt;
&lt;br /&gt;
Edit the file &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; and add (or uncomment) a line that points to the &amp;quot;testing&amp;quot; directory, while also [[Package_management#Repository_pinning|tagging]] the repository, for example:&lt;br /&gt;
&lt;br /&gt;
{{Cat|/etc/apk/repositories|&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.16/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.16/community&lt;br /&gt;
@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
In that case, the tag is &amp;lt;code&amp;gt;@testing&amp;lt;/code&amp;gt;, which allows you to pull packages from that repository without potentially messing up your install (too badly):&lt;br /&gt;
&lt;br /&gt;
 $ apk add wireguard-go@testing&lt;br /&gt;
&lt;br /&gt;
== Unmaintained ==&lt;br /&gt;
&lt;br /&gt;
{{Expand|Maybe also move this somewhere else?}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;unmaintained&#039;&#039;&#039; packages are not built.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Linux in a chroot]]&lt;br /&gt;
* [http://bugs.alpinelinux.org/ Report Bugs]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Package Manager]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Repositories&amp;diff=22754</id>
		<title>Repositories</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Repositories&amp;diff=22754"/>
		<updated>2022-12-09T21:07:04Z</updated>

		<summary type="html">&lt;p&gt;User4708: /* Overview */  changed overview to Managing repositories and made a few changes to reflect the change.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
The Alpine software repositories have three branches:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;main&#039;&#039;&#039; packages are the software that have direct support and updates from the Alpine core and main team. They also have official special documentation, are always available for all releases and will have substitutions if some are not continued from upstream. Commonly these packages are selected due to their responsibility and stability with respect to upstream availability. Packages from &#039;&#039;community&#039;&#039; or (rarely) &#039;&#039;testing&#039;&#039;, that are accepted go to the &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;community&#039;&#039;&#039; packages are those made by users in team with the official developers and close to the Alpine package process. They are supported by those user(s) contributions and could end if the user(s) stops; they may also be removed in a future release due to lack of support by upstream authors. Packages from &#039;&#039;testing&#039;&#039; that are accepted go to the &#039;&#039;community&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;testing&#039;&#039;&#039; packages are where new packages go. These are made by any contributor to Alpine. Testing has no release linked. The &#039;&#039;testing&#039;&#039; repository is only available on &#039;&#039;edge&#039;&#039;. Packages from &#039;&#039;testing&#039;&#039; that are accepted go to the &#039;&#039;community&#039;&#039; branch or (rarely) the &#039;&#039;main&#039;&#039; branch.&lt;br /&gt;
&lt;br /&gt;
= Managing repositories =&lt;br /&gt;
&lt;br /&gt;
To enable a repository, remove the &#039;&#039;&#039;#&#039;&#039;&#039; in front of the URL along with any blank space.&lt;br /&gt;
&lt;br /&gt;
Example: Disabled&lt;br /&gt;
{{cat|/etc/apk/repositories|#http://dl-cdn.alpinelinux.org/alpine/v3.16/community}}&lt;br /&gt;
&lt;br /&gt;
Example: Enabled&lt;br /&gt;
{{cat|/etc/apk/repositories|http://dl-cdn.alpinelinux.org/alpine/v3.16/community}}&lt;br /&gt;
&lt;br /&gt;
To edit the repositories, open the &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; file in a text editor:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# &amp;lt;editor&amp;gt; /etc/apk/repositories}}&lt;br /&gt;
&lt;br /&gt;
The default will look something like:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v3.16/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/v3.16/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
=== Changing repositories to https ===&lt;br /&gt;
For better security you should probably change the url&#039;s from &#039;&#039;&#039;http&#039;&#039;&#039; to &#039;&#039;&#039;https&#039;&#039;&#039;. [https://en.wikipedia.org/wiki/HTTPS#Technical]&lt;br /&gt;
&lt;br /&gt;
{{Note|Some Alpine Linux package mirrors may not support &#039;&#039;&#039;https&#039;&#039;&#039;. If that is the case, you will need to change mirrors or revert back. You can check if your mirror supports &#039;&#039;&#039;https&#039;&#039;&#039; on https://mirrors.alpinelinux.org }}&lt;br /&gt;
&lt;br /&gt;
=== Avoid manually changing the repositories file for a new release ===&lt;br /&gt;
&lt;br /&gt;
You can avoid having to manually update the version in &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; for each Alpine Linux release by changing &amp;lt;code&amp;gt;v3.16&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;latest-stable&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{cat|/etc/apk/repositories|#/media/cdrom/apks&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/latest-stable/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/edge/testing}}&lt;br /&gt;
&lt;br /&gt;
{{Warning|Changing the repositories to &amp;lt;code&amp;gt;latest-stable&amp;lt;/code&amp;gt; may initiate unexpected release upgrades.}}&lt;br /&gt;
&lt;br /&gt;
= Release Branches =&lt;br /&gt;
&lt;br /&gt;
There are several release branches for Alpine Linux available at the same time. Each May and November we make a release branch from &#039;&#039;&#039;edge&#039;&#039;&#039;. The &#039;&#039;&#039;main&#039;&#039;&#039; repository is typically supported for 2 years and the &#039;&#039;&#039;community&#039;&#039;&#039; repository is supported until next stable release.&lt;br /&gt;
&lt;br /&gt;
Security fixes beyond that can be made on request when there are patches available.&lt;br /&gt;
&lt;br /&gt;
== Main ==&lt;br /&gt;
&lt;br /&gt;
By default only the &#039;&#039;&#039;main&#039;&#039;&#039; repository is enabled. &#039;&#039;main&#039;&#039; has a support cycle of 2 years. We also try to limit the amount of packages in &#039;&#039;main&#039;&#039; to only include base system packages, in base you can think of packages which are needed by other packages or are needed to setup a basic system. Packages in &#039;&#039;main&#039;&#039; must &#039;&#039;&#039;not&#039;&#039;&#039; have dependencies in other repositories.&lt;br /&gt;
&lt;br /&gt;
== Community ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;community&#039;&#039;&#039; repository was introduced with Alpine Linux version [https://alpinelinux.org/posts/Alpine-3.3.0-released.html 3.3.0].  &#039;&#039;community&#039;&#039; has a maximum support cycle of 6 months. After that you will need to update to the new release to continue to have support.&lt;br /&gt;
&lt;br /&gt;
=== Enabling the community repository ===&lt;br /&gt;
&lt;br /&gt;
To enable the repository, edit the file &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; and add (or uncomment) a line that points to the &amp;quot;community&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Its format is:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://&amp;lt;mirror-server&amp;gt;/alpine/&amp;lt;version&amp;gt;/community&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, if your mirror is dl-cdn.alpinelinux.org and you&#039;re on version 3.16, add the following line to the repositories file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://dl-cdn.alpinelinux.org/alpine/v3.16/community&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After enabling the community repository, one needs to update the index of available packages with:&lt;br /&gt;
{{Cmd|# apk update}}&lt;br /&gt;
And then it&#039;s possible to install packages from the community repository.&lt;br /&gt;
&lt;br /&gt;
= Edge =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;edge&#039;&#039; is the name given to the current [[Aports tree|development tree]] of Alpine Linux. It consists of an APK repository called &#039;&#039;edge&#039;&#039; and contains the latest build of all available Alpine Linux packages. Those packages are updated on a regular basis.&lt;br /&gt;
&lt;br /&gt;
{{Warning|&#039;&#039;edge&#039;&#039; is under constant development so be careful using it in production. It is possible that bugs in &#039;&#039;edge&#039;&#039; could cause data loss or could break your system.}}&lt;br /&gt;
&lt;br /&gt;
End users should not use &#039;&#039;edge&#039;&#039; as their main day-to-day workstation or as a productive system. Because &#039;&#039;edge&#039;&#039; is a development branch, many changes are not heavily tested (or tested at all) and packages in &#039;&#039;edge&#039;&#039; can and sometimes do break without warning.&lt;br /&gt;
&lt;br /&gt;
However, testing &#039;&#039;edge&#039;&#039; is a very valuable activity which helps the Alpine Linux development to ensure that the quality of the stable releases is high. Testing &#039;&#039;edge&#039;&#039; is a great way to contribute to the Alpine Linux development.&lt;br /&gt;
&lt;br /&gt;
== Upgrading to edge ==&lt;br /&gt;
&lt;br /&gt;
{{:Include:Upgrading to Edge}}&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;testing&#039;&#039;&#039; repository was introduced with Alpine Linux &#039;&#039;edge&#039;&#039; development. No support (staging only) and only built for &#039;&#039;edge&#039;&#039;. If it stays here long enough it gets moved to unmaintained/purged (gets cleaned up every 6 months).&lt;br /&gt;
&lt;br /&gt;
Before a package can move from &#039;&#039;testing&#039;&#039; to &#039;&#039;main&#039;&#039; or &#039;&#039;community&#039;&#039;, the following requirements must be met:&lt;br /&gt;
&lt;br /&gt;
# Package must work correctly, including the init.d script (if provided) and default configuration.&lt;br /&gt;
# Packaging must be done correctly, with files installed in the right places, e.g. configs are in &amp;lt;code&amp;gt;/etc/&amp;lt;/code&amp;gt; and not in &amp;lt;code&amp;gt;/usr/etc&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Package dependencies are handled correctly. Abuild can (and should) autodetect shared libs, for example &#039;&#039;&#039;sqlite-libs&#039;&#039;&#039; provides &#039;&#039;&#039;so:libsqlite3.so.0&#039;&#039;&#039;. Any package linked to &#039;&#039;&#039;sqlite&#039;&#039;&#039; should have an automatically (by abuild) added &amp;lt;code&amp;gt;depend=so:libsqlite3.so.0&amp;lt;/code&amp;gt; and the user should not have to manually add a &amp;lt;code&amp;gt;depend=&amp;quot;sqlite-libs&amp;quot;&amp;lt;/code&amp;gt; in the APKBUILD.&lt;br /&gt;
# There is a maintainer who claims responsibility for the maintenance of the package and can help fix things if they break in the future.&lt;br /&gt;
&lt;br /&gt;
=== Enabling the testing repository ===&lt;br /&gt;
&lt;br /&gt;
To enable the repository, edit the file &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; and add (or uncomment) a line that points to the &amp;quot;testing&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Its format is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://&amp;lt;mirror-server&amp;gt;/alpine/edge/testing&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After enabling the testing repository, one needs to update the index of available packages with:&lt;br /&gt;
{{Cmd|# apk update}}&lt;br /&gt;
And then it&#039;s possible to install packages from the testing repository.&lt;br /&gt;
&lt;br /&gt;
=== Using the testing repository on stable branches ===&lt;br /&gt;
&lt;br /&gt;
{{Warning|&#039;&#039;&#039;Only do this if you&#039;re 100% sure what you&#039;re doing!&#039;&#039;&#039; Installing packages from edge that link to something in &#039;&#039;main&#039;&#039; or &#039;&#039;community&#039;&#039; usually will not work. Alpine does not officially support mixing branches this way.}}&lt;br /&gt;
&lt;br /&gt;
Edit the file &amp;lt;code&amp;gt;/etc/apk/repositories&amp;lt;/code&amp;gt; and add (or uncomment) a line that points to the &amp;quot;testing&amp;quot; directory, while also [[Package_management#Repository_pinning|tagging]] the repository, for example:&lt;br /&gt;
&lt;br /&gt;
{{Cat|/etc/apk/repositories|&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.16/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v3.16/community&lt;br /&gt;
@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
In that case, the tag is &amp;lt;code&amp;gt;@testing&amp;lt;/code&amp;gt;, which allows you to pull packages from that repository without potentially messing up your install (too badly):&lt;br /&gt;
&lt;br /&gt;
 $ apk add wireguard-go@testing&lt;br /&gt;
&lt;br /&gt;
== Unmaintained ==&lt;br /&gt;
&lt;br /&gt;
{{Expand|Maybe also move this somewhere else?}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;unmaintained&#039;&#039;&#039; packages are not built.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Linux in a chroot]]&lt;br /&gt;
* [http://bugs.alpinelinux.org/ Report Bugs]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Package Manager]]&lt;/div&gt;</summary>
		<author><name>User4708</name></author>
	</entry>
</feed>