This guide shows how to install PuTTY on Ubuntu.
- A machine running Ubuntu
- A user account with sudo privileges
Install PuTTY on Ubuntu
The easiest way to install PuTTY on Ubuntu is via the terminal. Follow the steps below to install PuTTY.
Step 1: Enable Universe Repository
PuTTY is available in the Ubuntu Universe repository. To enable the repository:
1. Open a terminal window (Ctrl + Alt + T) and enable the Universe repository on your system by running:
sudo add-apt-repository universe
Note: See how to fix the 'add-apt-repository command not found' error.
2. Enter your password when asked and press Enter.
If the universe repository is already enabled on your machine, the output states so. Otherwise, it enables the Universe repository on your machine.
Step 2: Update Package Repository
Update your system package repository before installing PuTTY to make sure you install the latest program version.
To do so, enter:
sudo apt update
Note: Updating the repository is essential before installing new software because it makes sure your package lists from all repositories and PPAs are up to date. That way, you are installing the latest stable program version.
Step 3: Install PuTTY
Install PuTTY by running the following command:
sudo apt install -y putty
Note: Specifying the
-y flag automatically answers YES to any questions during the installation process. If you would rather review them, leave out the
Installing the PuTTY package also grants access to several command-line tools:
pscp. A PuTTY tool for copying files via the SCP protocol.
psftp. A PuTTY tool for managing files via SFTP. This allows you to securely copy, delete, transfer, and list files.
puttygen. RSA and DSA key generator.
Step 4: Verify Installation
After the installation completes, you can verify it and check the program version by running:
The output shows the program release version and other details.
Run PuTTY in two ways:
- Enter the app name in the terminal and press Enter:
- Another way to run PuTTY is to find it in the Application menu by typing 'putty' and launching the tool.
After running PuTTY, the configuration options allow you to choose the connection type. Choose between raw, Telnet, rlogin, SSH, or serial connection. Enter a port number, a server hostname or IP address, and start a new session.
Note: If you are looking to use a different Telnet and SSH client, read about popular PuTTY alternatives.
You should now have PuTTY installed on your Ubuntu system and ready to use.
Feel free to test out PuTTY, as it has various benefits. Apart from its session management, PuTTY offers several other great customization features that allow you to find and fix bugs, access serial ports, etc.