I want to downgrade the version and cuda

I want to downgrade the version from 555.30 to 530.30 and the cuda from 12.5 to 12.1 i am unable to do it, I am using Ubuntu 22.04 version