Download the tgz from here - https://www.python.org/downloads/release/python-3140rc2/
sudo tar xvf Python-3.14.0rc2.tgz`
cd Python-3.14.0rc2/
sudo ./configure --enable-optimizations --enable-shared LDFLAGS="-Wl,-rpath=/usr/local/lib"
sudo make -j$(nproc)
sudo make altinstall
Now python3.14 will be accessible.