Get your taxes done using TurboTax

Yes, you will have to pay capital gain taxes on the profit, because it was not your primary residence for two years.