From owner-freebsd-questions Wed Aug 15 3:47:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 8B15337B406 for ; Wed, 15 Aug 2001 03:47:24 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 83418 invoked by uid 100); 15 Aug 2001 10:47:23 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15226.21307.118138.305669@guru.mired.org> Date: Wed, 15 Aug 2001 05:47:23 -0500 To: Jatupon Puttiviriyagon Cc: questions@freebsd.org Subject: Re: How to use RPM on FreeBSD In-Reply-To: <41259446@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jatupon Puttiviriyagon types: > I used to work on Linux (Redhat). Now I've changed to FreeBSD4.3 and I > want to port some applications from Redhat to FreeBSD. What package do > I need to install to port Redhat RPM to FreeBSD? If the applications are available in source form, there's a fair chance that they have already been ported. If you installed the ports collection, look through /usr/ports. "make search KEY=stuff" is a good way to find stuff in them. If they haven't been ported, you'd probably be better off doing the port. If you then bundle that up as a port, it can become your first contribution to the FreeBSD community. If it hasn't been released in source form, then you want to enable the linux ABI support and install the linux_base port. First install the port by cd'ing to /usr/ports/emulators/linux_base and doing "make install" as root. Then enable the linux ABI by doing "kldload linux" and "/compat/linux/sbin/ldconfig", also as root. Finally, add "linux_enable=YES" to /etc/rc.conf so that the last two things will be done when you reboot. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message