<?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=Romw314</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=Romw314"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Romw314"/>
	<updated>2026-05-03T15:41:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Repositories&amp;diff=26406</id>
		<title>Repositories</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Repositories&amp;diff=26406"/>
		<updated>2024-02-17T10:57:53Z</updated>

		<summary type="html">&lt;p&gt;Romw314: Add setup-apkrepos cmd.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TOC right}}&lt;br /&gt;
&lt;br /&gt;
There are three repositories:&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; can be accepted into the &#039;&#039;main&#039;&#039; repository.&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; repository.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;testing&#039;&#039;&#039; is 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; repository or (rarely) the &#039;&#039;main&#039;&#039; repository.&lt;br /&gt;
&lt;br /&gt;
= Managing repositories =&lt;br /&gt;
&lt;br /&gt;
The package repositories that &amp;lt;code&amp;gt;apk&amp;lt;/code&amp;gt; uses to retrieve package files for installation are specified in file {{path|/etc/apk/repositories}}. Each line of this file specifies the location of a package repository, and optionally a tag. Lines that start with a hash character (#) are ignored.&lt;br /&gt;
&lt;br /&gt;
The location may be an &amp;lt;code&amp;gt;http://&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;https://&amp;lt;/code&amp;gt; URL, or the path to a directory on the local filesystem. A [[Package_management#Repository_pinning|tagged]] repository is prefixed with the &amp;lt;code&amp;gt;@tag&amp;lt;/code&amp;gt; specifier, followed by a space and the repository location.&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/v{{#expr:{{AlpineLatest}}}}/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/v{{#expr:{{AlpineLatest}}}}/community}}&lt;br /&gt;
&lt;br /&gt;
To automatically configure {{path|/etc/apk/repositories}}, use:&lt;br /&gt;
{{cmd|# [[Alpine setup scripts#setup-apkrepos|setup-apkrepos]] -cf}}&lt;br /&gt;
&lt;br /&gt;
After making changes to {{path|/etc/apk/repositories}} 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 {{path|/etc/apk/repositories}} for each Alpine Linux release by changing {{ic|v{{#expr:{{AlpineLatest}}}}}}&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;
&#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 {{path|/etc/apk/repositories}} 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/v{{#expr:{{AlpineLatest}}}}/main&lt;br /&gt;
https://dl-cdn.alpinelinux.org/alpine/v{{#expr:{{AlpineLatest}}}}/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;
= See also =&lt;br /&gt;
&lt;br /&gt;
* [[Alpine Linux in a chroot]]&lt;br /&gt;
* [https://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>Romw314</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Migrate_SVN_to_Git&amp;diff=26405</id>
		<title>Migrate SVN to Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Migrate_SVN_to_Git&amp;diff=26405"/>
		<updated>2024-02-17T10:46:58Z</updated>

		<summary type="html">&lt;p&gt;Romw314: Fix code without &amp;lt;code&amp;gt;, fix shouldnt =&amp;gt; shouldn&amp;#039;t.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{obsolete|This document describes how to migrate an SVN repository to git. This is for historical reference.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Init git repository ==&lt;br /&gt;
Create a temp work area. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|mkdir proj-tmp}}&lt;br /&gt;
&lt;br /&gt;
Init the git repository. If your svn repo does not have the standard trunk branches and tags dirs you shouldn&#039;t use the &amp;lt;code&amp;gt;--stdlayout&amp;lt;/code&amp;gt;. You can also use &amp;lt;code&amp;gt;-T trunk -b branches -t tags&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|cd proj-tmp&lt;br /&gt;
git svn init &amp;lt;nowiki&amp;gt;svn://svn.alpinelinux.org/proj&amp;lt;/nowiki&amp;gt; --stdlayout}}&lt;br /&gt;
&lt;br /&gt;
== Create user mapping ==&lt;br /&gt;
Start with creating a users.txt file where the svn users are mapped to an email address for git. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|&amp;lt;nowiki&amp;gt;echo &amp;quot;ncopa = Natanael Copa &amp;amp;lt;ncopa@example.com&amp;amp;gt;&amp;quot; &amp;amp;gt; users.txt&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Connect the user mapping ==&lt;br /&gt;
Connect the users.txt to the empty git repository so users are remapped. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|git config svn.authorsfile ../users.txt}}&lt;br /&gt;
&lt;br /&gt;
== Fetch SVN repository ==&lt;br /&gt;
This might take some time. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|git fetch}}&lt;br /&gt;
&lt;br /&gt;
== Upload the Git repository ==&lt;br /&gt;
&lt;br /&gt;
Now we can create a bare repository and upload it to dev.alpinelinux.org/gitroot. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|cd ..&lt;br /&gt;
git clone --bare proj-tmp proj.git&lt;br /&gt;
scp -r proj.git dev.alpinelinux.org:/~}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Git]]&lt;/div&gt;</summary>
		<author><name>Romw314</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=26401</id>
		<title>KDE</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=KDE&amp;diff=26401"/>
		<updated>2024-02-16T12:05:24Z</updated>

		<summary type="html">&lt;p&gt;Romw314: Add plasma pkg 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-desktop-meta|arch=}} package isn&#039;t available for the &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;armhf&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;riscv64&amp;lt;/code&amp;gt; architectures due to the {{Pkg|kdeplasma-addons|arch=}} dependency not being available there. However, the rest of Plasma may be installed separately to potentially get a functional desktop.}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* [[Installation|Install]] Alpine Linux&lt;br /&gt;
