LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing netcat and lost.... (https://www.linuxquestions.org/questions/linux-newbie-8/installing-netcat-and-lost-429795/)

Jagtek 03-29-2006 06:30 PM

Installing netcat and lost....
 
Hi im a first time Linux user as of today and im trying to figure out how to make a file i just downloaded use-able. Any help would be greatly appriciated...

I am using Ubuntu Distro.

the file is nc110.tgz

just need to know what to do in the terminal to make the program use-able.... thanks!!!

issinho 03-29-2006 06:33 PM

Does the file have the x permission? Meaning, when you do a ls -l in the directory, does the executable file have something like -rwx--x--x?

Jagtek 03-29-2006 06:38 PM

Not really sure how to get to the directory. If i do ls -l nc110.tgz it says no such file or directory... i have the contents displayed and opened right now with the Archive Manager from when i downloaded... not sure if that would help ... thanks

issinho 03-30-2006 08:46 AM

You might want to try:

whereis nc

This should locate any instance of nc (which I believe to be the executable) The .tgz means that it is still compressed and, therefore, not installed. Also, if the whereis doesn't work, you might want to look in the /bin ; /usr/bin ; /sbin ; /usr/sbin directories (there are 4 listed here, ignore the ; between them) to see if it is there. You might need to check out Netcat's homepage and look for a manual, HOWTO, FAQs or something similar to find the answer you seek.

demented_are_go 03-30-2006 08:57 AM

you downloaded that with your brower? did you chose open with or save as? Looks like you're just opening it, you won't see it in the folder where you download.

If you're using firefox, make sure you know which folder your downloads are saved to.

Also if you have it opened in Archive Manager, you can just extract its content.

Hope that helps

Jagtek 03-31-2006 12:59 PM

getting closer
 
Ok I made sure I got it downloaded onto my desktop folder now. It seems there may be an older version of netcat installed right now, is that going to be a problem? the location of the file i want to install is

/home/john/Desktop

The old file is located at

/bin/nc /usr/share/man/man1/nc.1.gz

Just trying to figure out if i need to do anything to get rid of the old file and how, or if it really matters. And also how do i decompress the new file and install it? (the good news is im going to go get a book here in the next few hours to help me out a lil) Thanks for all the help!!!


All times are GMT -5. The time now is 02:33 PM.