./install: 59: ./install: Bad substitution | Cisco Packet Tracer | Ubuntu

Environment
  • Ubuntu x64
  • Cisco Packet Tracer 6.x


Content
Installed once but forgot when installing it again for another computer. Marked for remind:

You have accepted the terms to the EULA. Congratulations. Packet Tracer will now be installed.
Enter location to install Cisco Packet Tracer or press enter for default [/opt/pt]:
--2016-04-18 15:11:16-- http://www.cisco.com/
Resolving www.cisco.com (www.cisco.com)... 184.87.96.38, 2600:1417:a:191::90, 2600:1417:a:19a::90
Connecting to www.cisco.com (www.cisco.com)|184.87.96.38|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/tmp/testinternet’

[ <=> ] 60,443 --.-K/s in 0.007s

2016-04-18 15:11:16 (8.40 MB/s) - ‘/tmp/testinternet’ saved [60443]

./install: 59: ./install: Bad substitution

$ chmod +x install
$ sudo ./install


Reference



Update