Install putty in Linux (CentOS / RHEL)

Preface

Putty is nice application that is used as SSH/Serial/Telnet client at many users. It is really nice tools for users that are running M$ platform on client site and would like to connect to beautiful console on Linux / UX server. It user friendly GUI for users that would like to use SSH connection. According to this it is handy to install it on your M$ running PC. On another hand it is possible to use it as well in Linux like GUI for SSH connections .

Before we will start

Please make sure that you have installed “make”, “gcc” and “gtk2-devel” packages on your Linux.

# yum –y install make
# yum –y install gcc
# yum –y install gtk2-devel

Install Putty

Downlad source

Check on the download web page(http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) of putty what is the last stable release version and what is the URL for download. (At the time of writing this document it was putty-0.63)

# mkdir /tmp/install                                                     # Create file where we'll download putty
# cd /tmp/install
# wget http://the.earth.li/~sgtatham/putty/latest/putty-0.63.tar.gz      # download last release

Compile

I do like to use the old UX way to maintain application installation and to install all application in to “/opt/<application_name>” it is really nice way how to keep clear environment. Any way it’s up to you if you would like to use this way or not (just you will need to specify the options at ./configure).

# cd /tmp/install                                               # Go to downloaded source files
# tar -vxzf putty-0.63.tar.gz                                   # Untar downloaded data
# cd putty-0.63                                                 # Go to new directory with the source files
                                                                # Configure source data
# ./configure --prefix=/opt/putty/ --exec-prefix=/opt/putty
                                                                # Optional, you can change or ignore it
# make                                                          # Compile the source files
# make install                                                  # Copy complied files to right directories

For more configuration parameters run “./configure –help”

Tested

CentOS 6.5 (with basic installation)

URL's

Navigation
Print/export
QR Code
QR Code wiki:infrastructure_tools:ssh:install-putty-in-linux-centos-rhel (generated for current page)