Daily driver guide: Difference between revisions

From Alpine Linux
(added Tip)
m (replaced awall by nftables)
 
(12 intermediate revisions by the same user not shown)
Line 11: Line 11:
-->
-->
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.  
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.  
{{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 ====
==== Prerequisites ====
* Alpine Linux installed in [[Installation#System_Disk_Mode|system disk]] mode.  
* Alpine Linux installed in [[Installation#System_Disk_Mode|system disk]] mode.  
{{:Include:Desktop prerequisites}}
{{:Include:Desktop prerequisites}}
{{Tip|Except for the first three [[#Prerequisites|Prerequisites]], all the other ones are automatically handled, if [[Setup-desktop|setup-desktop]] script is used.}}
 
Once the above prerequisites are met, install any [[Desktop environments and Window managers|desktop]] of choice either manually or using [[Setup-desktop|setup-desktop]] script.
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.  
* Install the necessary [[File management]] packages for automounting of removable storage and browsing of network shares that works seamlessly with file associations.  
Line 27: Line 34:
* 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.
* Graphical tools to manage official packages, Flatpaks and ways to run glibc binaries can be found in [[Software management]] page.
==== Desktop security ====
* Install [[CPU Microcode]] updates to mitigate processor design bugs.
* Install [[CPU Microcode]] updates to mitigate processor design bugs.
* Secure your system by installing a [[Tutorials_and_Howtos#Firewall|firewall]] software like [[How-To_Alpine_Wall|Alpine Wall]] or [[Uncomplicated Firewall|Uncomplicated Firewall]].  
* Regularly [[Alpine_Linux_package_management#Upgrade_a_Running_System|check and apply updates]] to keep your system secure.
* To keep your system secure, regularly [[Alpine_Linux_package_management#Upgrade_a_Running_System|check and apply updates]] with the package manager.
* [[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]].
* 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]].
* [[Upgrading Alpine|Upgrade your OS]] whenever a new stable version of Alpine Linux is [https://www.alpinelinux.org/releases/ released]
* 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.
* Consider [[Tutorials and Howtos#Security|additional security options]] for your desktop system.
* 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>
<noinclude>
== See also ==
== See also ==



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