Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

install lynx and make available for shell users 1

Status
Not open for further replies.

Cadwalader

IS-IT--Management
Feb 12, 2002
297
US
hehe question of the month:

I have a RedHat 7.3 box and I thought it would be a cool idea to make it possible for the shellers to be able to browse the Net in their shell. Why? Well, because I have broadband, and my shellers are on dialup. A few of them are programmers (or wannabe programmers, like me) and they are often DLing files, scripts (with manuals), freeware, etc. They would otherwize find what they want on their own machines, download it,just to have to upload it on the server. Why not just cut out the middle man?

Lynx is not installed. I think I found some where to get it and install it. (
So here is where I am stuck:

--I can get Lynx, and put it on the server. But where does it go?
--How is it actually "installed" (sorry for the slack terms, but I am new to Linux)? I see that the releases are
[version here].tar.gz

I think that "tar" stands for 'tarball'. As for what that actually means, I am lost.

I understand that there may be security issues involved with this, but the shellers are people I trust (there are only 5).

I would greatly appreciate and point in the right direction. Hope I was of some help...
--OR--
Thanks for the help...
--Rich
 
Why don't you just install the RPM? It's available from RedHat's website and from the CDs. //Daniel
 
thanks for the info, and the direct link. I got it, but I have no idea how to compile? it. I know how to put it where ever it goes, but I don't know where it goes, and I sure don't know how to install it.

Is it one of those things that has to be started, like in xinitd? (I am really talking out of my rearend now..).

The server is a text only box, and I am new to *nix. I am learning fast, but other than the stuff on the CD's, I haven't had to install anything yet. I searched the net, and all I can find is tutorials for GNOME.

I would be extatic if you could help me a little, or just point me in the right direction to learn how to do installs on a text only server. I can put that file where ever it has to go, I just don't know where it has to go, and how to install it. Thanks agian for the help. (I don't know what I would do without this forum, really):) Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
No worries, If you run rpm -U <exact filename> it should Upgrade if you have an older version, or default to install mode if you dont. The actual .rpm file doesnt have to be anywhere specific, but what i do is anything that is installed by me is put in a /files folder in the root dir, that way i have some kind of list as to what i installed, and if something becomes corrupt i can reinstall without redownloading the package. After its installed you should be able to type lynx <url> and bring up that page. On a side note lynx also works similar to wget where you can download files with it, which might also help out your users. Hope this helps

 
Thanks!

That is exactly what I was looking for. I have heared of wget, but had no idea what it actually did. Cool...

Let me see if I (the LinuxLamer) can get this puppy running...

Thanks agian!:)
Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
]# rpm -U=<extract lynx-2.8.2-3.src.rpm>
bash: syntax error near unexpected token `lynx-2.8.2-3.src.rpm>'

Uh, oh...

I did rpm -U lynx-2.8.2-3.src.rpm and got the bash promt back without any trouble, tried to go to and got

bash: lynx: command not found

Any suggestions?
Hope I was of some help...
--OR--
Thanks for the help...
--Rich
 
You seem to have installed the source RPM... You should get the lynx-2.8.2-3.i386.rpm file, which contains the actual binary. //Daniel
 
Its best to get RPMs directly from Red Hat whenever possible. That way, you know they will work with your OS and that they aren't any kind of trojans or anything. Here's a link -->
When installing an RPM, its best to use the -ivh (install) or -Uvh (upgrade) options. This will show you some kind of feedback on whether or not its installed. After you install the RPM pacakge, you can check that its installed using &quot;rpm -qa | grep lynx&quot; and then verify the installation with &quot;rpm -V lynx&quot;.

ChrisP
 
Hello, it's the inept one again...

I did what all of you said, I tryed everything. I am getting an error while trying to install:

[root@localhost.localdomain files]# rpm -ivh lynx-2.8.2-2.i386.rpm
error: failed dependencies:
libcrypto.so.0 is needed by lynx-2.8.2-2
libssl.so.0 is needed by lynx-2.8.2-2

I'm sure I can find them, but where do I put them, in the same dir as lynx-2.8.2-2.i386.rpm?

And is there any installation process involved with those 2 files?

Sorry to be such a bugger about this, but the more stuff I get werkin, the more fun this whole Linux thing is...Thanks again for the help.

Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
Your best friend when installing things and get depency errors is Just do a search for the dependency you need, and pick the file that fits you best (flavor, arch, etc.). //Daniel
 
Well, I found the files, put them in /lib/ and tried to install, no good, same error.

[root@localhost.localdomain files]# rpm -ivh lynx-2.8.2-2.i386.rpm
error: failed dependencies:
libcrypto.so.0 is needed by lynx-2.8.2-2
libssl.so.0 is needed by lynx-2.8.2-2

There are similar files in /lib/...any suggestions?
Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
THANK YOU ALL!!!!

It's werkin! Thank you thank you thank you.
I'm sure my half dozen users will appreciate it, just as something else to do with the shell.

It's different!!! That is fer shur. I am new to *nix, and a month ago, I had no idea that a shell could browse the internet. Now it's werkin. Thank you, very much.

:) Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
Is there any way to stop cookies from being written? Or at least limit the size of the file they go in. Or do they go to different dirs for each user?

I hope I am not imposing...I do appreciate the help! ;-) Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top