Wednesday, May 9, 2012

installing rpm and tgz package on a debian box

Debian is a magnificent Linux distribution. The default debian Installation package is .deb. However Debian can also install slackkware .tgz package, because .tgz equals to tar.gz with installation script. So from that fact we can simply install .tgz files by extracting. for example we will install xmms because this package is not available on debian repository. I got xmms package from a slackware 12 dvd now i just have to install it.

tar zxvvf xmms-1.2.11-i486-2.tgz -C /

then we can simply remove /install by typing

rm -r /install

but now we have a problem. xmms window won't come up after invoking. is not found on system. actually the library needed is already available in different filename ('s just because library naming between slackware and debian different. we can simply solve it by linking the library

ln -s /usr/lib/ /usr/lib/

yup, we have successfully installed a slackware .tgz package.

Now let's install rpm package from slackware 12 DVD (rpm- we also need to install beecrypt because some files on beecrypt are the dependency of rpm. it's also available on slackware 12 DVD.

tar zxvvf rpm-
tar beecrypt-4.1.2-i486-2.tgz
rm -r /install

again like the previous problem the names of the library are different. Yup let's solve it

ln -s /usr/lib/ /usr/lib/
ln -s /usr/lib/ /usr/lib/
ln -s /usr/lib/ /usr/lib/

and now we got the problem solved

No comments:

Post a Comment