Solved

need help installing tcl, expect on rhel 5.....newbie warning

Posted on 2013-10-29
12
392 Views
Last Modified: 2013-10-31
Hi

I am after help installing expect onto a rhel 5 server, if possible a complete idiots walk through as I know very little Linux and have been given this in someone absence

I have downloaded a zip file onto my laptop and that's as far as I have got

Thanks
0
Comment
Question by:ncomper
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 3
12 Comments
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 39609594
Have you tried:

# yum install tcl
0
 
LVL 5

Author Comment

by:ncomper
ID: 39609649
Hi

Thanks, is that somthing that's already built into the OS or do i have to download and install?

is it as easy as that with the expect package too?

Thanks
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 39609651
yum is the package manager, if you install tcl you should get expect as well
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 21

Accepted Solution

by:
Mazdajai earned 250 total points
ID: 39610336
Avoid using the zip file as you will need to compile from source.

It should be the other way around, tcl is the dependency for expect. You will need to specify expect if you only install tcl. Try -

yum install expect

Open in new window

or
yum install tcl expect

Open in new window

0
 
LVL 5

Author Comment

by:ncomper
ID: 39611347
Thanks

How do I get away from the GUI to a command line to run this?
0
 
LVL 38

Assisted Solution

by:Gerwin Jansen, EE MVE
Gerwin Jansen, EE MVE earned 250 total points
ID: 39611489
By starting a terminal, you should have it in your RH5 start menu, I don't know the exact location, but look for a black icon. Then in that terminal window change user to root by typing "su -" and typing the root password. Then on the # prompt give the yum install command I suggested above.
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39611634
You must be root to run the above commands. To start a terminal session in RHEL 5 -

Applications > Accessories > Terminal
su -

Open in new window

0
 
LVL 5

Author Comment

by:ncomper
ID: 39611765
Thanks

If these servers are not connected to the internet can I still run the YUM commands? or does it have to be done another way?
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 39611834
>> not connected to the internet
How do you perform (security) updates then?

You'd have to download an RPM file then to perform the install if you're not connected...
0
 
LVL 5

Author Comment

by:ncomper
ID: 39612138
Thanks, it turns out these servers are RHEL6 not 5

I tried running the command it recognized that it needed some dependencies but failed

Any ideas?

Thanks

error
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39612662
It will be easier if it is connected to the internet. If not, you have to download the packages, copy them over and run the yum commands.
0
 
LVL 5

Author Closing Comment

by:ncomper
ID: 39614627
Thanks all
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RHEL6 + dockers - No route to host 7 97
Need help with configuring WHM and doing a cpanel migration from hostgator to 1and1 6 49
Linux Hosting 16 104
RPM creation 6 48
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question