From 6cd1a496951bc676744413b27cd00b4f2176d64c Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sat, 17 Dec 2022 17:53:12 +0100 Subject: feat: Finish alpine setup --- content/posts/2022-12-10-alpine-setup.md | 70 ++++++++++++++++++++++++-------- 1 file changed, 52 insertions(+), 18 deletions(-) diff --git a/content/posts/2022-12-10-alpine-setup.md b/content/posts/2022-12-10-alpine-setup.md index 4a284ec..fb251da 100644 --- a/content/posts/2022-12-10-alpine-setup.md +++ b/content/posts/2022-12-10-alpine-setup.md @@ -1,13 +1,9 @@ --- title: "Alpine set up for daily driver" date: 2022-12-10 -draft: true tags: ['alpine', 'linux'] --- -# Installation Process - - ## Disable secure boot First, always check for secure book. If it is enabled you won't be able to boot @@ -104,21 +100,59 @@ Now we will install the necessary drivers for `xorg` to run properly. Firs search for all video drivers `apk search xf86-video*` and install whatever you have for you computer (in my case `apk add apk add xf86-video-amdgpu`) -* `apk add mesa-dri-gallium mesa-va-gallium mesa-egl` -* `setup-xorg-base` -* `apk add lightdm-gtk-greeter` -* `setup-devd udev` -* `rc-update add dbus` -* `rc-update add lightdm` - -* `apk add terminus-font` -* `dbus-uuidgen > /var/lib/dbus/machine-id` -* `rc-update add dbus` -* `apk add i3wm i3status xterm i3lock` -* `add user input` -* `add user video` -* `reboot` +Add required mesa drivers: + +```bash +apk add mesa-dri-gallium mesa-va-gallium mesa-egl +``` + +Alpine provides a command to install required packages for xorg + +```bash +setup-xorg-base +``` + +Now to set the `lightdm` and its required dbus setup: + +```bash +apk add lightdm-gtk-greeter +setup-devd udev +rc-update add dbus boot +rc-update add lightdm boot +apk add terminus-font +dbus-uuidgen > /var/lib/dbus/machine-id +rc-update add dbus +``` + +Now for the i3wm: + +```bash +apk add i3wm i3status xterm i3lock +add user input` +add user video` +``` + +## Extras + +There is a list go command that I use that may be helpful: + +``` bash +apk add perl bash fzf # required for things to work +apk add fish # shell +apk add zathura-pdf-poppler # pdf viewer +apk add ranger # file explorer +apk add alpine-sdk make git go # some dev tooling +apk add qutebrowser # browser +apk add keepassxc # password manager +apk add aerc # mail +``` + +## Wiki + +There is a more complete from the alpine wiki[^4], which will give more context +to the commands. [^1]: https://wiki.alpinelinux.org/wiki/Installation#Questions_asked_by_setup-alpine [^2]: https://wiki.alpinelinux.org/wiki/Installation#The_general_course_of_action [^3]: https://wiki.alpinelinux.org/wiki/Repositories#Enabling_the_community_repository +[^4]: https://wiki.alpinelinux.org/wiki/Setting_up_a_laptop -- cgit v1.2.3