install nltk python linux debian code example Example 1: install nltk in python pip install nltk Example 2: install nltk.corpus package pip3 install nltk