putty
Linux/Unix

How to Install PuTTY on Linux system

PuTTY is a free and open-source terminal emulator, serial console, and network file transfer application. It is commonly used for remote access to servers and computers over a network using the SSH (Secure Shell) protocol.

PuTTY is available for Windows, MacOS, and Linux operating systems.

In This tutorial we will see how to install Putty on Linux system.

Install putty on CentOS /RedHat

# yum install putty

Or using dnf command :

# dnf install putty

Install putty on Ubuntu/Debian

# apt-get install putty

Install PuTTY on Arch Linux :

To install putty on Arch Linux and its derivatives, use pacman command :

# pacman -S putty

Installation from Source Code :

You can install putty from source by Downloading the latest version of PuTTY from the official website :

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Dowload the package via wget :

[root@Linux ~]# wget https://the.earth.li/~sgtatham/putty/latest/putty-0.78.tar.gz
--2022-12-07 12:03:38--  https://the.earth.li/~sgtatham/putty/latest/putty-0.78.tar.gz
Resolving the.earth.li (the.earth.li)... 93.93.131.124, 2a00:1098:86:4d:c0ff:ee:15:900d
Connecting to the.earth.li (the.earth.li)|93.93.131.124|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://the.earth.li/~sgtatham/putty/0.78/putty-0.78.tar.gz [following]
--2022-12-07 12:03:42--  https://the.earth.li/~sgtatham/putty/0.78/putty-0.78.tar.gz
Reusing existing connection to the.earth.li:443.
HTTP request sent, awaiting response... 200 OK
Length: 2811628 (2.7M) [application/x-gzip]
Saving to: ‘putty-0.78.tar.gz’

putty-0.78.tar.gz                                    100%[====================================================================================================================>]   2.68M   258KB/s    in 16s

2022-12-07 12:03:59 (168 KB/s) - ‘putty-0.78.tar.gz’ saved [2811628/2811628]

Extract the downloaded and navigate to the directory where you extracted the files :

[root@Linux ~]# tar -xvf putty-0.78.tar.gz
[root@Linux ~]# cd putty-0.78
[root@Linux putty-0.78]#

Run the following commands to configure and build PuTTY from source :

[root@Linux putty-0.78]#./configure
[root@Linux putty-0.78]# make
[root@Linux putty-0.78]# make install

You should now be able to use PuTTY by running the putty command :

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *