apt install putty gen code example Example: install putty on ubuntu $ sudo add-apt-repository universe $ sudo apt update $ sudo apt install putty