ref
bare + -ly
barely (adv.)
Old English bærlice "openly, clear, public;" see bare (adj.) + -ly (2). Meaning "only just, no more than," is recorded from late 15c. In Middle English it also could mean "solely, exclusively."