Megrahi was a prisoner in Greenock before his release
The man convicted of the UK's worst terrorist atrocity was described as an "exemplary" prisoner during the eight years he spent in a Scottish jail.
Lockerbie bomber Abdelbaset Ali al-Megrahi was freed on compassionate grounds from Greenock Prison on 20 August.
In a report published by Scottish ministers, the prison governor said he distanced himself from other inmates.
It also said terminally-ill Megrahi was unlikely to reoffend if released.
The comments emerged as the Scottish and UK governments published a list of correspondence and documents surrounding the case.
Megrahi was handed a life sentence for the bombing of Pan Am flight 103 over the town of Lockerbie in December 1988, in which 270 people died.
The Libyan - also known as prisoner number 55725 - did not present any security issues during his time in Greenock Prison, according to the governor's report.
"His manner and demeanour are exemplary and he relates well to staff," it stated, adding: "He distances himself from the main population of the hall and restricts his dealings to a handful of prisoners."
The only matter of concern was a report that Megrahi had been in contact with an Arabic television station to take part in a phone-in, but the matter was resolved without any action being taken.
The report also said Megrahi became, at times, withdrawn because of his prostate cancer, "although never in any negative or destructive way".