update instructions and packages list

This commit is contained in:
cho 2023-08-04 11:27:06 +07:00
parent a542cb199b
commit 35d490e7fb
2 changed files with 69 additions and 10 deletions

View File

@ -2,7 +2,53 @@
setting up the system and packages setting up the system and packages
** make new user and add to wheel ** installing fedora minimal with btrfs snapshots (snapper)
this sections assumes that you know how to use sway (window manager), neovim (text editor), basic terminal shell commands, burn an iso to disk, as well as using the anaconda installer.
get the os image (Fedora Everything) from here https://alt.fedoraproject.org/en/ and burn it to your usb/other.
*** verifying the iso file
1. Download the checksum file (from https://alt.fedoraproject.org/en/) into the same directory as the image you downloaded.
2. Import Fedora's GPG key(s)
#+BEGIN_SRC sh
curl -O https://fedoraproject.org/fedora.gpg
#+END_SRC
3. Verify the CHECKSUM file is valid
#+BEGIN_SRC sh
gpgv --keyring ./fedora.gpg *-CHECKSUM
#+END_SRC
4. Verify the checksum matches
#+BEGIN_SRC sh
sha256sum -c *-CHECKSUM
#+END_SRC
*** installing fedora and setting up btrfs with snapshots
differences/notes before continuing with the installation:
1. some dependencies aren't available with 'fedora custom operating system'. before installing snapper make sure to install these packages:
#+BEGIN_SRC sh
sudo dnf install neovim sway firefox locate git bzip2
#+END_SRC
a) neovim is the text editor of my choice
b) install a browser such as firefox to follow along guide
c) locate, git, bzip2 are the missing dependencies not included in the guide.
2. software selection will be 'fedora custom operating system'
boot your fedora installer media and follow this guide, make sure to boot with EUFI mode:
https://sysguides.com/install-fedora-38-with-snapshot-and-rollback-support/
** how to make new user and add to wheel
#+BEGIN_SRC sh #+BEGIN_SRC sh
# make a user and add to the wheel group # make a user and add to the wheel group
@ -75,6 +121,9 @@ sudo dnf --repo=rpmfusion-nonfree-tainted install "*-firmware"
** installing dnf packages ** installing dnf packages
this will install programs, as well as (99% of) dependencies of shell scripts and configuration included within lf (file manager)
the other dependency not included in packages.txt is `pup` (included in a section below)
#+BEGIN_SRC sh #+BEGIN_SRC sh
sudo dnf install -y $(cat ~/.dots/packages.txt) sudo dnf install -y $(cat ~/.dots/packages.txt)
#+END_SRC #+END_SRC
@ -93,12 +142,15 @@ echo "Defaults editor=/usr/bin/nvim" >/etc/sudoers.d/02-visudo-editor
** Make zsh the default shell for the user. ** Make zsh the default shell for the user.
#+BEGIN_SRC shell #+BEGIN_SRC shell
name=$USER
chsh -s /bin/zsh "$name" >/dev/null 2>&1 chsh -s /bin/zsh "$name" >/dev/null 2>&1
sudo -u "$name" mkdir -p "/home/$name/.cache/zsh/" sudo -u "$name" mkdir -p "/home/$name/.cache/zsh/"
sudo -u "$name" mkdir -p "/home/$name/.config/abook/" sudo -u "$name" mkdir -p "/home/$name/.config/abook/"
sudo -u "$name" mkdir -p "/home/$name/.config/mpd/playlists/" sudo -u "$name" mkdir -p "/home/$name/.config/mpd/playlists/"
#+END_SRC #+END_SRC
at this point, you should logout and login again to set the variables.
** librewolf (browser) ** librewolf (browser)
from https://librewolf.net/installation/fedora/ from https://librewolf.net/installation/fedora/
@ -118,7 +170,7 @@ https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/
first we need marked for markdown support first we need marked for markdown support
#+BEGIN_SRC sh #+BEGIN_SRC sh
sudo npm -g marked sudo npm install -g marked
#+END_SRC #+END_SRC
#+BEGIN_SRC sh #+BEGIN_SRC sh
@ -134,6 +186,7 @@ from https://github.com/horriblename/lf#installation
#+BEGIN_SRC sh #+BEGIN_SRC sh
env CGO_ENABLED=0 go install -ldflags="-s -w" github.com/horriblename/lf@latest env CGO_ENABLED=0 go install -ldflags="-s -w" github.com/horriblename/lf@latest
mkdir -p $HOME/.cache/lf
#+END_SRC #+END_SRC
** interception tools (keyboard input mappings) ** interception tools (keyboard input mappings)
@ -175,6 +228,7 @@ sudo systemctl enable udevmon.service
** sway notifications ** sway notifications
from https://github.com/ErikReider/SwayNotificationCenter#fedora
#+BEGIN_SRC sh #+BEGIN_SRC sh
dnf copr enable erikreider/SwayNotificationCenter dnf copr enable erikreider/SwayNotificationCenter
dnf install SwayNotificationCenter dnf install SwayNotificationCenter
@ -189,6 +243,7 @@ pip install autotiling==1.8
** sc-im (terminal spreadsheet) ** sc-im (terminal spreadsheet)
from https://github.com/andmarti1424/sc-im/wiki/Installing-on-Fedora-36--(packaged)
#+BEGIN_SRC sh #+BEGIN_SRC sh
sudo dnf copr enable marcusmueller/sc-im sudo dnf copr enable marcusmueller/sc-im
sudo dnf install sc-im sudo dnf install sc-im
@ -281,6 +336,15 @@ sudo usermod -a -G vboxusers default
#+END_SRC #+END_SRC
** flatpak packages ** flatpak packages
remember to set permissions, especially access to personal files according to what you want the software to have before launching them.
*** flatseal
#+BEGIN_SRC sh
flatpak install -y com.github.tchx84.Flatseal
#+END_SRC
*** Unity *** Unity
#+BEGIN_SRC sh #+BEGIN_SRC sh
@ -302,12 +366,6 @@ flatpak install com.github.johnfactotum.Foliate
flatpak install -y com.valvesoftware.Steam.Utility.gamescope com.usebottles.bottles org.freedesktop.Platform.VulkanLayer.MangoHud flatpak install -y com.valvesoftware.Steam.Utility.gamescope com.usebottles.bottles org.freedesktop.Platform.VulkanLayer.MangoHud
#+END_SRC #+END_SRC
*** flatseal
#+BEGIN_SRC sh
flatpak install -y com.github.tchx84.Flatseal
#+END_SRC
*** steam *** steam
#+BEGIN_SRC sh #+BEGIN_SRC sh
@ -372,6 +430,7 @@ power_dpm_force_performance_level: high
#+END_SRC #+END_SRC
* todos * todos
** TODO write dependencies and programs to separate files
** add packages ** add packages
*** TODO add simple-mtpfs *** TODO add simple-mtpfs
dnf package unmaintained dnf package unmaintained

View File

@ -76,7 +76,6 @@ swaybg
swayidle swayidle
socat socat
moreutils moreutils
neomutt
isync isync
msmtp msmtp
pass pass
@ -109,7 +108,6 @@ GraphicsMagick
microcode_ctl microcode_ctl
wget wget
neofetch neofetch
elinks
dnf-utils dnf-utils
steam-devices steam-devices
thunderbird thunderbird
@ -130,3 +128,5 @@ VirtualBox
virtualbox-guest-additions virtualbox-guest-additions
@virtualization @virtualization
texlive-scheme-basic texlive-scheme-basic
rofi
kanshi