1.8.19 IDE install Ubuntu 20.04LTS

Have been using 1.8.13 for a while. Thought I would update to 1.8.19. Ran install script as user and got this message.

~/Apps/arduino-1.8.19$ ./install.sh
Adding desktop shortcut, menu item and file associations for Arduino IDE...
rm: cannot remove '/usr/local/bin/arduino': Permission denied
Removing symlink failed. Hope that's OK. If not then rerun as root with sudo.

rm: cannot remove '/usr/local/bin/arduino': Permission denied
Removing symlink failed. Hope that's OK. If not then rerun as root with sudo.

ln: failed to create symbolic link '/usr/local/bin/arduino': File exists
Adding symlink failed. Hope that's OK. If not then rerun as root with sudo.
 done!

Thought ok. I will try using sudo. Seemed to install without error. An icon without a picture was created. However, this icon does not work. Indeed, simple icons haven't been launchable in Ubuntu 20.04 for quite a while. I am surprised that no one in Arduino knows this. Opening arduino-arduinoide.desktop shows the following Exec command.

Exec="/home/me/Apps/arduino-1.8.19/arduino"

So apparently if one types ./arduino in this directory, then the correct version comes up. There is zero mention of this in the instructions - which are 5 years old, and provide incorrect information.

Is this the expected install on an Ubuntu 20.04 system? I have two arduino programs installed. The system only knows about 1.8.13. A proper launching icon was created. It shows up as an application. Doesn't 1.8.19 make a desktop launcher that works? and updates the system app table?

Someone recently posted the "2022.05.01" current how-to in step-by-step... I will look for it.

Here it is... I use two versions of Mint (a 32 bit and a 64 bit):

You can take a look at https://docs.arduino.cc/software/ide-v1/tutorials/Linux

Thanks. I followed this tutorial. It is incomplete. Nowhere is there a mention of a non-functional launcher. It was not obvious how to start the IDE since the launcher doesn't work. Furthermore, the installation did not remove or update the old IDE. Ubuntu system still thinks Arduino IDE is version 1.8.13, not V1.8.19. If I used show applications, Ubuntu has a launchable 1.8.13.

If any of this was explained it would have been very helpful. But it wasn't. Therefore the tutorial really is incomplete. Yes, I could navigate to the /arduino-1.8.19 subdirectory and type $ ./arduino and that is what I have to do. The install is definitely not polished. A few updates to the docs would help a lot. The old way of making launchers stopped working at least a year ago. Debian based distros changed the way it is done, primarily because of a change in Gnome. I know I had to go through a special build just to make a Debian compatible app a year ago. I never could have done it on my own, I had to get help. It would be helpful, especially to first time users for the install to actually create a Debian compatible app.

Contact Arduino Tech Support via https://www.arduino.cc/en/contact-us/ and give them details of what the issue is, what you have tried and the version of your machine OS.

Thank you for your help. Appreciate it.

What I'd like to know is if this is expected behavior, ie non-launchable icon or not. If a functional launcher that points to the latest version (V1.8.19) should be created, I'll contact Arduino Tech Support.

For the record:
System76 laptop running
Ubuntu 20.04.4 LTS, 64 bit, Gnome 3.36.8, X11
i7-10875H 2.3GHz x 16. NVidia GeForce RTX-2060, 1TB.
Last update: 11:28 AM EDT, 5 May 2022.

Thanks.