Replace archivers/rpm2cpio with archivers/rpm in section 11.2.3 since

archivers/rpm is mentioned in the later sections.

Remove -q from the rpm2cpio command since it is not a valid flag

Reported by:	David Demelier <demelier.david@gmail.com>
Approved by:	hrs@ (mentor)
This commit is contained in:
Steven Kreuzer 2014-03-31 14:40:04 +00:00
parent 2dee9039e5
commit 3b7ece0cf2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44396

View file

@ -261,13 +261,13 @@ Abort</screen>
<para>In order to install a &linux; <acronym>RPM</acronym>-based
application, first install the
<package>archivers/rpm2cpio</package> package or port. Once
<package>archivers/rpm</package> package or port. Once
installed, <systemitem class="username">root</systemitem> can
use this command to install a
<filename>.rpm</filename>:</para>
<screen>&prompt.root; <userinput>cd /compat/linux</userinput>
&prompt.root; <userinput>rpm2cpio -q &lt; /path/to/linux.archive.rpm | cpio -id</userinput></screen>
&prompt.root; <userinput>rpm2cpio &lt; /path/to/linux.archive.rpm | cpio -id</userinput></screen>
<para>If necessary, <command>brandelf</command> the installed
<acronym>ELF</acronym> binaries. Note that this will prevent