A magnitude 8 earthquake killed one person, destroyed dozens of homes and disrupted some oil operations as it rocked Peru early on Sunday, authorities said.