I tried to install libjasper-dev and libpng12 for opencv but I'm getting this error:
E: Unable to locate package libjasper-dev E: Unable to locate package libpng12
I also tried installing libpng16 but still I was getting the same error. How can I solve this problem?