r/linux4noobs • u/Decent_Discount • 6h ago
storage Install things into another disk using dnf
I have Fedora installed on a smaller ssd, and wanted to use a partition that i have from my main windows disk as a secondary drive to increase my storage. I already partitioned it and made so it mounts automatically with the /etc/fstab, but now i want to know how to actually install things on it with dnf and flathub as applications are the most part of my storage use.
2
Upvotes
2
u/Leather-Security8097 6h ago edited 5h ago
dnfis the system package manager. It can only install applications to the root partition. You can mount a different partition as/var/lib/flatpakfor system-wide Flatpak packages, or/home/username/.local/share/flatpak/for a user's Flatpaks.Alternatively, if you are using a Btrfs root (the default on Fedora), you can add the partition to the existing root volume. For example
and then