Celeb Glow
updates | April 04, 2026

Run programs installed by Pip in Ubuntu 20.04

As a newbie I try to learn new things everyday, especially when installing: apt, snap, flatpack, appimage, etc. Yesterday I found pip: Python Package Installer, but couldn't get it to work. To test pip I tried a funny little terminal program: Doge. I use Ubuntu 20.04, it's Python 3 only, and has no Python 2 support.

$ sudo apt install python3-pip
$ sudo pip3 install doge
$ pip3 list

So Doge 3.5.0 is listed. But how do I run the program?

The Doge program is not important, I can download it with wget and it works. The important qestion is: how do I run something installed by pip?

1

1 Answer

After some help I found that I missed a line in the beginning of the installation. The correct way is:

$ sudo apt install python3-setuptools
$ sudo apt install python3-pip
$ sudo pip3 install doge
$ pip3 list

If I wasn't such a noob I would have used which to begin. It gave:

/usr/local/bin

so this also worked:

$ cd /usr/local/bin
$ ./doge
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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