LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do you install tar.gz or tar packages (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-install-tar-gz-or-tar-packages-595070/)

icedlightblue 10-27-2007 02:09 PM

how do you install tar.gz or tar packages
 
Can anyone help help me install .tar packages please.

and do it little by little.

p.s.I did cd /directrory of file/configure and it says no directory or file .
I am using kwort 2.2(based on slackware)

lumix 10-27-2007 02:14 PM

Quote:

Originally Posted by icedlightblue (Post 2938952)
Can anyone help help me install .tar packages please.

and do it little by little.

p.s.I did cd /directrory of file/configure and it says no directory or file .
I am using kwort 2.2(based on slackware)

Somewhat of a newb myself, but to run something like the configure file (which I believe you referred to), you would need to precede it with a "./" as in:

user@host>./config
user@host>./make
user@host>./make install

{BBI}Nexus{BBI} 10-27-2007 02:14 PM

Quote:

Originally Posted by icedlightblue (Post 2938952)
Can anyone help help me install .tar packages please.

and do it little by little.

p.s.I did cd /directrory of file/configure and it says no directory or file .
I am using kwort 2.2(based on slackware)

Instructions are in this thread: http://www.linuxquestions.org/questi...ograms.-45094/

icedlightblue 10-27-2007 03:28 PM

I did that but it says no such directory or file.


i did this.

cd /usr/local/src/name of package/configure

Bash3.1:cd /usr/local/src/name of package/configure no such file or directory.

ericartman 10-27-2007 03:45 PM

Used a lot
 
Being a NB I utilized the info on this page a lot
http://cutlersoftware.com/ubuntuinstall/


Cart

{BBI}Nexus{BBI} 10-27-2007 03:49 PM

Quote:

Originally Posted by icedlightblue (Post 2939027)
I did that but it says no such directory or file.


i did this.

cd /usr/local/src/name of package/configure

Bash3.1:cd /usr/local/src/name of package/configure no such file or directory.

What's the name of the .tar package and where did you get it from.

icedlightblue 10-27-2007 04:10 PM

name of file:dvgrab-3.0

icedlightblue 10-27-2007 04:11 PM

oh I forgot:dvgrab-3.0.tar.gz

{BBI}Nexus{BBI} 10-27-2007 04:16 PM

Quote:

Originally Posted by icedlightblue (Post 2939072)
oh I forgot:dvgrab-3.0.tar.gz

It's ok I've already checked it out. There's nothing wrong with this file, you must be doing something wrong. When you extract the dvgrab-3.0.tar.gz file you should have a folder named dvgrab-3.0. Cd into that folder and then do: ./configure, if that completes successfully do: make, again if successfull change to root and do: make install.

icedlightblue 10-27-2007 05:01 PM

ok,I did this:

cd /usr/local/src/dvgrab-3.0

then i pressed enter and the terminal went to the next line.

then i typed in ./configure

and it says:

no such directory or file

Am i doing something wrong or my computer(distro) is messed up.

icedlightblue 10-27-2007 06:48 PM

by the way can you answer this question too.

when i went into the termial and typed gcc(used for installing and conpliling files),the termial says no input files.

does that mean gcc is not installed?

BB_DaKraxor 10-27-2007 10:12 PM

Hey, try ls in "/usr/local/src/dvgrab-3.0".

And yes, that means it's installed.

icedlightblue 10-28-2007 06:10 PM

I tryied it and it says dvgrab-3.0

vegas35 10-28-2007 06:24 PM

Quote:

Originally Posted by icedlightblue (Post 2939192)
by the way can you answer this question too.

when i went into the termial and typed gcc(used for installing and conpliling files),the termial says no input files.

does that mean gcc is not installed?

No, that means gcc IS installed. The common syntax for gcc is:

gcc inputfilename.c -o outputfilename

So, if you wanted to compile a program called HelloWorld.c, you'd do something like:

gcc HelloWorld.c -o HelloWorld

Then you'd have a compiled executable called HelloWorld. If you just type gcc, without the input or output files, it will give you the message there there are no input files.

Here is a "HOWTO" from the The Linux Documentation Project: http://www.tldp.org/HOWTO/GCC-HOWTO/index.html

oskar 10-28-2007 07:00 PM

Quote:

Originally Posted by icedlightblue (Post 2940252)
I tryied it and it says dvgrab-3.0

Well, it looks like this is another folder... so cd into it and compile.
(ls is like dir in dos... on some distros you can even type 'dir'"

I don't mind much answering questions like that, but if you want to start with a distribution like slackware, you might want to get a book on at least the very basics of using a *nix system. Once you are comfortable with the basic 10 or 20 commands you will have a much easier time.


All times are GMT -5. The time now is 06:47 PM.