The former Arsenal, West Ham, Crystal Palace, Cardiff City and Bordeaux striker had been without a club since he left Cardiff in 2016.
His last league match was against Brighton in a goalless draw in the English Championship on 3 December that same year.
“Today I can say that I really retired from football,” Chamakh told beIN Sports.
Born in France, Chamakh spent eight years with Bordeaux scoring 56 goals in 230 league appearances, and won one Ligue 1 title and two French League Cups.
He moved to Arsenal in 2010 and went on to make 40 Premier League appearances in three seasons, netting eight goals.