how to update pip3 in linux code example Example 1: python update pip3 pip3 install --upgrade pip Example 2: install pip3 sudo apt install python3-pip