Skadden, Arps, Slate, Meagher & Flom, Linklaters and Kirkland & Ellis have won roles advising on the world's largest-ever software buyout deal, as private equity firm Hg invests in European software business Visma in a deal that values the business at $12.2 billion.