Gentoo is a free operating system based on either Linux or FreeBSD that can be automatically optimized and customized for just about any application or need.