Paul Pogba will leave Juventus after the Serie A club confirmed the termination of his contract by mutual consent on Friday.