PuTTY, widely recognized for its SSH, Telnet, and serial terminal capabilities, is a familiar tool for many who manage remote servers or network devices. While most Linux distributions include native SSH support via the terminal, some users prefer PuTTY’s graphical interface or need its session-saving and serial connection features. Installing PuTTY on Linux is straightforward, but the exact process varies depending on your distribution and preferred installation method.
Install PuTTY Using the Terminal (Recommended on Most Distributions)
Debian-based distributions like Ubuntu, Linux Mint, and others include PuTTY in their repositories, but the package resides in the Universe repository. This method ensures you receive a stable, distribution-supported version of PuTTY, along with its command-line tools.
sudo add-apt-repository universe
If the repository is already enabled, you’ll see a confirmation message. Otherwise, the command will activate it for you.
sudo apt update
-y flag automatically approves prompts, streamlining the process.sudo apt install -y putty
This command installs the graphical PuTTY client and related command-line tools such as pscp (SCP file transfer), psftp (SFTP file management), and puttygen (SSH key generation).
putty --version
The output displays the installed version and confirms successful setup.
putty in your terminal or by searching for it in your application menu. The interface closely resembles the Windows version, supporting SSH, Telnet, serial, and raw connections. Enter your server’s hostname or IP address, select the connection type, and click Open to initiate a session.Join readers who trust AllThings.How
Add us as a preferred source on Google so our practical guides show up first next time you search.
Add to Google Preferences →Install PuTTY on Other Linux Distributions
For distributions outside the Debian/Ubuntu family, use the default package manager to install PuTTY. This method provides a quick and reliable installation tailored to your system’s packaging standards.
Debian:
sudo apt-get install putty
Arch Linux, Manjaro:
sudo pacman -S putty
Fedora, CentOS, RHEL, Rocky Linux, AlmaLinux:
sudo dnf install putty
or for older systems:
sudo yum install putty
After installation, launch PuTTY from the terminal or your application menu. The interface and usage remain consistent across distributions.
Install PuTTY Using a Graphical Package Manager
For users who prefer a point-and-click approach, graphical package managers offer a convenient way to install PuTTY without memorizing terminal commands. On Ubuntu, PuTTY may not appear in the default Software Center, but you can use Synaptic Package Manager as an alternative.
sudo apt install synaptic
synaptic command. Search for putty, mark it for installation, and apply the changes. The process handles dependencies and provides progress feedback.Other distributions offer similar software centers or package managers (e.g., GNOME Software on Fedora, Pamac on Manjaro) where PuTTY can be found and installed by searching for its name.
Compile PuTTY from Source Code
Building PuTTY from source gives you access to the latest features and bug fixes before they’re packaged for your distribution. This method is best suited for advanced users or those needing the newest version.
sudo apt-get install -y build-essential cmake libssl-dev libgtk-3-dev
wget https://the.earth.li/~sgtatham/putty/latest/putty-0.83.tar.gz
tar -xvf putty-0.83.tar.gz
cd putty-0.83
mkdir build
cd build
cmake ..
make
sudo make install
If you encounter errors related to missing GTK libraries (e.g., gtk/gtk.h: No such file or directory), ensure libgtk-3-dev is installed and re-run the build steps.
After installation, run putty from the terminal to launch the application. If the command is not found, verify your PATH environment variable includes /usr/local/bin or the directory where PuTTY was installed.
PuTTY Alternatives and Native SSH Usage
Linux systems include the ssh command by default, which covers most remote access needs. For SSH, simply use:
ssh user@hostname_or_ip
For serial connections, tools like minicom or screen are available, but PuTTY’s GUI can simplify managing multiple sessions and protocols, especially for users transitioning from Windows.
With these methods, you can install PuTTY on virtually any Linux distribution, whether you prefer a graphical interface, command-line tools, or the flexibility of building from source. Enjoy streamlined remote access and session management with your preferred workflow.






