 His father, who was an actor, and his brother died of yellow fever in 1857.Viana had to concentrate on earning money to support his family.He continued his studies, first studying Greek and then Sanskrit under Guilherme de Vasconcelos Abreu.