La Corse 1787-1845
Napoleon Bonaparte, a young naval officer, distinguished himself in the conquest of North Africa by the French (except Morocco, which went to the Spanish). He remained in North Africa for the next three years, before action against the British and Dutch, culminating in the taking of the Cape of Good Hope from the Dutch in 1795 by Admiral d'Entrecasteaux. In 1797 he became the commander of military forces in southwest Australie. He had objected to the policy of shipping Dutch settlers from the Cape to Eastern Australie, but realized the VOC fleet protecting Tasman Bay was too strong to overcome by sea. He landed an expedition on Flerieu Peninsula and marched overland to Tasman Bay ,later renamed Bonaparte [Sydney], driving out the Dutch forces there. The Dutch held a colony in the north, but eventually retreated to the East Indies, feeling the country is worthless, leaving it all to the French as part of the Treaty of Aachen (1800).
Unfortunately, the King and his advisors agreed on the worthlessness of Australie. Bonaparte does not receive much praise for his daring action, and is reassigned to command a small squadron guarding against pirates working out of the Persian Gulf, the so-called Pirate Coast [1}. Under the influence of the Wahabbis, they had become an annoyance to the French in India, capturing local ships sailing under the French flag. With the assistance of Bonaparte and the French, Said bin Sultan, ruler of Oman, drove the Wahabbis out (1806), and Bonaparte used the occasion to establish a French presence in Mombasa and Zanzibar on the East African coast (actually under the suzerainty of Oman at the time).
Libya and Egypt
The destruction of the Barbary Pirates led to the conquest of Algeria and Tun is (1787). They were soon in conflict with Hamet Kharmanii, the ruler of Tripoli. They defeated him and took over Tripolitania [western Libya] as far as Misratah. Hamet established himself in Benghazi in Cyrenaica [eastern Libya] and emerged triumphant after a brief civil war, but appealed to the Mameluke rulers of Egypt for help. The Mamelukes were supposedly under the rule of the Ottoman sultan Selim III. but largely independent. Their backing of Hamet led France to support the taking of power of Muhammad Ali, again, theoretically under the Ottoman Sultan, but actually independent.
Muhammad Ali was a progressive ruler who tried to modernize Egypt. Bonaparte was transferred to Cairo to aid him. He helped survey and build the Mahmoudia Canal supplying water to Alexandria 1814-1817 [OTL 1817-1820]. He then surveyed and oversaw the construction of his greatest project= the Bonaparte Canal, joining the Mediterranean and the Red Sea (originally called by the French the Louis Canal, which the Egyptians and other Europeans objected to; called the Muhammad Ali Canal by the Egyptians, which the Europeans objected to, and eventually named after the man who was most responsible for its building), which opened in 1831.