the easiest way is the following-
1) walk into a guitar store, hopefully not a "big box" type, and not a snobby elitist boutique type. just a friendly neighborhood one (like Accent Music in Delaware, I love that place).
2) pick up a guitar, doesn't matter if it's electric or acoustic at this point. if you like Van Halen, pick up an electric. if you like Leo Kottke, pick up acoustic.
3) make certain it "fits" you. meaning, sit down with it as you would at home - on a stool/chair/bed/floor, whatever position you'll be playing it most. some folks find the smaller sizes easy to wrap their arms around, others need a big jumbo axe so it doesn't feel like they're playing a ukelele.
4) find the one you like? now make certain some basic stuff is up to snuff here. such as for electric, nothing buzzes or hums or does something to turn you off when you plug into your Pignose practice amp. make certain the tuning keys are firm so they will stay in tune. when you slide your thumb and forefinger up and down the sides of the neck, you shouldn't feel like the frets are railroad tracks - if they are, your neck isn't well humidified, or they just plumb built it sloppy - move on, don't let them file it down for you lol. for an acoustic, i prefer a solid top, so ask them if the top is a laminate (sides and back aren't as important, it's ok if they are laminate). finally, does it look good? you have to want to play it after all.
5) set up. they should set the thing up so you don't get frustrated even just learning chords and scales and building up your calluses. make certain the action is nice and low (strings low to the fretboard) but not so low that they buzz when you strum, and certainly not when you just fret! they should know to check for a straight neck and all that, but make certain they do.
6) accessories. finally, if the guitar doesn't come with a case, see if they can toss that into the deal, and a damp-it humidifier too, and picks (you'll get into those later) and maybe even a capo (my store was nice enough to toss one in). you won't need a strap for your guitar, or soundhole/bridge pickups/eq for your acoustic, since it will be a while until you're performing in public, unless you're a mad genius.
7) stuff to help you learn - a tiny book of chords and scales. heck, not even scales really. don't get the monster intimidating chord book that will turn you off - just get that little one that fits in your case that has the basic major and minor chords and memorize those. you can look on the internet for the chord progressions of your fave tunes.
8) practice. even better is to practice with someone else, preferrably someone just a bit better than you. build up those calluses - the baby ones will fall off and you'll get the nice pads under your fingertips eventually. stop before you bleed every night, please!
9) once you get the basics down, if you have time/money, you can get lessons. my "lessons" were from upperclassmen in college for pop stuff, and classical training at the conservatory (little spoiled, sorry) but i ended up just picking up a bit from em all and getting something that sounds acceptable to me. i still think they all could kick my arse (and my prof, definitely) but 10 years later i'm in a comfortable groove where i can just pick up an axe and play "twinkle twinkle little star" for my kid without worrying about it, so it's all good.
it's a fun hobby, and definitely worth doing, good luck and enjoy!