La commande pour p7zip est
7za
. Comment je l'ai deviné?
Après avoir installé un paquet:
rpm -ql <nom du paquet>
Par ex pour p7zip:
/usr/bin/7za <= LA!
/usr/libexec/p7zip
/usr/libexec/p7zip/7zCon.sfx
/usr/libexec/p7zip/7za
/usr/share/doc/p7zip-9.20.1
/usr/share/doc/p7zip-9.20.1/7zC.txt
/usr/share/doc/p7zip-9.20.1/7zFormat.txt
/usr/share/doc/p7zip-9.20.1/ChangeLog
/usr/share/doc/p7zip-9.20.1/License.txt
/usr/share/doc/p7zip-9.20.1/MANUAL
/usr/share/doc/p7zip-9.20.1/MANUAL/commands
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/add.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/bench.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/delete.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/extract.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/extract_full.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/index.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/list.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/style.css
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/test.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/commands/update.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/exit_codes.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/index.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/style.css
/usr/share/doc/p7zip-9.20.1/MANUAL/switches
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/ar_exclude.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/ar_include.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/ar_no.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/charset.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/exclude.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/include.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/index.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/large_pages.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/list_tech.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/method.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/output_dir.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/overwrite.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/password.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/recurse.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/sfx.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/ssc.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/stdin.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/stdout.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/stop_switch.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/style.css
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/type.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/update.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/volume.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/working_dir.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/switches/yes.htm
/usr/share/doc/p7zip-9.20.1/MANUAL/syntax.htm
/usr/share/doc/p7zip-9.20.1/Methods.txt
/usr/share/doc/p7zip-9.20.1/README
/usr/share/doc/p7zip-9.20.1/TODO
/usr/share/doc/p7zip-9.20.1/copying.txt
/usr/share/doc/p7zip-9.20.1/history.txt
/usr/share/doc/p7zip-9.20.1/lzma.txt
/usr/share/doc/p7zip-9.20.1/readme.txt
/usr/share/man/man1/7za.1.gz
Là j'ai vu que dans /usr/bin il y avait 7za. Donc soit tu tapes
/usr/bin/7za
mais comme en informatique on est feignant, et comme je l'ai expliqué, /usr/bin est dans le $PATH. Donc tu peux taper tout simplement
7za
le shell remplacera pour toi le chemin manquant (/usr/bin)
Voilà comment je procède. Bon je te rassure, tu es tombé sur un cas tordu. On veut le logiciel 7z (ou 7zip), dont le paquet s'appelle p7zip et dont la commande s'appelle 7za... pas facile!