First time here? Check out the FAQ!
answered 2018-06-29 05:31:30 -0600
As long as the architectures are the same (x86, amd64...) and you have the dependencies installed, you can simply recopy the opencv files from the installation folder (/usr/local/...) and run sudo ldconfig.
/usr/local/...
sudo ldconfig