An iron cage is very good and you can capture the dinosaur and tranquilize it, preferably with a gun, not a bow.

More Yutyrannus Taming & KO Tips