Libyan soldiers overran Sirte on Thursday, taking over the last city where loyalists to Col. Moammar Gadhafi still held control.