This is a note for charging iPad under ubuntu. Don’t trust any old posts that use apt-get, those all were expired or can’t be installed. Directly go to https://github.com/nitsanw/ipad_charge to clone a package, then extract, make and make install. Done!
Or you can download it directly from https://www.ubuntuupdates.org/package/webupd8/xenial/main/base/ipad-charge