0

I have a big source code where it wants to install everything where shown of YUM (Fedora, CentOS, Red hat package manager).

Example:

$ yum install bzip2 cpio curl curl-devel fileutils gettext-devel libtool make nmap openssl openssl-devel libxml2 libxml2-devel php php-devel php-common php-cli php-gd php-pear php-mysql php-pdo php-pecl-json mysql mysql-server mysql-devel YAML

root@sun-M14xR2:/var/tmp# apt-get install bzip2 cpio curl curl-devel fileutils gettext-devel libtool make nmap openssl openssl-devel libxml2 libxml2-devel php php-devel php-common php-cli php-gd php-pear php-mysql php-pdo php-pecl-json mysql mysql-server mysql-devel YAML
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package fileutils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package curl-devel
E: Package 'fileutils' has no installation candidate
E: Unable to locate package gettext-devel
E: Unable to locate package openssl-devel
E: Unable to locate package libxml2-devel
E: Unable to locate package php
E: Unable to locate package php-devel
E: Unable to locate package php-common
E: Unable to locate package php-cli
E: Unable to locate package php-gd
E: Unable to locate package php-mysql
E: Unable to locate package php-pdo
E: Unable to locate package php-pecl-json
E: Unable to locate package mysql
E: Unable to locate package mysql-devel
E: Unable to locate package YAML

And many many other yum package names. it will be lot of time consuming to find them one by one for Ubuntu, is there any yum to apt-get package translator?

But how do i interpret it for Ubuntu apt-get ??

6
  • Take out all that says Unable to locate package from the apt-get command. May 19, 2013 at 6:28
  • How to find there accurate name automatically?
    – user25165
    May 19, 2013 at 6:30
  • Such as gettext-devel openssl-devel libxml2-devel yaml etc?
    – user25165
    May 19, 2013 at 6:30
  • 1
    In Ubuntu dev packages will have -dev suffix instead of -devel. I am composing the list of corresponding packages in Ubuntu May 19, 2013 at 6:35
  • 2
    sudo apt-get install build-essential sudo apt-get install bzip2 cpio curl libtool openssl php5 php5-dev php5-common php5-cli php5-gd php5-mysql mysql-server mysql-source-5.5 libxml2 libxml2-dev gettext nmap May 19, 2013 at 6:42

1 Answer 1

2

Have not tried this in a very long time, but you can use a program called alien for installing rpm packages in ubuntu

You must log in to answer this question.