Installing software in your home directory/fr: Difference between revisions

Jump to navigation Jump to search
Created page with "== configure; make; make install == {{Commandes|./configure |make |make install}} Cette syntaxe de commande est fréquemment utilisée, avec des variantes telles <code>cmake..."
(Created page with "'''Prenez connaissance des directives pour l'installation du logiciel.''' Il s'agit souvent des instructions décrites ci-après.")
(Created page with "== configure; make; make install == {{Commandes|./configure |make |make install}} Cette syntaxe de commande est fréquemment utilisée, avec des variantes telles <code>cmake...")
Line 9: Line 9:


== configure; make; make install ==
== configure; make; make install ==
{{Commands|./configure
{{Commandes|./configure
|make
|make
|make install}}
|make install}}
is a very common instruction pattern. Variations include <code>cmake .</code> replacing <code>./configure</code>, and <code>sudo make install</code> replacing <code>make install</code>.
Cette syntaxe de commande est fréquemment utilisée, avec des variantes telles  <code>cmake .</code> au lieu de <code>./configure</code> et <code>sudo make install</code> au lieu de <code>make install</code>.


Sometimes this will work exactly as prescribed, but sometimes it will fail at <code>make install</code> because the package expects to be able to write to <code>/usr/local</code> or some other shared area in the file system. It will always fail if <code>sudo make install</code> is attempted, because <code>sudo</code> is a request for "root" or administrator privileges. The usual solution is to supply a <code>--prefix</code> flag at the <code>configure</code> step, to direct the installation to go to the directory of your choice, ''e.g.:''
Sometimes this will work exactly as prescribed, but sometimes it will fail at <code>make install</code> because the package expects to be able to write to <code>/usr/local</code> or some other shared area in the file system. It will always fail if <code>sudo make install</code> is attempted, because <code>sudo</code> is a request for "root" or administrator privileges. The usual solution is to supply a <code>--prefix</code> flag at the <code>configure</code> step, to direct the installation to go to the directory of your choice, ''e.g.:''
rsnt_translations
56,437

edits

Navigation menu