At least 50 people were killed Thursday in a truck bombing  targeting a police camp in the Libyan coastal city of Zliten, a medical official said.

The attack also injured around 127 people, the director of the town's hospital, Abdel-Motleb bin Halim, told Libya's official news agency LANA.

Hospitals in Zliten, around 160 kilometres east of the capital Tripoli, have appealed to local residents to donate blood for the injured victims of the attack, according to LANA.

The truck packed with explosives crashed into the gate of the camp where coastguards are trained, local officials said.

No one has claimed responsibility for the attack, but the bombing is suspected to have been carried out by loyalists of the Islamic State terrorist militia.

"We have information that a boat carrying strangers arrived in the town two days ago," Siarj al-Rashdi, an official at the Zliten security directorate, told dpa.

"Yesterday we mounted a campaign to collect all strangers staying in the town illegally. But unfortunately, this did not stop the disaster."

Zliten is a commercial town not known for sheltering militants. The town is also regarded as a centre for illegal migrants seeking to reach Europe.

Libya has been gripped by fighting between rival militias since the 2011 uprising that toppled longtime dictator Moamer Gaddafi.

The oil-rich country is also split between two competing parliaments, each backed by different militias.

Islamic State has taken advantage of the anarchy to establish a foothold in Libya.

Related stories

Truck bomb kills 70 after crashing into Libyan police camp

Latest news

New Zealand PM: We need migrants as 'locals can't pass drug tests'

New Zealand Prime Minister Bill English said Monday his country has to rely on immigrant workers because many locals can't pass workplace drug tests.

No early parliamentary election in Serbia this year - media

There will be no early parliamentary election in Serbia this year, electronic media in Belgrade said on Sunday.

Full list of 2017 Oscar winners

A list of winners at the 89th Academy Awards:

"Moonlight" wins best picture after on-stage Oscars mixup

The coming-of-age drama about an African American boy growing up gay in a poor neighbourhood in Miami was made for just 1.5 million dollars. Its director and co-writer, Barry Jenkins, hadn't made a film in years. And it was up for the best picture prize against "La La Land," the smash hit musical that tied the record for Oscar nominations this year.

Emma Stone is best actress in winning night for 'La La Land'

Emma Stone won the best actress Oscar at the 89th Academy Awards for her role in the movie musical "La La Land" on Sunday.

Casey Affleck wins best actor at Oscars

Casey Affleck won the best actor trophy at the Oscars in Los Angeles on Sunday for his portrayal of a taciturn janitor with a troubled past in "Manchester by the Sea."

Thousands of Romanians revive anti-government protests

Thousands of Romanians turned out on Sunday to renew their demands for the government to step down amid accusations it is trying to protect corrupt politicians.

Francis, first pope to visit Anglicans in Rome, weighs S Sudan trip

Pope Francis became the first leader of the Catholic Church to visit the Anglican community in Rome on Sunday, where he said he was considering a trip to famine-struck South Sudan.

Ibrahimovic lifts Man United past Southampton in League Cup final

Zlatan Ibrahimovic scored an 87th-minute winner as Manchester United beat Southampton 3-2 in an exciting League Cup final on Sunday.

London screens Iranian director's film amid Oscars boycott

Thousands of people watched a free screeening of Iranian director Asghar Farhadi's film "The Salesman" in London on Sunday to coincide with the Oscars.

Real Madrid stage comeback to stay top; Messi scores in Barcelona win

Lionel Messi scored the winner as Barcelona beat Atletico Madrid 2-1 on Sunday to move top of the Spanish first division.

Dubrovnik Sun Gardens Hotel member of The Leading Hotels of the World

The Dubrovnik Sun Gardens Hotel has joined the Leading Hotels of the World, Ltd., a global hospitality consortium of more than 375 hotels and resorts in over 75 countries.