If you're wondering about Arch Linux on your AMI, then you can do the following in command line:
(Note: Assuming pacman is your package manager. If it's something else, refer to that package managers installation methods. Like for example you can use 'yaourt' instead of 'pacman')
1) Download and install Python3
2) Installation from Python source -
https://download.electrum.org/3.0.5/Electrum-3.0.5.tar.gz (wget this file and save it in a particular directory)
3) Optionally verify its signatures -Install GPG by doing
and then follow a couple of steps from points 1-4 here -
https://bitcointalk.org/index.php?topic=2463893.msg25237293#msg25237293)
4) Extract your tar.gz file:
tar -xvzf Electrum-3.0.5.tar.gz
- Change directory to the extracted folder
5) Run electrum directly or install (it already has most of the depedencies in the tarball)
or
in the extracted directory
6) To install electrum do
There's also a direct install kind of way of installing electrum from arch linux's repository but I'm skeptical about it since the PKG-build and package is uploaded by some community user. You may have to manually inspect the PKG-build to verify that whatever commands it's running are legit. Hence to save all the time and my safety, I prefer downloading it from the official website, verifying the signatures and installing it.
Here's the community package if you're wondering -
https://www.archlinux.org/packages/community/any/electrum/ . You'll just need to do
or
to install it this way, considering that you manually inspect the PKG-build and agree with it.