pavement

Installing Linux Programs

From FreeBSDwiki
Revision as of 09:06, 8 August 2005 by Dave (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you find that you want to install a program which is only on the linux system then you can with these steps:

Install rpm from ports

# cd /usr/ports/*/rpm
# make install clean

Make sure that you have the linux_base port installed; you can do this from /stand/sysinstall, but if you prefer, you can install it like this:

# cd /usr/ports/*/linux_base
# make install clean

Download your rpm software file and type the following:

# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm packagename.rpm

See also Running Linux programs

Personal tools