I've worked in the online casino business for years.
Licences vary by juristiction. Talk to a company called 'Gaming Associates' if you want a Kahnawake license. It's basically an iso27001 for casinos.
RE: Licensing some software
If you buy a cheap solution, you're going to very much get what you pay for... ie, garbage.
RTG, Microgaming,Playtech, Merge are all good. Rival are bad. Steal your casino and DB bad.
You're honestly better off being a casino affiliate. 30% without the hassles and oveheads of running an operation is a fantastic deal IMHO.