You can get quite far by adhering to opening principles - develop pieces, occupy or otherwise stake a control to the center, bring your king to a safe place, for instance by castling, and keep your eyes open for opportunities. Later, study a couple of openings to use with your favored opening move as white, and a couple of black responses to common white opening moves.
At a lower rating level, people won't have openings prepared any far and won't always be able to find the counter if you end up leaving book even if they happen to know the book line. And if they do know lots of opening theory, play on - chances are they suck at middle and end games, or they wouldn't have a low rating.
Obviously I am a beginner, and I'm feeling quite overwhelmed by the idea of learning all those book opening moves. I also suspect that 99 times out of 100 my opponent will not let me get too far without sabotaging what I'm trying to set up. So my question is: have all reasonably good chess players diligently studied all those book openings, and how much difference does it really make?