Changeset b1532549 for general/sysutils/which.xml
- Timestamp:
- 03/19/2020 10:00:16 AM (4 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- e68b588
- Parents:
- 09f0998
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/which.xml
r09f0998 rb1532549 52 52 <itemizedlist spacing="compact"> 53 53 <listitem> 54 <para>Download (HTTP): <ulink url="&which-download-http;"/></para> 54 <para> 55 Download (HTTP): <ulink url="&which-download-http;"/> 56 </para> 55 57 </listitem> 56 58 <listitem> 57 <para>Download (FTP): <ulink url="&which-download-ftp;"/></para> 59 <para> 60 Download (FTP): <ulink url="&which-download-ftp;"/> 61 </para> 58 62 </listitem> 59 63 <listitem> 60 <para>Download MD5 sum: &which-md5sum;</para> 64 <para> 65 Download MD5 sum: &which-md5sum; 66 </para> 61 67 </listitem> 62 68 <listitem> 63 <para>Download size: &which-size;</para> 69 <para> 70 Download size: &which-size; 71 </para> 64 72 </listitem> 65 73 <listitem> 66 <para>Estimated disk space required: &which-buildsize;</para> 74 <para> 75 Estimated disk space required: &which-buildsize; 76 </para> 67 77 </listitem> 68 78 <listitem> 69 <para>Estimated build time: &which-time;</para> 79 <para> 80 Estimated build time: &which-time; 81 </para> 70 82 </listitem> 71 83 </itemizedlist> … … 79 91 <title>Installation of Which</title> 80 92 81 <para>Install <application>which</application> by running the following 82 commands:</para> 93 <para> 94 Install <application>which</application> by running the following 95 commands: 96 </para> 83 97 84 98 <screen><userinput>./configure --prefix=/usr && 85 99 make</userinput></screen> 86 100 87 <para>This package does not come with a test suite.</para> 101 <para> 102 This package does not come with a test suite. 103 </para> 88 104 89 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 105 <para> 106 Now, as the <systemitem class="username">root</systemitem> user: 107 </para> 90 108 91 109 <screen role="root"><userinput>make install</userinput></screen> … … 116 134 <term><command>which</command></term> 117 135 <listitem> 118 <para>shows the full path of (shell) commands installed in your 119 <envar>PATH</envar>.</para> 136 <para> 137 shows the full path of (shell) commands installed in your 138 <envar>PATH</envar>. 139 </para> 120 140 <indexterm zone="which which-prog"> 121 141 <primary sortas="b-which">which</primary> … … 131 151 <title>The 'which' Script</title> 132 152 133 <para>The second option (for those who don't want to install the package) 134 is to create a simple script (execute as the 135 <systemitem class="username">root</systemitem> user):</para> 153 <para> 154 The second option (for those who don't want to install the package) 155 is to create a simple script (execute as the 156 <systemitem class="username">root</systemitem> user): 157 </para> 136 158 137 159 <screen role="root"><userinput>cat > /usr/bin/which << "EOF" … … 142 164 chown -v root:root /usr/bin/which</userinput></screen> 143 165 144 <para>This should work OK and is probably the easiest solution 145 for most cases, but is not the most comprehensive implementation.</para> 166 <para> 167 This should work OK and is probably the easiest solution 168 for most cases, but is not the most comprehensive implementation. 169 </para> 146 170 147 171 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.