Denmark's Carlsberg A/S has signed an agreement to buy Orkla ASA's 40% shareholding in Carlsberg Breweries A/S for a total of approximately DKK14.8 billion (US$2.52 billion).