Theodore Roszak, who three weeks after the Woodstock Festival in 1969 not only published a pivotal book about a young generation’s drug-fueled revolt against authority but also gave it a name — “counterculture” — died on July 5 at his home in Berkeley, Calif. He was 77.

His wife, Betty, in confirming the death, said he had been treated for liver cancer and other illnesses.

Dr. Roszak’s book “The Making of a Counter Culture: Reflections on the Technocratic Society” had gone to press months before the music festival was held in August that year, displaying the exuberance and excesses of a generation rebelling against war and seeking new ways to be and think.