Algeria held municipal and provincial elections for five-year terms amid political competition and local party rivalries.