[VNIX] Why do I get 'perl: command not found' when installing V3?
1. Summary
When you install V3 Net for Linux Server, 'perl: command not found' message occurs like the screen below and installation fails.
[root@test v3net]# ./install.sh
V3 Net for Linux Server Installation
Installation Path(default: /usr/local/v3net):
HTTP Port (default: 80):
Company: test
User Name: test
Select Language (1:Korean, 2:English, 3:Simplified Chinese): 1
Product No.(example: 12345678-12345678): 12345678-12345678
./install.sh: line 178: perl: command not found
./install.sh: line 179: perl: command not found
./install.sh: line 180: perl: command not found
Interoperate with AhnLab Policy Center?(y/n): n
................................................................................
........../install.sh: line 283: perl: command not found
./install.sh: line 284: perl: command not found
./install.sh: line 285: perl: command not found
./install.sh: line 286: perl: command not found
./install.sh: line 287: perl: command not found
Installation completed.
Installation Path: /usr/local/v3net
HTTP Port: 80
Company: test
UserName: test
./install.sh: line 300: perl: command not found
Language : Korean
2. Cause
V3 net for Linux Server installation scripts use Perl. Therefore this error message occurs below case.
1) Error occurs if Perl is not installed.
2) Even if you have installed Perl, if Perl is not set in the environment variables, error occurs.
3. Solutions
1) (Perl is not installed) Install Perl using package installation tools such as yum.
2) (Perl is installed) Check the Perl's Path with below command and register it with PATH.
find / -name perl -print