Wow you do not read the manual
sudo apt install build-essential git libpcre2-dev pkg-config libssl-dev bzip2 wget libavahi-client-dev zlib1g-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libavresample-dev gettext cmake libiconv-hook-dev liburiparser-dev debhelper libcurl4-gnutls-dev python-minimal libdvbcsa-dev python-requests
Iflibpcre2-dev not found uselibpcre3-dev
p.s.
sudo su ??? redhad derivatives ?
sudo -i debian and derivatives including Ubuntu