pavement

Installing Linux Programs

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
m
 
Line 14: Line 14:
 
See also [[Running Linux programs]]
 
See also [[Running Linux programs]]
  
[[Category:Common Tasks]]
+
[[Category:Common Tasks]][[Category : Linux Equivalents]]

Latest revision as of 09:06, 8 August 2005

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