I didn't install with "--disable-wallet" and I'm on master
* master
remotes/origin/0.21
remotes/origin/22.x
remotes/origin/23.x
remotes/origin/24.x
remotes/origin/HEAD -> origin/master
remotes/origin/master
I see. But using master branch rather than stable tag/commit usually isn't recommended, unless you are contributor to Bitcoin Core source code.
sudo dnf install libdb4-devel libdb4-cxx-devel
Have I install that and then re-compile ?
Installing Berkeley DB 4.8 is optional and only needed if you want to load old wallet.dat file. If you already install libsqlite3-dev and follow guide on build-unix.md, you should've compiled Bitcoin Core with wallet feature.
No, Bitcoin Core should detect existing blockchain (and other) files. Just make sure Bitcoin Core use correct directory path.