Daily driver guide: Difference between revisions

From Alpine Linux
m (added docs)
(changed the introductory lines to be consistent with https://alpinelinux.org/about/ page. moved mandatory steps steps to Note and changed it to numbered list)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Many people think that Alpine is only made for containers and servers, but it is actually a general purpose distro which can definitely be used as a daily driver or as a Desktop.
<!-- COMMENT FOR EDITORS


Alpine is extremely small, simple and resource-efficient, making it easy to customize.
If you edit Post-Install,


{{Note|This guide assumes you have already installed a minimal Alpine system by following the [[Installation|Installation guide]]}}
Changes Made on this page also affects the Post-Install section of [[Installation|Installation guide]]. So, check that page too before making changes.  
== Basics ==
* Create a non-privileged [[Setting_up_a_new_user#Creating_a_new_user|user account]] for security reasons.
* Ensure that <code>community</code> repository is [[Repositories#Managing_repositories|enabled]]
* [[Setup-desktop|Install]] a [[Desktop environments and Window managers|Desktop Environment]] of your choice.
* [[fonts#Installation|Install]] some [[fonts]].
* Enable [[Alpine_Linux:FAQ#Why don't I have man pages or where is the 'man' command?|docs]], so man pages are available.


== Advanced ==
  * Consider that there are already [[Tutorials_and_Howtos#Post-Install]], [[Developer_Documentation#Package_management]] and the Handbook, please work towards reducing duplication and providing an overview, and maintaining topic details of considerable size on their own pages.
* If you find busybox lacking in features or options, it is easy to [[How to get regular stuff working|get regular stuff working]]
  * Here, only the most relevant jumping off points are listed, not exact list duplicates!!!
* Use [[Flatpak]] to add packages that are not in the [[Repositories#repositories|repositories]].
  * Keep short-list of links here, as overview to more detailed topic specific pages.
* Install {{pkg|gcompat|arch=}} package to add a glibc compatability layer which (sometimes) lets you run binaries as normal.
  * Don't aggregate different topics at yet another place.
* Secure your system by installing firewall software like [[How-To_Alpine_Wall|awall]] or [[Uncomplicated Firewall|UFW]].
 
* Install a sandboxing application like [[AppArmor]] or [[Bubblewrap]].
-->
 
Alpine Linux is built to be small and resource efficient. It is still a general purpose Linux distribution designed for power users. 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.  


== Experimental ==
{{Note|This guide assumes you have already installed a minimal Alpine Linux system in [[Installation#System_Disk_Mode|sys]] mode with working Internet by following the [[Installation|Installation guide]]. The following four steps are mandatory to install any [[Desktop environments and Window managers|Desktop]]:
# Create a non-privileged [[Setting_up_a_new_user#Creating_a_new_user|user account]] for security reasons.
# Ensure that <code>community</code> repository is [[Repositories#Managing_repositories|enabled]]
# Install [[graphics driver]] for your video hardware.
# Install a desktop using [[Setup-desktop]] script or manually install any [[Desktop environments and Window managers|desktop]] of your choice.
}}


{{Warning|'''Only do below steps, if you're 100% sure what you're doing!''' Possible bugs in ''edge'' and ''testing'' could cause data loss or could break your system.}}
==== 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.
* [[fonts#Installation|Install]] some [[fonts]] to make your desktop look better.
* Setup [[PipeWire]] to manage your audio, if setup-desktop did not install it for your already or you installed your desktop environment manually.
* Configure your [[Bluetooth]], if you have one.
* 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.
* 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.  
 
==== Advanced ====


* If You may want the rolling release version of Alpine Linux, [[Repositories#Managing_repositories|enable]] the [[Repositories#Edge|Edge]] repository.  
* Use [[Flatpak]] to add packages that are not in the [[Repositories#repositories|repositories]].
* You may want to [[Repositories#Managing_repositories|enable]] [[Repositories#Testing|testing]] repository, as it provides a lot more applications.  
* 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]].
* 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.  


Read the above warning once again and understand the full implications.
[[Category:Desktop]]

Latest revision as of 15:56, 8 November 2024


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

Note: This guide assumes you have already installed a minimal Alpine Linux system in sys mode with working Internet by following the Installation guide. The following four steps are mandatory to install any Desktop:
  1. Create a non-privileged user account for security reasons.
  2. Ensure that community repository is enabled
  3. Install graphics driver for your video hardware.
  4. Install a desktop using Setup-desktop script or manually install any desktop of your choice.

Basics

Advanced