On Jan 23, 2022, at 08:17, Dorian ROSSE <dorianbr...@hotmail.fr> wrote:
> 
> Every time I miss a program python because I use the most Ubuntu instead 
> fedora I use 'pip3 install theprogrampython '
> 
> But I don't understand how to become more tough dnf,

Well, you are doing it in a way that will break your OS, eventually. It’s not a 
question of DNF becoming “tougher”. You are suggesting people use two different 
package managers, simultaneously, and neither knows about the other.

 Imagine hiring two builders to install a new furnace in a house, and not 
telling them about the other. You’d end up with two confused builders and a 
broken furnace. 

If you want to use pip as root and can’t be bothered to use virtual 
environments, install python outside of DNF, either from source into /usr/local 
or /opt, or use something like “conda”, which has its own prefix. Then, at 
least if it breaks something, it won’t prevent you from updating your OS. 

FWIW, in Centos 8 stream, DNF uses a python that isn’t installed as 
/usr/bin/python so it is less likely for ignorant people to break, although 
I’ve discovered that Ansible *does* find it and will happy install python 
modules in it and break things. 

--
Jonathan Billings
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to