how to install software on remote pc using putty/ssh
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Did you do a full install of whatever distro you're using? If you did, then it's possible that the software you're trying to install either had a bad download or there is some other issue. More details would definitely be helpful.
A user accessing through putty should have exactly the same permissions and capabilities as if they were accessing locally, so I'm guessing this problem isn't putty related.
yes logged in as root, echo $PATH shows all the paths, thanks
Just a suggestion, but it is usually a bad idea to allow root to be able to log in via ssh. If you're logged in as a normal user and then using su to be root, then ignore this comment.
There is a config option in /etc/sshd_config to not allow root login. If you are the only user who logs in using ssh, I would recommend adding your user name to AllowUsers. If you use AllowUsers, you don't need to add each system user to DenyUsers and each system group to DenyGroups. They are denied because they are not allowed.
Please read the "man 5 sshd_config" man page.
You might see that error when you are trying to compile a program in the wrong directory.
It is usually best to download the tarball somewhere in your home directory. Expand it their, read the README file and INSTALL file, then run "./configure" and "make" as a normal user (I also run "make ps" or "make dvi" or "make pdf" if available to produce print worthy documentation from the .texi source that produces the .info files), and then su to root to perform the "make install" phase. I have a couple of times run into some tarball installations where the ./configure or make phases would actually fail if run as root due to PATH differences.
You should have posted more of the error message. It is traditional for the source of the message to be listed before the colon.
You said that you are using putty. If you are connecting using a windows machine, be careful about having any scripts that are edited in windows because the [CR][LF] pair that windows uses will cause failures in scripts and in config files. This can also occur if you ftp get a file or copy a file to a windows machine. There may be some translation done in text mode.
In the least, I would recommend installing cygwin/X on your windows machine. It includes ssh I believe. You would also have access to programs like grep, awk, sed. I have found Cygwin to be invaluable at work. Searching through hundreds of schedules for a certain pattern, or using less on a log file and highlighting certain patterns makes life so much easier using *nix text tools.