Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is it feasible to build an RPM package and then utilize alien to create the DEB package rather than investing time in building a DEB package? Or do certain pieces not translate well?

share|improve this question
add comment

5 Answers 5

up vote 5 down vote accepted

Alien is good in some cases, i.e. you want to install a package fast and there is only a DEB or RPM for that package.

From my experience Alien is not reliable for deploying a package in a distro. i.e. you created a RPM package from your project, and you now want to create a DEB package as well, and not wanting to spend time learning how deb packaging works. And you just use Alien. (it might work well but it has limitations, it depends on what package you throw at it)

What I recommend: If you want to build packages for multiple Linux distributions and multiple architectures the way to go is to use openSUSE Build Service(OBS)

It's philosophy is: "Maintain sources once, offer binaries for any platform". For an overview on what you can do with it watch http://www.youtube.com/watch?v=pjOUX0WFkkk , also see OBS Build Tutorial

share|improve this answer
add comment

It's worth trying, if you have no other starting point. When it works, it works well. But if you think there will be other people who would benefit from the package, it's worth investing the effort to publish a native one.

share|improve this answer
add comment

Yes, it is feasible.

However, you'd probably be better off using an application like checkinstall to create both package types for your users. There's a few howtos out there, this one on lwn.net and this one on linuxjournal.com.

share|improve this answer
add comment

I do the opposite (DEB->RPM) and it works fine.

share|improve this answer
add comment

In my case, it was not working well. Maybe some smaller packages do, but I tried on Debian squeeze to convert from VMWare Server 2 from rpm to deb and it didn't work well. However, I can recommend alien for smaller and maybe older packages; I didn't try to convert new packages.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.