How To Change Default Install Location ((full)) -

sudo mkdir -p /mnt/bigdrive/usr sudo mount --bind /mnt/bigdrive/usr /usr # Make permanent via /etc/fstab echo "/mnt/bigdrive/usr /usr none bind 0 0" | sudo tee -a /etc/fstab For , use --installroot :

setup.exe /DIR="D:\MyApps" /VERYSILENT /SUPPRESSMSGBOXES Use msiexec for MSI files: how to change default install location

sudo dnf install --installroot=/mnt/bigdrive/fakeroot --releasever=38 package-name APT (advanced): Use dpkg override directory: how to change default install location

Change installation location: