Fix lines order bug in the install method
Fix curl package