Skip to content

Instantly share code, notes, and snippets.

@ElXreno
Last active April 29, 2022 11:54
Show Gist options
  • Save ElXreno/fbb82356f81ef8d416ba89b520f7ccc9 to your computer and use it in GitHub Desktop.
Save ElXreno/fbb82356f81ef8d416ba89b520f7ccc9 to your computer and use it in GitHub Desktop.
Fedora installation guide for me

Fedora 36 installation manual

Upgrade all system:

sudo dnf upgrade --refresh

Setup sysctl config:

Add params to /etc/sysctl.d/99-custom.conf:

kernel.sysrq = 1

# TTL
net.ipv4.ip_default_ttl = 65
net.ipv6.conf.all.hop_limit = 65

# For IPFS
net.core.rmem_max = 2500000

# Other tweaks
net.core.default_qdisc = cake
net.ipv4.tcp_congestion_control = bbr

net.ipv4.tcp_notsent_lowat = 16384
net.core.netdev_max_backlog = 16384

net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_slow_start_after_idle = 0

net.ipv4.tcp_keepalive_time = 60
net.ipv4.tcp_keepalive_intvl = 10
net.ipv4.tcp_keepalive_probes = 6

vm.dirty_background_bytes = 33554432
vm.dirty_bytes = 33554432

Execute:

sudo sysctl --system

Enable AMD P-State driver:

echo amd_pstate | sudo tee -a /etc/modules-load.d/amd_pstate.conf

RPMFusion repositories:

RPMFusion free for Fedora 36:
pub   rsa4096 2019-10-21 [SC]
      Key fingerprint = E9A4 91A3 DE24 7814 E7E0 67EA E06F 8ECD D651 FF2E
uid           RPM Fusion free repository for Fedora (2020) <[email protected]>

RPMFusion nonfree for Fedora 36:
pub   rsa4096 2019-10-21 [SC]
      Key fingerprint = 79BD B88F 9BBF 7391 0FD4 095B 6A2A F961 9484 3C65
uid           RPM Fusion nonfree repository for Fedora (2020) <[email protected]>

Install repositories:

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Update groups:

sudo dnf groupupdate core multimedia sound-and-video

Install NVIDIA drivers:

sudo dnf install gcc kernel-headers kernel-devel akmod-nvidia-470xx xorg-x11-drv-nvidia-470xx xorg-x11-drv-nvidia-470xx-libs xorg-x11-drv-nvidia-470xx-power nvidia-settings-470xx
sudo systemctl enable nvidia-{suspend,resume,hibernate}
sudo akmods --force
sudo dracut --force
sudo systemctl reboot

Install libvirtd:

sudo dnf group install Virtualization
sudo usermod -a -G libvirt $(whoami)
sudo systemctl reboot

Install mock:

sudo dnf install mock rpmdevtools rpm-build mock-rpmfusion-free
rpmdev-setuptree
sudo usermod -a -G mock $(whoami)
sudo systemctl reboot

Install fish and starship:

sudo dnf install fish starship
mkdir -p ~/.config/fish && echo "starship init fish | source" >> ~/.config/fish/config.fish
echo "add_newline = false" >> ~/.config/starship.toml

Install other stuff:

sudo dnf install \
    android-tools \
    ccache \
    ffmpeg \
    flatpak-builder \
    git-lfs \
    gparted \
    htop \
    iotop \
    keepassxc \
    megasync \
    mpv \
    podman \
    restic \
    ripgrep \
    streamlink \
    syncthing \
    wireguard-tools \
    yt-dlp

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub \
    com.giuspen.cherrytree \
    com.rawtherapee.RawTherapee \
    com.valvesoftware.Steam \
    com.vscodium.codium \
    im.riot.Riot \
    org.darktable.Darktable \
    org.gimp.GIMP \
    org.kde.digikam \
    org.mozilla.Thunderbird \
    org.qbittorrent.qBittorrent \
    org.telegram.desktop \
    tw.ddnet.ddnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment