Editing
Debian package management
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= rpm2deb -- converting packages from ... to ... = * https://en.wikipedia.org/wiki/Rpm_(software) * https://en.wikipedia.org/wiki/Alien_(software) * https://manpages.debian.org/unstable/alien/alien.1p.en.html * https://manpages.debian.org/unstable/pseudo/fakeroot.1.en.html * https://manpages.debian.org/unstable/fakeroot-ng/fakeroot.1.en.html * https://www.howtoforge.com/converting_rpm_to_deb_with_alien : alien -k ... ('''important''') * https://unix.stackexchange.com/questions/9714/what-is-the-need-for-fakeroot-command-in-linux#9720 ('''important''') * https://salsa.debian.org/perl-team/modules/packages/libdbd-oracle-perl/blob/master/debian/README -- Oracle's Instant Client package comes as RPM -- how to convert to .deb == alien --to-deb ... == this command line creates a Debian package from an RPM package (using that e-mail address for the (local Debian) package maintainer).<br/> CAVEAT: won't actually work, because creating a Debian package requires running this as root <pre>$ env EMAIL='john.doe@COMPANY.com' alien --to-deb --keep-version ...</pre> some command line parameters can only get passed to "alien" as environment variables. == fakeroot ... == you do not have root priviliges, but you need to pretend to have them for achieving certain goals like creating a Debian package: <pre>$ fakeroot ...</pre> == special issues == === fiddling with the tree before creating the .deb === <pre>$ env EMAIL='john.doe@COMPANY.com' alien --to-deb --keep-version ... $ cd ... # here you want to change a few bits $ sudo chown ... $ fakeroot debian/rules binary </pre> == open questions == * how to deal with dependencies specified within the RPM package? * β¦
Summary:
Please note that all contributions to wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information