>PROBLEMS/SOLUTIONS
You desire to install Netbeans on a Debian O.S. using the VirtualBox v.6 because the VirtualBox v.7 fails on your current Windows 10 installation.
The first task is to download the Netbeans, and we usually do this using the last version, trying the following commands to install:
The first task is to download the Netbeans, and we usually do this using the last version, trying the following commands to install:
sudo apt install openjdk-17-jdk curl wget unzip
cd /home/USERNAME/Downloads
chmod 777 apache-netbeans_20-1_all.deb
dpkg -i apache-netbeans_20-1_all.deb
>PROBLEM #1
Then, the "dpkg" command throws the following error message:
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
>SOLUTION #1
scite /etc/profile &
export PATH=$PATH:/sbin
or
scite ~/.profile
export PATH=$PATH:/sbin
- Reboot and run dpkg command again, and you may get the problem #2.
>PROBLEM #2
Running the install command again:
dpkg -i apache-netbeans_20-1_all.deb
Returns:
pkg-deb: error: archive 'apache-netbeans_20-1_all.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive apache-netbeans_20-1_all.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
>SOLUTION #2
Remembering that VirtualBox v.6 is no longer maintained, we need to consider a possible downgrade.
If the last Netbeans version fails with the following procedure, download a previous version, until you get compatibility. In this procedure the attempt with the v.19 was enough.
Download the Netbeans , first apply alien command to make it compatible, then run dpkg as follow:
alien apache-netbeans_19-1_all.deb
dpkg -i apache-netbeans_19-1_all.deb
And... voilà!
Now, read to run Netbeans, and on prompt do:
netbeans &
Note: if everything goes well, the installation set the netbeans command at:
/usr/bin/netbeans &
>ENV
Windows 10
VirtualBox 6
debian 10..12netbeans 19..20
No comments:
Post a Comment