The package name under ubuntu is different from the package name under centos. How should I find it?
For example, the following:
sudo apt-get install build-essential libpcre3 libpcre3-dev zlib1g-dev unzip git
It is some packages installed by ubuntu. It seems that the names of libpcre3 libpcre3-dev zlib1g-dev are not exactly the same under centos, so how to find these packages under centos?
I changed it to centos’s yum command:
yum install libpcre3 libpcre3-dev zlib1g-dev unzip git
This message appears:
No package libpcre3 available. No package libpcre3-dev available. No package zlib1g-dev available.
Should be the bag name is different?
Or are there no such bags in the warehouse? (I have added various well-known warehouses).
1. Use EPEL source.https://fedoraproject.org/wiki/EPEL
2. use yum search ‘package-name’. You don’t need to type all the names.
3. Not really, google ……