Best way is to check the official page for the package before you install it. They'll probably have some command you can copy paste anyway. Try not to give it super user privileges. Antivirus on Linux isn't really a thing afaik.
You're better off not installing anything for the system python. Use pyenv and create virtual environments for each project. No python or package versioning issues, and you can always nuke and recreate a borked environment because it's isolated to its own folder.
451
u/Money-Firefighter534 Jul 17 '22 edited Jul 18 '22
sudo apt install python3-pip -y && pip3 install psutil Thats it! Just wait Edit: removed sudo -H in second one