Installing Linux Programs

From FreeBSDwiki
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