Egyptian warplanes have staged a second wave of air strikes against the Islamic State group in neighbouring Libya.

Officials said the aircraft struck in Derna, an extremist stronghold in eastern Libya, which had been the focus of the first wave of air strikes.

The action is in retaliation for the extremists' beheading of a group of Egyptian Christian hostages on a beach, as revealed in an online video released on Sunday night.

In Libya, a security official said Derna and its suburbs were rocked by the sound of massive explosions around lunchtime.

Men in orange jumpsuits purported to be Egyptian Christians held captive by the Islamic State kneel in front of armed men along a beach said to be near Tripoli, in this still image from an undated video made available on social media yesterday.Men in orange jumpsuits purported to be Egyptian Christians held captive by the Islamic State kneel in front of armed men along a beach said to be near Tripoli, in this still image from an undated video made available on social media yesterday.

Egypt has also called for international intervention in Libya against IS.

Loyalists of the Syria and Iraq-based group have risen to dominate several cities in the chaos-riven North African nation, just across the Mediterranean Sea from Italy.

After the release of the gruesome mass beheading video on Sunday night, the tiny Christian-majority village of more than half of the 21 Egyptians believed killed by the extremists was left in shock.

Inside the village church, relatives wept and shouted the names of the dead.

"What will be a relief to me is to take a hold of his murderer, tear him apart, eat up his flesh and liver," said Bushra Fawzi in el-Aour village, as he wept over the loss of his 22-year-old son Shenouda.

"I want his body back. If they dumped it in the sea, I want it back. If they set fire to it, I want its dust."

The 21 - mainly young men from impoverished families - had travelled to Libya for work and were kidnapped in two groups in December and January from the coastal city of Sirte.

In the video, the group is marched onto what is purported to be a Libyan beach before masked militants with knives carve off the head of each.

The killing of at least a dozen of them is clearly visible, though it was not clear from the video whether all 21 hostages were killed.

On Monday morning, an Egyptian armed forces spokesman announced the strikes on state radio, marking the first time Cairo has publicly acknowledged taking military action in neighbouring Libya.

The statement said the warplanes targeted weapons caches and training camps before returning safely.

Libya's air force commander, Saqr al-Joroushi, told Egyptian state TV that the air strikes were coordinated with the Libyan side and that they killed about 50 militants.

The strikes hit four IS positions in the eastern Libyan city of Darna, an extremist stronghold that was taken over by an Islamic State affiliate last year, a Libyan security official said. Two Libyan security officials said civilians, including three children and two women, were killed in the strikes.

Libya's air force meanwhile said it had carried out its own strikes in Darna, without providing further details.

It said the "intense strikes" were "to avenge the bloodshed and to seek retribution from the killers".

"Let those far and near know that Egyptians have a shield to protect and safeguard the security of the country and a sword that amputates terrorism and extremism," it said.

Hours later, Egyptian warplanes carried out a second wave of strikes in Darna, Egyptian security officials said.

After the strikes, Egyptian president Abdel-Fattah el-Sissi spoke with France's president and Italy's prime minister about the Libya situation.

He sent his foreign minister, Sameh Shukri, to New York to hold consultations with UN officials and Security Council members ahead of a conference on terrorism opening on Wednesday in Washington.

"What is happening in Libya is a threat to international peace and security," said el-Sissi, who also banned all travel to Libya by Egyptian citizens.

Egypt's foreign ministry said the international community must adopt "immediate and effective" moves against terror groups in Libya.

"Leaving things in Libya as they are without decisive intervention to suppress these terror groups constitutes a clear danger to international peace and security," said the statement.

It also called on the US-led coalition staging air strikes against IS in Iraq and Syria to offer Egypt political and material support to counter the threat posed by the group in Libya.

Sunday's video was one of the first beheading videos from an Islamic State group affiliate to come from outside the group's core territory in Syria and Iraq, and displayed the sophisticated techniques used in previous videos.

The killings raise the possibility that the extremist group - which controls about a third of Syria and Iraq in a self-declared caliphate - has established an affiliate less than 500 miles from the southern tip of Italy. One of the militants in the video said the group now plans to "conquer Rome".

Egypt is already battling a burgeoning Islamist insurgency centred in the strategic Sinai Peninsula, where militants have recently declared their allegiance to IS and rely heavily on arms smuggled across the porous desert border between Egypt and Libya.

The strikes also come just a month before Egypt is scheduled to host a major donor's conference at a Sinai resort to attract foreign investment needed to revive the economy after more than four years of turmoil following its own 2011 uprising.

Libya, on Egypt's western border, has slid into chaos since the 2011 uprising that toppled and killed longtime leader Muammar Gaddafi.

Islamist-allied militias seized the capital Tripoli last year, and the internationally recognized government has been confined to the country's far east since, while Islamist politicians set up a rival government in Tripoli.

Last year, Egypt and the United Arab Emirates carried out air strikes against Islamist-allied forces last year, according to US officials.

The foreign minister of the United Arab Emirates, Sheikh Abdullah bin Zayed Al Nahyan, called the new mass killing an "ugly crime" and said it was "devoting all its resources to support the efforts of Egypt to eradicate terrorism and the violence directed against its citizens".

He added that the killing highlights the need to help the Libyan government "extend its sovereign authority over all of Libya's territory".

The oil-rich Emirates, along with Saudi Arabia and Kuwait, has given billions of dollars in aid to Egypt since el-Sissi, who was then military chief, overthrew Islamist president Mohammed Morsi in July 2013 amid massive protests against his year-long rule.

The UN secretary-general has condemned the beheadings "in the strongest terms".

A spokesman for Ban Ki-moon said the secretary-general "deplores the targeting of people on account of their religious affiliation".

The UN Security Council strongly condemned what it called the "heinous and cowardly apparent murder" of the 21 Egyptians and blamed it on an affiliate of IS.

The council statement also demanded the immediate release of all hostages held by the militant group or anyone associated with al-Qaida.

Egypt's defence minister said later that a deal had been signed to purchase 24 advanced fighter jets from France.

At a joint news conference with his French counterpart, Sedki Sobhi said the military co-operation agreement, which included the sale of the Rafale jet fighters as well as a frigate, marked a new beginning for strategic relations between the two countries.

French defence minister Jean-Yves Le Drian said France and Egypt were waging a common battle against terrorism.

A French Defence Ministry official has said the total value of the sale was €5.2 billion.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.