IDG Answers is a community of experts who are passionate about technology. Ask a question or answer one below.
The easiest way is to connect your guitar directly to the line-in/mic jack using an adaptor. It’s also going to sound pretty terrible, so don’t do it. A much better option is a guitar to USB interface. It will sound much better and I think you will be far happier with the results. Behringer makes some inexpensive ones that cost less than $50. Keep in mind, we are not talking a studio quality set-up, but it should be good enough for you to learn your way around your software and you can go with a more complex (and expensive) set-up later if you want.