Fragile ceasefire strained as rival PMs jostle for power amid talks in Cairo for future political process and elections.
Protesters were demonstrating against deteriorating living conditions and political deadlock, Libyan media reported.
Main pro-democracy alliance boycotts negotiations between generals and political groups.
Algeria could help some nations switch off from Russian gas but the geopolitical backdrop is complex, say analysts.
The joint peace effort aims to bring the generals and an array of political and protest groups to the negotiating table.
Thousands of political prisoners, however, are estimated to remain in Egyptian jails.
President Kais Saied dissolves parliament in latest move to consolidate power.
Protesters in Khartoum demand the expulsion of the UN, which has begun talks to try to solve Sudans political crisis.
Tobruk-based HoR parliament named Bashagha the new PM but incumbent Dbeibeh rejected the move.
Another Libyan election held without proper national reconciliation and political safeguards will not bring stability.