Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi I just got into Linux for my first time and I was trying to download a version of netcat. I downloaded it and now im stuck on trying to figure out how to install it for use. Im
a long time windows user trying to convert so please any help you could offer would be great!
I just installed Ferdora Core to learn a little, which im finding to be a slow process.... Lol ok im really stumped now. maybe i should go find a book....
I tried doing the following in the console but im not sure if im really on the right track or not?!?!
tar -zxvf nc110.tgz
it returned the following
tar: nc110.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
any ideas... i know im just doing something wrong, but i have no clue what it is....
Ok I got the tarball extracted and it is currently sitting on my desktop. I'm not really sure where to go from here... There is no configure file, only a file named : Makefile I have another version installed but I want this one to use because of some of the options that are avalibe with it. What would be the next step to installing it?
There's a file called README in that archive, yes? Here's some of what it says:
Quote:
Compiling is fairly straightforward. Examine the Makefile for a SYSTYPE that matches yours, and do "make ". The executable "nc" should appear.
If there is no relevant SYSTYPE section, try "generic". If you create new
sections for generic.h and Makefile to support another platform, please follow
the given format and mail back the diffs.
There are a couple of other settable #defines in netcat.c, which you can
include as DFLAGS="-DTHIS -DTHAT" to your "make" invocation without having to
edit the Makefile. See the following discussions for what they are and do.
If you want to link against the resolver library on SunOS [recommended] and
you have BIND 4.9.x, you may need to change XLIBS=-lresolv in the Makefile to
XLIBS="-lresolv -l44bsd".
Linux sys/time.h does not really support presetting of FD_SETSIZE; a harmless
warning is issued.
Some systems may warn about pointer types for signal(). No problem, though.
Some more info about "SYSTYPES" is in the makefile:
Quote:
# makefile for netcat, based off same ol' "generic makefile".
# Usually do "make systype" -- if your systype isn't defined, try "generic"
# or something else that most closely matches, see where it goes wrong, fix
# it, and MAIL THE DIFFS back to Hobbit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.