Media reports say Saadi Gaddafi departed on a plane to Istanbul immediately after his release.
The 47-year-old immediately departed on a plane to Istanbul, an official source told the Reuters news agency on Sunday.
The former professional footballer was accused of crimes committed against protesters in 2011 and of killing Libyan football coach Bashir al-Rayani in 2005.
He was acquitted of al-Rayani’s murder in April 2018.
A source at the prosecutor’s office told the AFP news agency that “the chief prosecutor asked, several months ago, for the execution of the decision relating to Saadi Gaddafi as soon as all the required conditions had been satisfied”.
He was free to stay in the country or leave, the source added.
Libya has suffered chaos, division and violence in the 10 years since the uprising. In addition to Muammar Gaddafi, three of his sons were also killed.
A ceasefire in 2020 ended factional fighting and paved the way for peace talks and the formation of a transitional government in March. Elections are planned for December.
An official source told Reuters that Saadi Gaddafi’s release resulted from negotiations that included senior tribal figures and Prime Minister Abdul Hamid Dbeibeh.
Another source told the agency the negotiations also involved former Interior Minister Fathi Bashagha.