Thursday, May 09, 2019

Some Packages Match Between Ubuntu and Centos

Symptom:

We have requirements to convert docker images based on ubuntu to centos.
There are quite a few packages we need to match ubuntu from centos
After testing, below are the details of we have so far

Solution:

Ubuntu       ---> Centos

apt-get        ---> yum
python-dev ---> python-devel
apt-get install  build-essential ---> yum groupinstall 'Development Tools'
libfreetype6-dev ---> freetype-devel
libpng-dev          ---> libpng-devel
libpq-dev            ---> postgresql-devel
apache2              ---> httpd
libapache2-mod-wsgi  ---> mod_wsgi

No comments: