How to Install PuTTY on Ubuntu Linux
PuTTY is a popular terminal emulator for Windows, but it is not only limited to Windows operating system. Being free and open source, it is popular among Linux users too. PuTTY supports a wide range of protocols such as serial, SSH, Telnet, rlogin, SCP, SFTP etc. PuTTY is used by seasoned sysadmins and hobbyists/maker-crowd alike. Sysadmins generally use PuTTY as an SSH and telnet client whereas the Maker community widely uses PuTTY for interfacing with the serial ports on their hardware. PuTTY ships with a command line tool named “psftp”, the PuTTY SFTP client, which is used to securely transfer files between computers over an SSH connection. More about PuTTY here
This article will walk through on how to install PuTTY on Ubuntu 14.04 and higher.
The simplest way to install PuTTY in Ubuntu Linux is via terminal i.e, the command line. Follow the steps below to install PuTTY on Ubuntu.
Login into Ubuntu Desktop. Press
Ctrl + Atl + T to open GNOME terminal. If for some reason the shortcut didn’t work, run the Terminal from the Ubuntu Dash.
Run the following command in the terminal.
>> sudo apt-get update
This command updates the Ubuntu package list with latest one. If this command is skipped, there is a good chance that Ubuntu might install older version of the softwares instead of the latest version due to the fact that it only had the older list with older version of softwares. So, whenever installing new software or intending to upgrade the software versions, it is a good idea to run this command first. The
sudo prefix at the start of the command instructs the terminal to run the command as
root since installing and upgrading softwares is a privilege operation and should not be performed by users which do not have sufficient access. Provide the user password when prompted by
sudo and hit Enter.
Install PuTTY using the command below.
>> sudo apt-get install -y putty
PuTTY should be installed. Run it from the terminal using “putty” as command, or from the Dash.
As visible in the PuTTY screenshot above, it provides a range of connection type to choose from: Raw, Telnet, Rlogin, SSH and Serial. It also ships with command line tools for SCP (pscp), SFTP (psftp), RSA and DSA key generator (puttygen) etc, which can be run from the terminal.
Optional: Compiling from source
While it is not recommended for beginners to compile PuTTY from source, one can choose to compile PuTTY from source. Download the PuTTY source files here. Extract the archive file using the command and follow the README file inside the archive to compile PuTTY from source.