Date: Fri, 28 Aug 2009 17:36:44 +0400 (MSD) From: Boris Samorodov <bsam@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/138269: [patch] the Handbook: add a section about installing a random linux rpm-based application Message-ID: <200908281336.n7SDaiWH008979@bb.ipt.ru> Resent-Message-ID: <200908281340.n7SDe6i4096945@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138269 >Category: docs >Synopsis: [patch] the Handbook: add a section about installing a random linux rpm-based application >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Aug 28 13:40:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Boris Samorodov >Release: FreeBSD 8.0-BETA3 i386 >Organization: InPharmTech, Co. >Environment: System: FreeBSD bb.ipt.ru 8.0-BETA3 FreeBSD 8.0-BETA3 #2: Mon Aug 24 16:06:36 MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 >Description: This is one most frequently asked questions at freebsd-question@ and freebsd-emulation@ mail lists and is not covered at any official documents. >How-To-Repeat: >Fix: This is my first try to use sgml format, so please be indulgent. ;-) --- linux.rpm.diff begins here --- Index: chapter.sgml =================================================================== RCS file: /home/dcvs/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml,v retrieving revision 1.138 diff -u -r1.138 chapter.sgml --- chapter.sgml 27 Aug 2009 12:48:48 -0000 1.138 +++ chapter.sgml 28 Aug 2009 13:28:06 -0000 @@ -349,6 +349,24 @@ <literal>bind</literal> if you have not configured a name server using the <filename>/etc/resolv.conf</filename> file.</para> </sect2> + + <sect2> + <title>Installing a Random Linux RPM Based Application</title> + + <para>FreeBSD has it's own package database and it is used to track + all ports (linux ports as well). So the Linux rpm database is not + used (not supported).</para> + + <para>However if you need to install a random Linux rpm-based + application it can de achieved by:</para> + + <screen>&prompt.root; <userinput>cd /compat/linux</userinput></screen> + <screen>&prompt.root; <userinput>rpm2cpio -q < /path/to/linux.archieve.rpm | cpio -id</userinput></screen> + + <para>Then brandelf installed ELF binaries (not libraries!). + You won't be able to do a clean uninstall, but it may help you + to do tests.<para/> + </sect2> </sect1> <sect1 id="linuxemu-mathematica"> --- linux.rpm.diff ends here --- -- WBR, bsam >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908281336.n7SDaiWH008979>