Justin Sellers connected for a solo homer for the Dodgers, who improved to 4-2 to start the season.
Hyun-Jin Ryu (1-0) notched the first victory of his career with 6 1/2 strong innings. The South Korea native allowed two runs on three hits and two walks while striking out six.
Pittsburgh starter Jeff Locke (0-1) yielded four runs on eight hits over six frames as the Pirates managed only four hits.
Andrew McCutchen hit a two-run homer for the Pirates.
Exploding whale video goes viral on Internet
Benedict Cumberbatch's dramatic reading of R. Kelly lyrics is just what you need