Roglic powered down the final descent from the Col d'Aubisque to beat Thomas by 19 seconds and leapfrog Froome, whose star continued to fade, into third place overall.
Dave Brailsford of Team Sky addressed fans who had been heckling his team throughout the Tour de France.
Their Italian rider Gianni Moscon was thrown out of the race for hitting another rider during the 15th stage on Sunday.
Vincenzo Nibali dropped out of the Tour de France after fracturing one of his vertebrae.
Tour de France director Christian Prudhomme was impressed by Mark Cavendish even though he was eliminated from the race.
Romain Bardet of AG2R is not confident about his chances of winning the Tour de France.
Chris Froome is expected to be heckled by fans during the upcoming 12th stage of the Tour de France.
The Tour de France has thus far gone exactly how many expected it to.
Only Australian Richie Porte crashed out after 10km and last year’s runner-up Rigoberto Uran lost one minute 28 seconds on the favourites’ group after hitting the ground.
Degenkolb won the ninth stage of the Tour de France, a 156.5-km ride from Arras.
Porte has pulled out of the Tour de France after damaging his shoulder in a crash.
The Lotto NL-Jumbo rider, who won the final stage to Paris last year, had by his own admission suffered a disappointing start to the 2018 Tour before his show of power to beat Gaviria into second and Peter Sagan into third.
The Team UAE Emirates rider jumped away from the main pack inside the final kilometre and never looked back, beating France’s Pierre Latour by one second and Spain’s Alejandro Valverde by three.
Romain Bardet will have to overcome the setback of the Tour de France exit of his teammate Axel Domont to emerge victorious.
Peter Sagan beat Sonny Colbrelli and Philippe Gilbert to win the fifth stage of the Tour de France.
Gaviria won Saturday's first stage on his Tour debut and looks to be the man to beat in the sprints this year.
Dan Martin is prioritising conserving energy and avoiding accidents during the early stages of the Tour de France.
The 23-year-old Quick Step rider timed his sprint to perfection to overtake German Andre Greipel and hold off a fast-finishing Peter Sagan, who just got second, in a photo finish.
It was also a very satisfying day for Froome, the Kenyan-born Briton ignoring some booing at the start line and making up some of the valuable time he lost on Saturday's first stage.
The Slovak was thrown out after the fourth stage 12 months ago for sending Mark Cavendish crashing in a chaotic sprint, but he won it clean this time to beat Italian Sonny Colbrelli and France’s Arnaud Demare.
Froome crashed into a grass section on the side of the road with five kilometres left and was quickly back on his bike, but the speeding peloton did not wait as preparations for the final mass sprint had started.
Tour organisers ASO had decided to ban Froome from the race but the world anti-doping agency and the International Cycling Union delivered a long-awaited verdict on a September 2017 test of the Briton that cleared the 33-year-old's name.
The world's biggest cycling race starts on Saturday, just days after four-time champion Froome was cleared of doping suspicions by the Union Cycliste Internationale (UCI), headed by Lappartient.
Team Sky fired back at Bernard Hinault, who called for a rider boycott of this year's Tour de France should Chris Froome take part.