LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2005, 11:09 PM   #1
rehanabid
LQ Newbie
 
Registered: Nov 2004
Location: Islamabad/Lahore- Pakistan
Distribution: Redhat/ Mandrake
Posts: 3

Rep: Reputation: 0
Talking Installing Debian Pakages on Mandrake


Hi Guys:
I have got Xandros3, CD set with me, when i installed it i was not very comfortable with the interface copmared to previous MANDRAKE 10.1 powerpack, therefore i decided to install back mandrake 10.1, now there a few packages of Xandros that i want to install in my mandrake installation but i dont know how to, i found this one package called alien but its not working either.
WOuld anyone be kind enough to let me know as how to install debian packages on mandrake linux.
Thanks Again.
 
Old 11-12-2005, 03:37 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Any software that has Debian packages probably have RPMs for Mandriva. You'd be better off getting an RPM or compiling from source, since I don't think Debian packages will work very well on Mandriva even if you converted it.
 
Old 11-12-2005, 08:18 AM   #3
rehanabid
LQ Newbie
 
Registered: Nov 2004
Location: Islamabad/Lahore- Pakistan
Distribution: Redhat/ Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply, however, can any linux expert help?
Ur suggestion i know is valid but crossover office in xandros is not evaluation version, whereas, one in mandrake has a 30 days trial period, now i wanna install crossover office of xandros in mandrake in this way i wont have tp pay for the license fee of crossover office again.
 
Old 11-13-2005, 01:49 AM   #4
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
that's cheating you know
 
Old 11-13-2005, 07:18 PM   #5
runlevel0
Member
 
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290

Rep: Reputation: 31
Re: Installing Debian Pakages on Mandrake

Quote:
Originally posted by rehanabid
Hi Guys:
I have got Xandros3, CD set with me, when i installed it i was not very comfortable with the interface copmared to previous MANDRAKE 10.1 powerpack, therefore i decided to install back mandrake 10.1, now there a few packages of Xandros that i want to install in my mandrake installation but i dont know how to, i found this one package called alien but its not working either.
WOuld anyone be kind enough to let me know as how to install debian packages on mandrake linux.
Thanks Again.
Difficult task if have no access to the source package. You could install the dpkg utility, but I doubt it would work.
There , however, is a nasty and ugly way of doing it. For this to work you will need dpkg installed, I'm sure there must be a Mandriva package, perhaps in the development branch.
If you can install it, use MC (the midnight commander) to open the deb package. Once you are inside of the package you can just copy the files to your filesystem. This will perhaps need some tweaking of the configs or the filesystem structure of the package and it could happend that the dependencies differ, so be prepared for SEGVs.
 
Old 11-30-2005, 09:03 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
  1. Quote:
    Originally posted by LinuxLala
    that's cheating you know
    Is Xandros Crossover Office a single machine license?
  2. Would alien do the trick?
 
Old 11-30-2005, 01:59 PM   #7
runlevel0
Member
 
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290

Rep: Reputation: 31
I don't know which license Xandros CoO has, the whole distro has a single machine license, but I don't know what kind of license separate pieces of software have.

Alien could do the job, but don't expect too much from it, as Xandros can have a different FHS as vanilla Debians. What you can do is alienizing the package and then open both the deb and the RPM to see if everything is in place.

You will maybe need to symlink some stuff and set some paths, as alien is not very smart and simply copies the filesystem on the rpm to your HD.

The advantage of alien is that you can get rid of the package if it doesn't work, of course. But doing it by hand you can put the stuff under /opt, where it will not interfere with the rest of your system, and then set the necessary paths in your ~/.bashrc
 
Old 12-01-2005, 03:11 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You could use alien, but the resulting rpm is not guaranteed to work on Mandriva because its obviously different when compared to Debian based distros.
 
Old 12-01-2005, 04:40 AM   #9
runlevel0
Member
 
Registered: Mar 2005
Location: Hilversum/Holland
Distribution: Debian GNU/Linux 5.0 (“Lenny”)
Posts: 290

Rep: Reputation: 31
I'm really looking foreward for the day I can use RPM on a Debian and DEB on a Mandriva or SUSE. Would it be so difficult to set up a wrapper that translates package dependencies and filesystem structure?

We have to keep in mind that projects like KDE does the inverse of this (building different package flavors) with each version using checkinstall, so that they automatically have DEBs and RPMS ready for the mayor distros.

The only problem would be translating the content of one databes to another, so that when you install or debianize a SUSE RPM the system is able to either read the DB of installed Debian packages and set the dependencies based on this, or convert the RPM to it's correct Debian counterpart.

Keep in mind, that the most important, the "provides" and "depends" sections, are there, and that it wouldn't be too hard to correctly translate post and preinstall scripts...

But there surely are something I have overseen, or it would have been done long ago.
 
Old 12-01-2005, 09:33 AM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can mix debian packages and rpm using the smart package manager from Mandriva, but I don't know how good this works at the moment. One major problem is that Debian based distros and most rpm based distros put config files and packages in different locations in the Linux FHS so this can cause a problem when installing packages not meant for that distro.
 
Old 01-18-2006, 07:26 PM   #11
linux_learner
LQ Newbie
 
Registered: Sep 2002
Posts: 17

Rep: Reputation: 0
even if you manage to install deb packages in mandrake/mandriva, and resolve the dependancies, you still have a big problem left. do you know where Xandros puts the libs of its packages? do you know where mandriva puts the libs of its packages? even different packagers, put things in different places. what your talking about doing, can be done, but you'd have to remap the libs. it'd be easier to get source packages. crossover office is proprietary and its an executable script (<filename.sh>). xandros has simply packaged it to make it easier and more "optimised".

smart package manager could do this. its your best shot at this. i'd still watch where the libs are placed, and where your system expects the libs.

i, in no way, endorse, or recomend mixing packages from other distros. even using rpm's from fedora or suse can cause havoc on a mandriva system (and vise versa). they place libs in different places. versioning is different. this can cause some serious problems.

my best advise is, if you have to ask about this, then dont do it. chances of screwing up your system is really high. i'd have a better chance of living forever, than you not screwing up.
 
Old 01-18-2006, 07:30 PM   #12
linux_learner
LQ Newbie
 
Registered: Sep 2002
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by reddazz
You can mix debian packages and rpm using the smart package manager from Mandriva, but I don't know how good this works at the moment. One major problem is that Debian based distros and most rpm based distros put config files and packages in different locations in the Linux FHS so this can cause a problem when installing packages not meant for that distro.

smart was not intended for this. while in theory you can do this, it is not recomended. smart will resolve the dependancies, but the libs will still be placed according to the various packages. the smart team, does not advise this. infact we discourage this (for obvious reasons).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
list of installed pakages angel115 Linux - Newbie 6 09-29-2005 02:46 AM
Why I can't find any devel pakages? tx-cary Arch 3 12-08-2004 09:41 PM
Mepis + Anjuta + devel pakages? jnusa Linux - Software 0 11-25-2004 10:25 AM
Installing Mandrake Linux from Inside Debian yakshanz Linux - Software 1 06-23-2004 07:02 AM
Problems with installing rpm pakages sarif Linux - Newbie 2 04-17-2004 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration