Yes, ALL food (and anything with a scent, ie cosmetics, toiletries, etc.) should be hung: at least 1 yard from any part of the tree, at least 5 yards from the ground, and at least 10 yards from your camp (if hunting/trapping/fishing, any processing/preparing/preserving should be done at a "cook camp" at least 50 yards away from your camp). Just remember "1, 5, 10, 50" . As to prepackaged [freeze-dried] food, yes, this STILL applies!
Bears are perfectly suited for survival in the wilderness; they can run as fast as a horse, swim like a fish, climb trees like a monkey, AND, they have a nose like a bloodhound. Plus, they're SMART, they can learn!
There's no need to be afraid of bears, attacks/deaths by bears are rediculously rare, but they are interested in our FOOD, so, they will investigate what they think may be a food possibility. That's their job, that's what they do. YOUR job is to deny them any/all food rewards! Thereby preventing them from being habituated (associating food with people).
Be smart, be safe.