红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

install .rpm file in ubuntu

install .rpm file in ubuntu

on debian and also ubuntu you should always try to install .deb packages and not .rpm,

so you need first a program called "alien" that can convert the rpm in deb, install it by typing:

apt-get install alien

then go to the directory where the file called "jdk-6u2-linux-i586-rpm.bin" is and type:

./jdk-6u2-linux-i586 -x

to extract the .rpm files, now there should be a lot of .rpm files in this directory, you have to convert all of them with alien into .deb files, like that:

alien --scripts --keep-version -d *.rpm

(where * stands for each files name)

if you have converted all of them you just have to install each one by:

dpkg -i *.deb

TOP

发新话题