From a source build, you can install rippled and libxrpl using CMake's --install mode:
--install
The default prefix is typically /usr/local on Linux and macOS and C:/Program Files/rippled on Windows.
/usr/local
C:/Program Files/rippled