Canned, from the store. Properly stored it will last over thiry years in the can.
The only concern for long term storage in the cans is that BPA will leak out of the coating that is inside the can. In 5-20 years from now, if I'm having to eat out of those cans...BPA will be the least of my worries.