Things to do after install Fedora 43


---
##### SYSTEM UPDATES & FIRMWARE  
sudo dnf upgrade --refresh -y  
##### Check Firmware (Only if supported hardware is found)  
fwupdmgr refresh  
fwupdmgr get-updates  
fwupdmgr update -y  

---
# INSTALL DRIVERS & CODECS 

##### Install RPM Fusion (Free & Nonfree)  
sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
###### Install basic multimedia packages and libraries  
sudo dnf install -y libfreeaptx libldac fdk-aac ffmpeg-libs libva libva-utils openh264 gstreamer1-plugin-openh264 mozilla-openh264 intel-gpu-tools  

!important remove:     `sudo dnf remove -y intel-media-driver
##### Swap restricted codecs
sudo dnf swap -y ffmpeg-free ffmpeg --allowerasing  
sudo dnf swap -y mesa-va-drivers mesa-va-drivers-freeworld  
sudo dnf swap -y mesa-vdpau-drivers mesa-vdpau-drivers-freeworld 
##### INTEL DRIVERS  
#### 'libva-intel-driver' is the legacy i965 driver (Sandy Bridge to Skylake).   
#### Newer Intel CPUs (Broadwell+) use 'intel-media-driver'.   
sudo dnf install -y libva-intel-driver  
    
---
# INSTALL APPLICATIONS & TOOLS  
## Archive Tools, System Info, Monitoring  

sudo dnf install -y unzip 7zip 7zip-plugins unrar inxi btop lm_sensors git make gcc mono-devel vlc

## Viber  
wget https://download.cdn.viber.com/cdn/desktop/Linux/viber.rpm  
sudo dnf install -y ./viber.rpm  
## Caprine
sudo dnf copr enable dusansimic/caprine
sudo dnf install -y caprine
## Notejot 
## Notes-xfce  
sudo dnf install xfce4-notes-plugin 

---
# KERNEL CONFIGURATION  

# Enable Vanilla Kernel Copr  
sudo dnf -y copr enable @kernel-vanilla/stable  

sudo dnf upgrade -y 'kernel*'  
# Update metadata expiration for Copr  
sudo sed -i 's!baseurl=https://download.copr.fedorainfracloud.org/results/@kernel-vanilla/\(mainline\|stable-rc\|next\).*!&\nmetadata_expire=1h!g; s!baseurl=https://download.copr.fedorainfracloud.org/results/@kernel-vanilla/\(stable\|fedora\)/.*!&\nmetadata_expire=3h!g;' /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:group_kernel-vanilla:*.repo  
# Secure Boot State  
mokutil --sb-state  

### CachyOS kernel
sudo dnf copr enable bieszczaders/kernel-cachyos-addons
sudo dnf install cachyos-settings ----allowerasing


---
# POWER & THERMAL MANAGEMENT  

# Detect sensors  
sudo sensors-detect --auto  
# Install Thermald  
sudo dnf install -y thermald  
sudo systemctl enable --now thermald  

# --- OPTION A: Power Profiles Daemon (Default/Recommended for GNOME/KDE) ---

sudo dnf install -y power-profiles-daemon  
sudo systemctl enable --now power-profiles-daemon  
powerprofilesctl set performance  
  
# --- OPTION B: TLP (Advanced battery life) ---  best for ivy bridge
sudo systemctl mask power-profiles-daemon

sudo dnf install -y tlp tlp-rdw  
sudo systemctl enable --now tlp  

sudo nano /etc/tlp.conf
CPU_SCALING_GOVERNOR_ON_AC=performance
CPU_SCALING_GOVERNOR_ON_BAT=powersave
CPU_BOOST_ON_AC=1

sudo tlp start
tlp-stat -s`


## --- OPTION C: --- 
git clone https://github.com/AdnanHodzic/auto-cpufreq.git  
cd auto-cpufreq && sudo ./auto-cpufreq-installer  
sudo auto-cpufreq --install  
auto-cpufreq --stats  

### When the fans are not working use NBFC-LINUX 
git clone https://github.com/nbfc-linux/nbfc-linux.git  
cd nbfc-linux  
make  
sudo make install  

---
# Boot speedup
### Disable NetworkManager wait online
sudo systemctl disable NetworkManager-wait-online.service  
## disable autoupdates
sudo systemctl stop packagekit  
sudo systemctl mask packagekit 
### FILESYSTEM MAINTENANCE  
sudo fstrim -av  
sudo systemctl enable --now fstrim.timer

### MANUAL CONFIGURATION 
### /etc/dnf/dnf.conf    
max_parallel_downloads=10
### /etc/default/grub   
GRUB_CMDLINE_LINUX="rhgb quiet acpi_enforce_resources=lax  mitigations=off "
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

sudo grubby --update-kernel=ALL --args="preempt=full mitigations=off"

## save ram 
Tune ZRAM for performance.
sudo nano /etc/systemd/zram-generator.conf   
    [zram0]  
    zram-size = ram  
    compression-algorithm = zstd  
Restart the service:  
    sudo systemctl restart systemd-zram-setup@zram0.service

sudo nano /etc/sysctl.d/99-sysctl.conf
vm.swappiness=100

# Fedora Kde specific:
sudo systemctl disable --now switcheroo-control.service ModemManager.service pcscd.service abrtd.service abrt-journal-core.service abrt-oops.service abrt-xorg.service rsyslog.service atd.service gssproxy.service rpc-statd-notify.service irqbalance.service 
balooctl disable 
sudo systemctl disable --now pcscd.service

---
# CHECKS  
systemd-analyze blame | head -n 100 
vainfo  
sudo intel_gpu_top 
inxi
cpufreq
systemctl list-units --type=service  



Author Photo

About Nevyan Neykov

I do web design and development for more than 15 years. Have been working in various companies dealing mainly with PHP and JavaScript. Independently as well as in teams, I am involved in design and development of user friendly websites. Exploring the new aspects of JavaScript language such as ES6, as well as the Angular framework and how to apply them in practice. Nowadays I find dealing with Docker / Kubernetes and Linux system administration compelling. @youtube: https://www.youtube.com/channel/UC69XQPDbEpfAtO5S2-ZyNoA at udemy: https://www.udemy.com/user/nevyan-neykov/ Have a nice day !

View Full Profile →