From owner-freebsd-doc@FreeBSD.ORG Fri Aug 28 13:40:07 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33C0D1065677 for ; Fri, 28 Aug 2009 13:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 10A2F8FC1E for ; Fri, 28 Aug 2009 13:40:07 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7SDe6k9096946 for ; Fri, 28 Aug 2009 13:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7SDe6i4096945; Fri, 28 Aug 2009 13:40:06 GMT (envelope-from gnats) Resent-Date: Fri, 28 Aug 2009 13:40:06 GMT Resent-Message-Id: <200908281340.n7SDe6i4096945@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Boris Samorodov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5A37106564A for ; Fri, 28 Aug 2009 13:36:44 +0000 (UTC) (envelope-from bsam@bb.ipt.ru) Received: from bb.ipt.ru (bb.ipt.ru [194.62.233.89]) by mx1.freebsd.org (Postfix) with ESMTP id 6A0B28FC15 for ; Fri, 28 Aug 2009 13:36:43 +0000 (UTC) Received: from bb.ipt.ru (localhost [127.0.0.1]) by bb.ipt.ru (8.14.3/8.14.3) with ESMTP id n7SDaiDI008980 for ; Fri, 28 Aug 2009 17:36:44 +0400 (MSD) (envelope-from bsam@bb.ipt.ru) Received: (from bsam@localhost) by bb.ipt.ru (8.14.3/8.14.3/Submit) id n7SDaiWH008979; Fri, 28 Aug 2009 17:36:44 +0400 (MSD) (envelope-from bsam) Message-Id: <200908281336.n7SDaiWH008979@bb.ipt.ru> Date: Fri, 28 Aug 2009 17:36:44 +0400 (MSD) From: Boris Samorodov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/138269: [patch] the Handbook: add a section about installing a random linux rpm-based application X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Boris Samorodov List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 13:40:07 -0000 >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 @@ bind if you have not configured a name server using the /etc/resolv.conf file. + + + Installing a Random Linux RPM Based Application + + 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). + + However if you need to install a random Linux rpm-based + application it can de achieved by: + + &prompt.root; cd /compat/linux + &prompt.root; rpm2cpio -q < /path/to/linux.archieve.rpm | cpio -id + + 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. + --- linux.rpm.diff ends here --- -- WBR, bsam >Release-Note: >Audit-Trail: >Unformatted: