RPM's are used in RHEL for installing the softwares and packages . The rpm -ivh
command is for RHEL based Linux. If you want to install an RPM file in Ubuntu (or any debian based file system) you need to install Alien to convert RPM into debian and then install the package.
Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.
Install alien in debian
sudo apt-get install alien
Available Options for alien
Convert the package.rpm into a package.deb
sudo alien -d package-name.rpm
Convert the package.rpm into a package.deb, and install the generated package.
sudo alien -i package-name.rpm
If you want to keeps alien from changing the version number use the following command
sudo alien -k rpm-package-file.rpm
For more information about alien check it's man page
'System > Linux' 카테고리의 다른 글
Ubuntu apt-get 명령어 (0) | 2015.01.08 |
---|---|
ubuntu static ip 설정후에도 resolv.conf가 초기화 되는문제 (0) | 2014.11.20 |
Tomcat7 Installation on Ubuntu (0) | 2014.11.07 |
Ubuntu에 JDK 설치하기 (0) | 2014.11.07 |
Ubuntu에 telnet 설치하기 (0) | 2014.09.06 |