Slimani set the Africans on their way to just their second World Cup finals victory with the opening goal, quickly followed by strikes from Rafik Halliche and Abdelmoumene Djabou as the Algerians, beaten narrowly by Belgium in their opening game, raced into a 3-0 lead by half-time.
The Koreans rallied after the break with Son Heung-min and Koo Ja-cheol both scoring, but Yacine Brahimi’s calm finish in between meant there was no late drama.
A draw in their final group game against Russia in Curitiba on Thursday could be enough to send Algeria through, with Korea needing to beat group leaders Belgium to stand any chance of progressing.
The only Arab presence in the tournament, the “Desert Foxes” have never made it past the first round but are now in pole position to earn a spot in the knockout phase.
Algeria’s Bosnian manager Vahid Halilhodzic made five changes to the team which started against the Belgians and could hardly have reaped greater reward as his side flew out of the blocks.
Sofiane Feghouli, who had scored Algeria’s first World Cup finals goal for 28 years in their opening fixture, fired wide within two minutes of the kick-off and Slimani might have done better with a free header seven minutes later.
However, they did not have to wait long to take the lead when defender Carl Medjani played a 26th-minute ball over the top and Slimani squeezed between central defenders Hong Jeong-ho and Kim Young-gwon to lift the ball over advancing keeper Jung Sung-ryong.
Algeria extended their lead just two minutes later when defender Halliche beat Jung to Djabou’s corner to power home a header.
There was worse to come for South Korea – who did not muster a single shot on target in the first half – seven minutes before the break when Slimani’s square ball presented Djabou with the chance to sweep the ball past the helpless Jung and make it 3-0.
But Hong Myung-bo’s men gave themselves hope within five minutes of the restart when Son ran on to a raking pass out of defence and turned former Rangers defender Madjid Bougherra to drill a left-footed shot through keeper Rais Mbolhi’s legs and into the net.
They would have been right back in the game on the hour had Mbolhi, who had earlier been grateful to defender Aissa Mandi for a goal-line clearance from Park Chu-young, not pulled off a stunning save to keep out former Celtic midfielder Ki Sung-yueng’s 30-yard piledriver.
But their hopes were dashed within two minutes when Brahimi exchanged passes with Feghouli before coolly adding his name to the scoresheet.
Koo reduced the deficit once again with 18 minutes to go as he bundled substitute Lee Keun-ho’s cross past Mbolhi, but Algeria saw out time to claim the points.
South Korea: Jung, Yong Lee, Hong, Young-Gwon Kim, Yun, Han (Ji 78), Chung-Yong Lee (Keun-Ho Lee 64), Ki, Chu-Young Park (Shin-Wook Kim 57), Koo, Son. Subs Not Used: Seung-Gyu Kim,Chang-Soo Kim, Kwak, Hwang, Bo-Kyung Kim, Ha, Jong-Woo Park, Joo-Ho Park, Beom-Young Lee.
Algeria: M’Bolhi, Mandi, Medjani, Bougherra (Belkalem 89), Halliche, Mesbah, Feghouli, Brahimi (Lacen 77), Djabou (Ghilas 73), Bentaleb, Slimani. Subs Not Used: Si Mohamed, Ghoulam, Yebda, Soudani, Cadamuro, Taider, Mahrez, Mostefa, Zemmamouche.