Many of the steps in setting up Fedora are the same as I do for Arch. My preferred install is Fedora Rawhide. You are better off with the default "Gnome" desktop than trying the KDE spin (seems to be the best integrated experience with few/no hardware/GPU issues).
Helpful notes to me:
Snapper:
Initial "get started" installs:
sudo dnf in R bat btrfs-assistant cmake duf fastfetch fish fontawesome-fonts-all freetype-devel fribidi-devel gnome-extensions-app gnome-tweaks htop inxi java-latest-openjdk-devel jetbrains-mono-fonts kitty kmymoney lftp libcurl-devel libjpeg-turbo-devel libpng-devel libtiff-devel llvm-devel meson micro onedrive python3-colorama python3-ipykernel python3-pip python3-pyquery sqlitebrowser tcl8-devel tk8-devel typescript xsane zsh
do rollback:
Use sudo snapper ls to list all available snapshots and their corresponding numbers.Note the number of the snapshot you want to revert to.
Open a terminal and use the following command: sudo snapper rollback <snapshot_number>.Replace <snapshot_number> with the actual number of the snapshot you want to rollback to.
You might need to use the --ambit option with the classic value if you encounter an error about an unknown default volume. The command would then be for example: sudo snapper --ambit classic rollback 5
After the rollback is complete, reboot your system to boot into the restored state.On the boot screen, choose the default boot entry to reboot into the reinstated system.A snapshot of the file system status before the rollback is created.The default subvolume for root will be replaced with a fresh read-write snapshot.
Microsoft Edge:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo dnf config-manager addrepo --set=baseurl=https://packages.microsoft.com/yumrepos/edge
sudo dnf in microsoft-edge-beta
sudo dnf copr enable alternateved/eza
sudo dnf in eza
Enable non-free repos:sudo dnf install dnf-plugins-core
sudo dnf config-manager addrepo --set=baseurl=https://packages.microsoft.com/yumrepos/edge
sudo dnf in microsoft-edge-beta
Rstudio:
download nightly build for Fedora and then sudo dnf install xxxx.rpm from Downloads directory
eza:download nightly build for Fedora and then sudo dnf install xxxx.rpm from Downloads directory
sudo dnf copr enable alternateved/eza
sudo dnf in eza
Enable non-free repos:
Dropbox:
Download from https://www.dropbox.com/download?dl=packages/fedora/nautilus-dropbox-2024.04.17-1.fc39.x86_64.rpm
Download from https://www.dropbox.com/download?dl=packages/fedora/nautilus-dropbox-2024.04.17-1.fc39.x86_64.rpm
App indicator needed for Dropbox (and nice to have for Insync):
sudo dnf install gnome-shell-extension-appindicator
sudo dnf install libappindicator-gtk3
sudo gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com
go to Gnome extensions web page and turn on appindicator
Zed:
curl -f https://zed.dev/install.sh | ZED_CHANNEL=preview sh
install ruff extension and modify settings file per: https://docs.astral.sh/ruff/editors/setup/#zed
Warp Terminal:
Insync:
download rpm from https://www.insynchq.com/downloads/linux.... then
Map mouse button to SUPER_L:
sudo dnf install xxxxxxDOWNLOADED.rpm
Pycharm:
dnf copr enable elkhan/PyCharm
sudo dnf install pycharm-community
need to install chess and svglib using pip3 install chess and then same for svglib
fisher for fish terminal:
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
Whatsapp
sudo dnf copr enable nunodias/whatsapp-for-linux
sudo dnf copr enable nunodias/whatsapp-for-linux
sudo dnf in whatsapp-for-linux
multimedia codecs (free):
sudo dnf -y groupinstall multimedia
Install Flathub
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Set up Windows on KVM/QEMU: (https://medium.com/@nkav2447/run-virtual-machines-on-fedora-40-kvm-qemu-setup-aaaa20a50460)
sudo dnf group install --with-optional virtualization
Then follow https://archsetup.blogspot.com/2023/11/install-windows-11-on-virt-manager.html
Disable a repo (dnf5):
sudo dnf config-manager setopt insync.enabled=false
Also can delete from yum.d directory.
Format to add a repo(dnf5):
sudo dnf config-manager addrepo --set=baseurl=https://packages.microsoft.com/yumrepos/edge
sudo dnf config-manager addrepo --set=baseurl=https://packages.microsoft.com/yumrepos/edge
Always have grub menu show
sudo grub2-editenv - unset menu_auto_hide
Downgrade to a specific package:
sudo dnf in koji && cd $(mktemp -d) && pwd && koji download-build -a noarch -a $(uname -m) mutter-48.2-2.fc42 && sudo dnf in ./mutter-48.2-2.fc42.*.rpm ./mutter-common-48.2-2.fc42.noarch.rpmNvidia drivers problematic on Rawhide:
Reinstall kernels:
sudo dnf reinstall kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra
sudo dnf reinstall kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra
sudo dnf install input-remapper
sudo systemctl enable --now input-remapper
sudo systemctl enable --now input-remapper
"KEY_LEFTMETA" is the super key you need
Produce list of all packages on your system by repo:
dnf repoquery --installed --queryformat '\n %{from_repo},%{name}-%{evr}.%{arch}' > repos.txt
Specify specific kernel (if latest Rawhide kernel not supporting your hardware)
sudo sh -c 'grep title /boot/loader/entries/* | cut -d " " -f2-'
sudo micro /etc/default/grub set GRUB_DEFAULT to your preferred kernel in quotes (full name from previous command)
Probably also want to sudo micro /etc/dnf/dnf.conf and write installonly_limit=6 under
"[main]" to increase the number of kernels kept so your working kernel doesn't disappear during an update
Downgrade from Rawhide to 42 (need to disable RPM fusion repos first):
sudo dnf distro-sync --releasever=42 --refresh --disablerepo rawhide \ --enablerepo fedora --allowerasing --bestWill probably need to reinstall kernels (see above) and get rid of old kernels: sudo dnf remove kernel\*-6.*
followed by sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Comments
Post a Comment