The Spanish giants were playing for the first time since the terror attack in the city on Thursday and both teams paid their respects to the victims with a minute’s silence before kick off.
Barcelona took the lead in the game when Alin Tosca deflected Gerard Deulofeu’s cross into his own net.
Sergi Roberto then swept in a second.
It was a much-needed result for Barcelona after a difficult start to their season. Forward Neymar left the club to join Paris St-Germain in the summer before they were beaten 5-1 on aggregate by rivals Real Madrid in the Spanish Super Cup.
Relive Sunday’s European football
Lionel Messi, the focal point of the Barcelona forward line in the absence of Neymar and the injured Luis Suarez, hit the woodwork three times as he pursued his 350th La Liga goal.
But it was former Everton forward Deulofeu who made the difference, providing the assist for Roberto’s goal after his cross had led to the opener.
Nou Camp stands together
There was a defiant attitude among the 56,480 supporters inside the 99,000-capacity stadium after Thursday’s events.
Chants of “we are not afraid” rang out around the Nou Camp after the minute’s silence, while there was a banner in the stands that read “No-one can ever break us”.
Both teams also wore black armbands, while Barcelona’s shirts had the city’s name on the back, rather than the players’ surnames, in tribute to the victims.
Pep Guardiola and Mauricio Pochettino will be big rivals in the Premier League this season, but they have one thing in common; they both call Marcelo Bielsa the “best coach in the world”.
This is the era of the “super manager” in the English top flight: Jose Mourinho, Jurgen Klopp, Arsene Wenger, Antonio Conte, Pochettino and Guardiola.
And although Bielsa’s trophy cabinet might be on the light side, arguably none of them can claim to be more influential in football than the 62-year-old former Chile and Argentina boss, who is now head coach of Lille in France.
Women’s Euro 2017: Jodie Taylor goes from England outcast to Golden Boot contender England striker Jodie Taylor is three goals clear at the top of the Women’s Euro 2017 scoring chartsWomen’s Euro 2017 semi-final: Netherlands v EnglandVenue: Enschede, the Netherlands Date: Thursday, 3 August Kick-off: 19:45 BSTCoverage: Listen on BBC Radio 5 live and online; live text commentary on the BBC Sport website; live on Channel Four
After being overlooked by England for almost a decade, the chances of Jodie Taylor proving herself a "world-class" striker at a major tournament seemed remote.
But at 31, the top scorer at Women’s Euro 2017 has joined Sir Geoff Hurst and Gary Lineker in becoming the only England players to score hat-tricks at major tournaments.
After a nomadic career which has taken her to 12 clubs in five countries and tested her self-belief to the limit, Taylor is now sleeping with the match ball after her treble in the famous 6-0 win over Scotland.
She also scored the winner as England finally beat France after a 43-year wait to move into the last four.
So why did it take so long for the Arsenal striker to belong in such elite company, and how did she get here?
From out in the cold to red hot
Media playback is not supported on this device
Euro 2017 highlights: England 6-0 Scotland
While Taylor has looked a natural so far in the Netherlands – scoring five goals in three starts – it is only four years since she was in the international wilderness.
Consistently overlooked by then England manager Hope Powell, an uncapped Taylor watched Euro 2013 from the stands.
The tournament was a low point for the Lionesses – they finished bottom of their group and had the worst record of any side in the competition – but it proved a defining moment for Taylor.
"I was playing in Sweden at the time for Goteborg FC and a lot of my team-mates were representing Sweden. I remember sitting and watching in one of the stadiums and thinking, ‘I know I should be at the Euros’," Taylor said.
"In the past I maybe didn’t feel quite so valued by certain people but it was probably the first time where I thought, regardless of what anyone else says, I know I deserve to be here."
Fast forward four years and that judgement has proved right.
Arsene Wenger has confirmed Alexis Sanchez will miss Arsenal’s opening Premier League match of the season against Leicester after suffering an abdominal strain in training.
The Gunners will be without the Chilean when Craig Shakespeare’s side travel to the Emirates on Friday night, live on Sky Sports Premier League.
Sanchez sustained the injury during a training session ahead of the Community Shield on Sunday and Wenger admits he is unsure how long the 28-year-old will be out of action, although he believes Sanchez is likely to miss the club’s first away game of the campaign against Stoke on August 19.