Either one of those, or it’ll be one package and you choose the edition at install time, and it installs the appropriate features. (Or, if using a package manager, your distro will have the free one, and there will probably be a nonfree package available from the elastic site.)