Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

when I use yum install python-devel -y in centos8 system

Tags:

yum

centos8

Prompt me for the following error

No match for argument: python-devel enter image description here

like image 505
yhongm Avatar asked Dec 14 '22 09:12

yhongm


1 Answers

python2.7 is completely obsolete by now. You should work with python3. Hence you could install:

dnf install python3-devel -y

(dnf is the replacement for yum on centos8. yum is still available but just an alias for dnf)

like image 50
Chris Maes Avatar answered Jan 28 '23 19:01

Chris Maes