Future Proof Installation

HI !
the computer i used for an interactive installation is now - after 10 years - starting to crumble.
rather sooner then later i will have to renew the whole installation to go on for another 10, 20 years.
what would be youre choice on computer hardware, operating system and camera input ?

i am also afraid of having to update the v4 patches from 2013 to a current state, since some stuff will not work as it used to do…
cheers!