To get a driver's license, you first need to pass a written exam (computer based) at the DMV. You'd better prepare for the exam. See the Driver's Handbook. Trying some practice test before hand would be very helpful. See a sample prep test.
When you pass the written exam, you will get a learner's permit. With that, you can practice driving under the guidance of an experienced driver. Finally, you need to take a road test. In order to take the road test, you need to bring a car to the DMV.
When you pass the road test, you will be issued a driver's license. You need to show your ID, proof of residency, and proof of auto insurance. Even if you do not own a car and just want to get a driver's license, you will need to get an auto insurance. Good news is, you can buy a non-owner’s insurance. For more information on non-owner insurance, click here.
For more detailed information on this subject, see North Carolina driver's license, learner's permit, or state ID.