France joined Russian Federation and Uruguay in securing a place in the World Cup second round, but it took a Kylian Mbappe strike in the first half to seal another unconvincing victory for the 1998 champions.
Paul Pogba played his best outing in the national team shirt in a long time on Thursday, standing out in the first half in particular with some key tackles, great passes and a tricky shot on goal.
However, Peru was unable to find a way through and Ricardo Gareca's side - who have yet to find the net in Russian Federation - are certain to be knocked out.
The result leaves France on six points and Denmark and Australia on four and one respectively after their 1-1 draw earlier in the day. But goalkeeper Hugo Lloris, who made his 100th global appearance, saved his low shot from close range.
However, France had the first real chances.
France made hard work of their opening game, and didn't look anywhere near their pre-tournament billing as one of the World Cup favourites.
Paolo Guerrero started for Peru after coming off the bench in the opening loss to Denmark.
Kane double gives Eng win over Tunisia
The England captain protested immediately, but Roldan was unmoved and was not invited to take another look at the incident. England matched Belgium's tally of three points in the Group G of the FIFA World Cup with a win.
Imagine waiting for nearly three decades to see your nation participate in the FIFA World Cup, and then watch them bow out of the event after just two games. France have an arguably incorrect VAR decision to thank for their victory, after taking the lead through a contentious penalty kick.
France, and particularly their front three, were heavily criticised after the match against Australia but Deschamps appears set to retain faith in Griezmann, Kylian Mbappe and Ousmane Dembele, despite the qualities of Olivier Giroud.
Another good movement from Peru saw Carrillo crossing from the right to left for Farfan, but his header could only hit the side-netting. He was free in the system we chose, said Deschamps, referring to France's 4-2-3-1 formation after fielding a 4-3-3 in their 2-1 win against Australia.
Didier Deschamps' men came in for criticism for their performance and their coach reacted on Thursday by making two alterations.
- France are unbeaten in their last eight World Cup fixtures against CONMEBOL opposition (W4 D4).
Peru won't sit in a defensive shell all game.
However, counter-intuitively, it was in attack - where Les Bleus boast a wealth of world-class talent - that the machine struggled to run smoothly.