Fighters in eastern Libya loyal to renegade military commander Khalifa Haftar have accepted a Turkish-backed ceasefire in the western region, which includes the capital Tripoli.

The Libyan conflict has prevented the rehabilitation of the oil and gas sector in the North African country, which is a leading member of Opec and key energy exporter to Europe.

The Tripoli-based internationally-recognised Government of National Accord (GNA) Fayez al Sarraj and Haftar are expected to sign the ceasefire agreement in Russia on Monday

Turkish President Recep Tayyip Erdogan has recently sent troops to prop up the UN-recognised government in Tripoli against Hafter’s forces.

The oil-rich North African country has been racked by turmoil since long-time leader Muammar Gaddafi was killed in a NATO-backed uprising in 2011.

It has since been split between rival administrations in the country's east and Tripoli in the west.

Haftar's self-styled Libyan National Army (LNA) had previously rebuffed a call by Turkey and Russia for the warring parties to declare a ceasefire amid clashes and air raids in a conflict drawing increasing foreign involvement and concern.

The United Nations Support Mission in Libya (UNSMIL) welcomed the truce and urged the warring parties "to strictly abide by the ceasefire and make a room for peaceful efforts to address all disputes through a Libyan-Libyan dialogue".

Turkey backs Sarraj while Russian military contractors have been deployed alongside the eastern forces. Haftar has the backing of Egypt and the United Arab Emirates.

Analysts say any permanent ceasefire will probably be hard to uphold after a recent escalation in fighting around Tripoli and the strategic coastal city of Sirte and given the fractious, loose nature of Libya’s military alliances.

Forces loyal to Haftar, who holds sway in the oil-producing eastern region, said last week they had taken control of Sirte in a rapid advance preceded by air strikes.