* Create a [[Setting_up_a_new_user#Creating_a_new_user|user account]]&lt;br /&gt;
* Enable the &amp;lt;code&amp;gt;community&amp;lt;/code&amp;gt; [[Repositories#Managing_repositories|repository]]&lt;br /&gt;
* For users interested in Xorg as opposed to Wayland, install the [[Alpine_setup_scripts#setup-xorg-base|Xorg base packages]]&lt;br /&gt;
* [[D-Bus#Installation|Install and configure D-Bus]]&lt;br /&gt;
* [[Elogind#Installation|Install and configure Elogind]]&lt;br /&gt;
* Wayland users: Install package {{pkg|xf86-input-libinput|arch=}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
The following command will install the Plasma desktop as specified by the {{Pkg|plasma|arch=}} metapackage, including the {{Pkg|sddm|arch=}} display manager and other assorted niceties.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add {{Pkg|plasma|arch=}}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{:Include:Setup_Device_Manager}}&lt;br /&gt;
&lt;br /&gt;
{{Note|&#039;&#039;&#039;polkit&#039;&#039;&#039; and &#039;&#039;&#039;udev&#039;&#039;&#039; are optional services for authentication and device management respectively. While KDE will function without these services enabled, some functionality may be missing or incomplete.}}&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;
{{Note|Most of these are not available on &amp;lt;code&amp;gt;ppc64le&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;s390x&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
* {{Pkg|kde-applications-accessibility|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-admin|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-base|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-edu|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-games|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-graphics|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-multimedia|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-network|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-pim|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-sdk|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-utils|arch=}}&lt;br /&gt;
* {{Pkg|kde-applications-webdev|arch=}}&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 plasma meta-package, the display manager is set up using sddm.&lt;br /&gt;
&lt;br /&gt;
Make sure you enable and start the SDDM service.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-update add sddm&lt;br /&gt;
rc-service sddm start&lt;br /&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|arch=}} 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;
{{Cmd|XDG_SESSION_TYPE{{=}}wayland dbus-run-session startplasma-wayland}}&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;
* [https://wiki.archlinux.org/title/KDE KDE - Archwiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;br /&gt;
[[Category:Desktop Environments]]&lt;br /&gt;
[[Category:Wayland]]&lt;/div&gt;</summary>
		<author><name>Romw314</name></author>
	</entry>
</feed>