Is it possible to execute a command from a single link?
For example when a user clicks on a link it does this:
sudo apt-get install vlc wine openshot but by clicking on a link
Your particular example is possible via the apt-uris:
This will open wine in the software centre, giving the user the option to install it.
Running arbitrary commands on any Ubuntu machine is (hopefully) never possible:
Lol found it thanks to Oli's post here Is it possible to install a repository via a web (Clicking in a webpage link)
It is possible to install multiple packages. In this wiki https://wiki.ubuntu.com/AptUrl all the possible actions can be found. To install one would be like this:
This would install vlc.
But lets say you want to install VLC, Ubuntu Extras and subdownloader:
Each separated by a comma. Awesome.