Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install .deb or .rpm in gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Jian11231
n00b
n00b


Joined: 19 Feb 2021
Posts: 2
Location: Malaysia

PostPosted: Sun Jun 20, 2021 8:25 am    Post subject: Install .deb or .rpm in gentoo Reply with quote

I understand the portage as the heart of the gentoo and I enjoy it while installing the package. However, some other package available only in .deb and .rpm only.
My question is how can I handle those file in gentoo. I'm had been look around the solution provided by other forum, but I'm apologize that I don't quite understand for those solution details.
The solution that I found as below:

1. Use the rpm2targz or deb2targz to convert it and cooperate with pkgtool.
Can some one show me the details how to use these package, because i didn't found any guideline for these two package.

3. Write the custom ebuild for the .deb and .rpm file.
Can someone guide me how to do this.

I'm apologize that I new to gentoo and don't familiar with those conventional rules in gentoo, I hope someone can give me the details guideline to these issue.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2822

PostPosted: Sun Jun 20, 2021 8:57 am    Post subject: Reply with quote

There's a few ebuilds that install a binary-only .deb/.rpm in ::gentoo already.

Set the right RDEPEND it needs, use rpm.eclass or unpacker.eclass to unpack the .rpm or .deb, install files normally (in /opt if possible, but if hardcoded paths don't allow it system is fine too).

net-im/webex or plex-media-server for examples.

Not to say it's a very friendly approach if not already familiar with ebuilds, but it's easier than it looks if give it a bit of time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum