Results 1 to 8 of 8

Thread: Gentoo prebuilt packages

  1. #1
    Join Date
    Apr 2008
    Beans
    31

    Gentoo prebuilt packages

    Is it possible to install prebuilt packages for gentoo under other operating systems, say ubuntu or arch?

  2. #2
    Join Date
    Nov 2007
    Location
    Ft. Lauderdale, FL
    Beans
    35
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Gentoo prebuilt packages

    You mean, take an existing .deb file and install it under Gentoo? You can "emerge dpkg" to get the dpkg tool, which will let you install .deb packages, but it won't handle dependencies properly, so you should only do this when there's no alternative. And even then, you should probably write an ebuild which checks the dependencies and then calls dpkg to install the .deb file.

    As for Arch, I don't know what their package format is or whether one could use their packages within Gentoo.


    Alternatively, if you mean taking a Gentoo-built package and rolling it into a .deb or Arch-format for installation under Ubuntu or Arch...I have no idea.

  3. #3
    Join Date
    Apr 2008
    Beans
    31

    Re: Gentoo prebuilt packages

    The latter, taking a prebuilt gentoo package and turning it into a .deb or just installing it into a different operating system (possibly the same computer, say chrooting into a gentoo install, building a package and moving it to ubuntu or arch and installing it there)

  4. #4
    Join Date
    Nov 2007
    Location
    Ft. Lauderdale, FL
    Beans
    35
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Gentoo prebuilt packages

    Though Gentoo does hava a binary package format, I have no idea what it looks like, and doubt that alien or whatever can natively import it.

  5. #5
    Join Date
    Feb 2007
    Beans
    521
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Gentoo prebuilt packages

    You can create a binary package from any program you have installed in gentoo. I just looked into one of these binary packages. They are tbz2 archives. It contains all root folders which contains files of the program. For example, the package of aterm has:
    Code:
    /usr/bin - the executable binary is here
    /usr/share/man - the man pages
    /usr/share/docs - some documentation
    It seems you can just extract this archive into your root folder and the program will be installed. Of course, you have to take care of the dependencies yourself.
    make install - not war!

    Oh hai!

  6. #6
    Join Date
    Apr 2008
    Beans
    31

    Re: Gentoo prebuilt packages

    That is interesting... Very. I may try to experiment with that.

  7. #7
    Join Date
    Feb 2007
    Beans
    521
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Gentoo prebuilt packages

    If you want I can send you some package that doesn't have many dependencies?
    make install - not war!

    Oh hai!

  8. #8
    Join Date
    Apr 2008
    Beans
    31

    Re: Gentoo prebuilt packages

    I'm actually just installing gentoo right now, it's compiling kde 4.1 and then it'll be almost fully usable, I think, I'll find out, I haven't spent too much time inside of it, I installed it all chrooted from arch and only confirmed that the kernel I compiled booted into the system. Thank you though.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •