THE body of Mr Megherbi, who was last seen on Tuesday, October 9 in Roath, was found by specialist search officers near Pentwyn Leisure Centre on Friday, November 30.
Next of kin have been traced in Algeria and informed of his death.
Kane Burns, 26, from Llanedeyrn, is charged with murder and is remanded in custody for a further hearing at Cardiff Crown Court on February 12.
Detective Chief Inspector Gareth Morgan, of the South Wales Police Major Crime Investigation Team, said: “Mr Mergherbi’s mother in Algeria has been given the devastating news about her son.
“We will continue to work with the Algerian Consulate to update the family and support them as best we can during our investigation.”
24-year-old Mr Megherbi, who is from Algeria, had strong links to northwest London and had recently been living in Newport Road, Roath.
Detectives are still appealing for information.
They are particularly keen to hear from anyone who knew Mr Mergherbi, who is associates were, and anyone who may have seen him after the last sighting in Roath on Tuesday, October 9.
If you can help, please contact South Wales Police on 101 or Crimestoppersanonymously on 0800 555 111 quoting occurrence number *416778.
Alternatively, information can be submitted via the Police Major Incident Public Reporting Site: https://mipp.police.uk/operation/62SWP18A69-PO1