However, in a speech after being sworn in as interim president, he did not give a date for military rule to end.
Gen Brice Nguema led last Wednesday’s coup against Ali Bongo, toppling the president shortly after he was named winner of a disputed election.
Crowds of cheering civilians turned up at the inauguration – the coup was welcomed by many eager for change.
However, some say Gen Nguema’s rule will be a continuation of the 55-year Bongo dynasty.
Ali Bongo’s father, Omar, was in power for 41 years before he died in 2009 and was succeeded by his son.
The general spent most his career in the Bongo’s inner circle and is even thought to be Ali Bongo’s cousin.
At Monday’s inauguration, Gen Nguema gave a defiant speech, referencing the likes of South African Archbishop Desmond Tutu, French statesman Charles Fe Gaulle and former Ghanaian leader Jerry Rawlings.
“This patriotic action will be a lesson learnt that will be taught in the books of our schools,” said the new president, dressed in the red ceremonial costume of the Republican Guard.
He added that a fresh government would be formed “in a few days” and recommended new electoral legislation, a new penal code and a referendum on a new constitution.
Gen Nguema also said he had instructed the new government “to think without delay” about freeing all political prisoners.
The ceremony was broadcast live on Gabonese TV and across online platforms
Former ministers from the ousted government showed up, but were booed by a crowd of junta sympathisers.
General Nguema’s inauguration is the latest in a series of military takeovers across West and Central Africa.
Gabon is the sixth Francophone country to fall under military rule in the last three years as former colonial power France struggles to maintain its influence on the continent.
Gabon been suspended from the African Union following the coup, which has been condemned by the UN and France.
Source: bbc.com