Daily driver guide: Difference between revisions

From Alpine Linux
(replaced PipeWire link by generic Sound Setup)
m (replaced awall by nftables)
 
(31 intermediate revisions by the same user not shown)
Line 10: Line 10:
    
    
-->
-->
Alpine Linux is a general purpose Linux distribution designed for power users. It is built to be small and resource efficient. If you feel the defaults are too lightweight for desktop use, it is easy to get most of the [[How to get regular stuff working|regular stuff working]] and use it as a daily driver.  
Alpine Linux is a general purpose Linux distribution designed for power users. It is built to be small and resource efficient. If you feel the defaults are too lightweight for desktop use, it is easy to get most of the [[How to get regular stuff working|regular stuff working]] and use Alpine Linux as a daily driver by following this guide.  


This guide assumes you have already installed a minimal Alpine Linux system in [[Installation#System_Disk_Mode|system disk]] mode with working internet by following the [[Installation|Installation guide]]. The following steps are mandatory to install any [[Desktop environments and Window managers|desktop]] of your choice either using [[Setup-desktop|setup-desktop]] script or manually.  
{{Box|Help us improve this wiki page|
If you find the instructions correct, please add/update the [[Template:Verified|Verified]] template. If something isn't correct, or is incomplete, add the [[Template:Accuracy|Accuracy]] template to the relevant section. You will have to figure out the correct solution, or ask for it in the [https://alpinelinux.org/community/ community].
 
And then carefully [[Help:Editing|edit]] the wiki page.
 
Just as those before who did it for you.|#FFC699|#FFF5E6}}
 
==== Prerequisites ====
* Alpine Linux installed in [[Installation#System_Disk_Mode|system disk]] mode.  
{{:Include:Desktop prerequisites}}
{{:Include:Desktop prerequisites}}
Once the above prerequisites are met, install any desktop of choice from the [[Desktop environments and Window managers|list of supported Desktop environments and Window managers]] either manually or using [[Setup-desktop|setup-desktop]] script. {{Tip|Except for the first three [[#Prerequisites|Prerequisites]], all the others are automatically handled, if [[Setup-desktop|setup-desktop]] script is used.}}


==== Basics ====
==== Basics ====


* Learn the [https://docs.alpinelinux.org/user-handbook/0.1a/Working/apk.html alpine package keeper basics] or refer [[Alpine Package Keeper|wiki]] for more details.
* Learn the [https://docs.alpinelinux.org/user-handbook/0.1a/Working/apk.html alpine package keeper basics] or refer [[Alpine Package Keeper|wiki page]].  
* [[fonts#Installation|Install]] some [[fonts]] to make your desktop look better.
* [[fonts#Installation|Install]] some [[fonts]] to make your desktop look better.
* Install the necessary [[File management]] packages for automounting of removable storage and browsing of network shares that works seamlessly with file associations.
* Setup a [[Sound Setup|sound server]] to manage your audio and configure your [[Bluetooth]], if you have one.  
* Setup a [[Sound Setup|sound server]] to manage your audio and configure your [[Bluetooth]], if you have one.  
* Configure [[Power management]] so that your computer switches to a low-power state when inactive or when laptop lid is closed.
* Configure your [[Printer_Setup|printer]].
* Configure your [[Printer_Setup|printer]].
* Enable [[Alpine_Linux:FAQ#Why don't I have man pages or where is the 'man' command?|documentation]], so man pages are available.
* Enable [[Alpine_Linux:FAQ#Why don't I have man pages or where is the 'man' command?|documentation]], so man pages are available.
* Configure your [[Configure Networking|Network]], if not done already.
* Graphical tools to manage official packages, Flatpaks and ways to run glibc binaries can be found in [[Software management]] page.
* Secure your system by installing firewall software like [[How-To_Alpine_Wall|awall]] or [[Uncomplicated Firewall|UFW]].
 
* To keep your system secure, regularly [[Alpine_Linux_package_management#Upgrade_a_Running_System|check and apply updates]] with the package manager.
==== Desktop security ====
 
* Install [[CPU Microcode]] updates to mitigate processor design bugs.
* Regularly [[Alpine_Linux_package_management#Upgrade_a_Running_System|check and apply updates]] to keep your system secure.
* [[Upgrading Alpine|Upgrade your OS]] whenever a new stable version of Alpine Linux is [https://www.alpinelinux.org/releases/ released]
* Secure your system by installing a [[Tutorials_and_Howtos#Firewall|firewall]] software like [[Uncomplicated Firewall|Uncomplicated Firewall]] or [[nftables]].
* Install a sandboxing application like [[AppArmor]] or [[Bubblewrap]]. AppArmor is more convenient but has less control than Bubblewrap. Bubblewrap is harder to work with but has more control than AppArmor.  
* Enable [[UEFI Secure Boot]], if [[UEFI]] is available.
* Refer to [[Tutorials and Howtos#Security|security]] section for additional security options.


==== Advanced ====
==== Advanced ====


* Use [[Flatpak]] to add packages that are not in the [[Repositories#repositories|repositories]].
* Install {{pkg|gcompat|arch=}} package to add a glibc compatability layer which lets you run [[Running glibc programs|glibc binaries]] as normal.
* Install a sandboxing application like [[AppArmor]] or [[Bubblewrap]].
* Learn [https://docs.alpinelinux.org/user-handbook/0.1a/Working/openrc.html basics of openrc], the alpine Linux init system or refer [[OpenRC|Open rc wiki]].
* Learn [https://docs.alpinelinux.org/user-handbook/0.1a/Working/openrc.html basics of openrc], the alpine Linux init system or refer [[OpenRC|Open rc wiki]].
* When Alpine Linux [https://www.alpinelinux.org/releases/ releases] a new stable version, [[Upgrading Alpine|Upgrade your OS]. 
* If you want the rolling release version of Alpine Linux, [[Repositories#Managing_repositories|enable]] the [[Repositories#Edge|Edge]] repository.  
* If you want the rolling release version of Alpine Linux, [[Repositories#Managing_repositories|enable]] the [[Repositories#Edge|Edge]] repository.  
* You may want to explore the [[Repositories#Testing|testing ]] repository, as it provides a lot more applications.  
* Explore the [[Repositories#Testing|testing ]] repository, as it provides a lot more applications.  
<noinclude>
== See also ==
 
* [[Tutorials_and_Howtos#Desktop|Desktop section]] of Tutorials page
* [[:Category:Desktop|List of all Desktop]] category pages
</noinclude>


[[Category:Desktop]]
[[Category:Desktop]]

Latest revision as of 17:17, 21 August 2025

Alpine Linux is a general purpose Linux distribution designed for power users. It is built to be small and resource efficient. If you feel the defaults are too lightweight for desktop use, it is easy to get most of the regular stuff working and use Alpine Linux as a daily driver by following this guide.

Help us improve this wiki page

If you find the instructions correct, please add/update the Verified template. If something isn't correct, or is incomplete, add the Accuracy template to the relevant section. You will have to figure out the correct solution, or ask for it in the community.

And then carefully edit the wiki page.

Just as those before who did it for you.

Prerequisites

Once the above prerequisites are met, install any desktop of choice from the list of supported Desktop environments and Window managers either manually or using setup-desktop script.

Tip: Except for the first three Prerequisites, all the others are automatically handled, if setup-desktop script is used.

Basics

Desktop security

Advanced

  • Learn basics of openrc, the alpine Linux init system or refer Open rc wiki.
  • If you want the rolling release version of Alpine Linux, enable the Edge repository.
  • Explore the testing repository, as it provides a lot more applications.

See also