Is the ios7 for apple downloaded or bought?

I'm getting a new iPhone 5, and it gets here in a few weeks.however, apple's ios7 hasn't come out yet. My friend said that it could be downloaded, but i don't know from where (after it gets released). Do i need to buy it? And if so, where?

You'll get it as a software update on your phone for free.

It's an update everyone will get for free, pretty soon. Look on Apple.com for more info about it

Free whenever its officially released.

The Official iOS 7 will be released in less than 2 weeks. It is absolutely free as always (the iOS's always are). Furthermore it is very easy to update to iOS 7. Through one of two ways.

1. If you prefer to synchronise with iTunes often, then you can update through there, you just click "check for updates" on the summary page when your iPhone is plugged in.

2. If you are not syncing your phone with iTunes then you just enter settings on your iPhone. Settings>General>Software Updates>tap on "check for updates".It will automatically find iOS7 and you're done.

hope I helped.

It will be free when it comes out to the public in the fall, but you can install it early for $5 if you register your device's UDID with a developer account through a site like http://www.udid.in/. Then you can try out the new OS before everyone else. That's how I got it on my 4S.