Definition from Wiktionary, the free dictionary
From Latin sōlitārius (“lonely”). Compare Portuguese solteiro, Catalan solter. See also the borrowed doublet solitario. Another theory, perhaps less likely, derives it from suelto, from Latin solutus (“unbound, released, free, at large”).