"a druggist, apothecary, one skilled in pharmacy," 1811; see pharmacy + -ist. Replaced obsolete pharmacian (1720). Pharmaceutist in this sense is attested from 1785. The Latin word was pharmacopola, the Greek pharmakopoles.
late 14c., farmacie, "a medicine that rids the body of an excess of humors (except blood);" also "treatment with medicine; theory of treatment with medicine," from Old French farmacie "a purgative" (13c.) and directly from Medieval Latin pharmacia, from Greek pharmakeia "a healing or harmful medicine, a healing or poisonous herb; a drug, poisonous potion; magic (potion), dye, raw material for physical or chemical processing."
This is from pharmakeus (fem. pharmakis) "a preparer of drugs, a poisoner, a sorcerer" from pharmakon "a drug, a poison, philter, charm, spell, enchantment." Beekes writes that the original meaning cannot be clearly established, and "The word is clearly Pre-Greek." The ph- was restored 16c. in French, 17c. in English (see ph).
Buck ["Selected Indo-European Synonyms"] notes that "Words for 'poison', apart from an inherited group, are in some cases the same as those for 'drug' ...." In addition to the Greek word he has Latin venenum "poison," earlier "drug, medical potion" (source of Spanish veneno, French venin, English venom), and Old English lybb.
Meaning "the use or administration of drugs" is from c. 1400; the sense of "art or practice of preparing, preserving, and compounding medicines and dispensing them according to prescriptions" is from 1650s; that of "place where drugs are prepared and dispensed" is recorded by 1833.
word-forming element meaning "one who does or makes," also used to indicate adherence to a certain doctrine or custom, from French -iste and directly from Latin -ista (source also of Spanish, Portuguese, Italian -ista), from Greek agent-noun ending -istes, which is from -is-, ending of the stem of verbs in -izein, + agential suffix -tes.
Variant -ister (as in chorister, barrister) is from Old French -istre, on false analogy of ministre. Variant -ista is from Spanish, popularized in American English 1970s by names of Latin-American revolutionary movements.
<a href="https://www.etymonline.com/word/pharmacist">Etymology of pharmacist by etymonline</a>
Harper, D. (n.d.). Etymology of pharmacist. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/pharmacist