The first version of the Linux kernel was released under a custom license that restricted commercial use. Thankfully however that arrangement didn’t last long and Torvalds released Linux 0.99 under the GNU GPLv2 license in 1992.