LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tar.gz help badly needed (https://www.linuxquestions.org/questions/linux-newbie-8/tar-gz-help-badly-needed-75684/)

headshot 07-24-2003 09:42 PM

tar.gz help badly needed
 
I just downloaded my first ever tar.gz file and thought I knew what i was doing but I don't. I extracted the file gtk-gnutella-0.92.1c.tar.gz to my Programs directory, and then according to the install guide for the program it said to do these three things:
./configure
make
make install

The problem is that ./configure doesn't seem to be a valid bash command for my console. It says:

bash: ./configure: No such file or directory

I did man ./configure and ./configure --help, but didn't get any results. Can someone tell a newb what he's done wrong? THanx :study:

MasterC 07-24-2003 10:18 PM

You will need to change into the directory that is created when you untar the tarball :)

Then, you can go about your business, first thing should ALWAYS be reading the INSTALL or README files though, not configuring as this would be a clue as to whether you are able to configure or what you actually need to do ;)

Cool

lfur 07-24-2003 10:20 PM

Assuming that your shell is bash (try: echo $SHELL) ...

Are you sure you are in the right directory?? And how about typing errors?

headshot 07-24-2003 10:30 PM

okay I got it figured out(sort of)

I did this:
tar -xzvf gtk-gnutella-0.92.1c
cd gtk-gnutella-0.92.1c
./configure
make
make install
make clean
exit

but then when I typed gtk-gnutella to run the program I got this:

'Never ever run this as root!' ???? what is that all about ???

MasterC 07-24-2003 10:32 PM

That's programs looking out for you.

You should do as little as possible as root, really.

Cool

DrOzz 07-24-2003 10:32 PM

just what it says hehe don't run it as root :D so if your in the terminal as the root user, then type "exit" to return to regular user, or type "su username" where username is your user and then run gnutella

lfur 07-24-2003 10:34 PM

:)
Looks like you are logged in as root. That is not a goo idea, becouse you can mess the system. Add a user and then login as that user and run the prog.

To add a user (now you have to be root, becouse you are manipulating with a system) type:
useradd username

and after that (if it will not propt you automatically) type:
passwd username

to set a password for the new user.

headshot 07-24-2003 10:41 PM

mmkay, I did the useradd thing, so now can just restart and login as myself and it should work, right?

MasterC 07-24-2003 10:52 PM

You don't have to restart, this is linux after all ;)

Just logout of root, and then login as the newly created user.

Cool

headshot 07-25-2003 02:53 PM

:D thanx fellas :D

sorry it took me so long to post back, but I got gnutella installed yesterday, and it works fine


All times are GMT -5. The time now is 08:41 PM.