不知道怎麼去修改.run的installer
sh OAE-Linux-x86_64-release_2.0.1.run
Verifying archive integrity... All good.
Uncompressing Open-AudIT_2.0.1 100%
Can't locate version.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./installer line 38.
BEGIN failed--compilation aborted at ./installer line 38.
執行perl -v 確認 perl版本 要大於 5.9.0
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 34 registered patches, see perl -V for more detail)
Copyright 1987-2012, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
這應該有吧,因為主要是在tar.gz有說明要vi installer然後註解掉第38行,可是.run是直接執行 我不知道這樣要怎麼去vi installer然後註解掉第38行
執行時加入 --noexec --keep 就會産生安裝檔,而不會自動安裝
用 yum install perl-version
補安裝perl模組應該也可以解決你的問題。
感謝大神,補安裝PERL可以
但還是想學習一下產生安裝檔,可是始用上還是有問題
sh --noexec --keep OAE-Linux-x86_64-release_2.0.1.run
sh: --noexec:無效選項
用法: sh [GNU 長選項] [選項] ...
sh [GNU 長選項] [選項] script-file ...
GNU 長選項:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
Shell 選項:
-irsD 或 -c 命令或 -O shopt_option (只有引用)
-abefhkmnptuvxBCHP or -o 選項