블로그 이미지

RPM 패키지 설치 의존성 문제

2013. 5. 3. 00:37


한 시간 날렸는데, 실패. 분명 책에서는 우분투에서도 RPM 패키지 설치가 가능한데...

구글링해봐도 명확한 해답이 없다.

다만, RPM 패키지 직접 설치가 아닌, deb 패키지로 변환하여 설치하는 방법이 나온다.


(Reference: http://blog.hostonnet.com/how-to-install-rpm-packages-on-ubuntu)

How to install RPM Packages on Ubuntu

Ubuntu Support only deb package installation, If you have some software in rpm package you can install it in Ubuntu easily. Fedora/Redhat and Mandriva support RPM packages.

In Ubuntu you can easily install softwares from Software Centers or via PPA. If any software is not available in deb/software center/ppa and it’s only available in rpm, than you can easily convert that rpm file to deb package with one command using terminal.

This RPM to DEB Conversion Utility called Alien, Which converts packages from one to the other format. It doesn’t mean that convert rpm package will always work on your system. Cause there can be problem of Dependencies or libraries.

To install Alien open Terminal (Press Ctrl+Alt+T) and run the following command

sudo apt-get install alien dpkg-dev debhelper build-essential

Now convert package from RPM format to Deb format, use the following command. Change your packagename in command:

sudo alien packagename.rpm

To install the deb package enter following command:

sudo dpkg -i packagename.deb