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