I am very new to to the Linux and python world. I am trying to use tkinter to write some GUI codes for an assignment. It requires me to import it.

I used the command: sudo aptitude install python3-tk

but it tells me that the sudo:aptitude command not found.

Please help. Thank you in advance.


  • 1
    Welcome to Ask Ubuntu. The default tools that come with Ubuntu are apt-get & apt. Did you install aptitude before you tried using it? (sudo apt install aptitude) – guiverc Dec 29 '18 at 11:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.