According to historian Andy Worthington, the author of The Guantanamo Files, Gherebi had settled in Pakistan after fleeing Muammar Gaddafi's repressive regime in Libya.[4] He was married a Pakistani woman, and had fathered several children, the youngest of whom is fifteen, and who he has never met. He had worked as a teacher, teaching science at a primary school.