I have the installation file netbeans-8.1-linux.sh
in the Others folder of Downloads.
Now when I am using the command from the Netbeans official сайт to make the installer file executable i.e.
chmod +x <netbeans-8.1-linux.sh>
It is showing the following ошибка
bash: syntax error near unexpected token `newline'
So what do I have to do?? Do I have to использовал the sudo
command means like this
sudo./Downloads/Others/chmod +x <netbeans-8.1-linux.sh>
but it's showing the same ошибка. So if anyone could help
Сначала доберитесь, установщик
wget download.netbeans.org/netbeans/8.1/final/bundles/netbeans-8.1-linux.sh
Теперь дают ему исполняемые полномочия
chmod +x netbeans-8.1-linux.sh
Теперь для выполнения выполненного из его каталога
sudo sh netbeans-8.1-linux.sh
, Это запустит установщик
Согласно просьбе в комментариях, вот один лайнер
wget download.netbeans.org/netbeans/8.1/final/bundles/netbeans-8.1-linux.sh && chmod +x netbeans-8.1-linux.sh && sudo sh netbeans-8.1-linux.sh
, Кроме того, существует старая версия в repository’s, можно установить с одной командой
sudo apt-get install netbeans