LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-30-2005, 09:18 AM   #1
j_carmona
Member
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 35

Rep: Reputation: 15
Problem installins apps


OK I have downloaded a couple of apps. They have extension xxxx.tar.gz.

I went to the terminal and if I type ./configure --prefix=/usr (as in the case of SuperKaramba), I get the message "no such file or directory (I am by the way in [my_name@localhost my_name]

What am I doing wrong?

Many thanks
JC
 
Old 04-30-2005, 09:31 AM   #2
Maarten_Holland
Member
 
Registered: Sep 2003
Location: Holland
Distribution: SuSE 9.2
Posts: 39

Rep: Reputation: 15
Did you unpack and untar the files first? A .tar archive (called a tarball) is a collection of files. Most tarballs, like this one, are compressed to make the filesize smaller. A popular compressionformat is GZip (.gz). Hence the extension .tar.gz.

To use the files you must unzip and untar them. You can do both at once with the following command:

# tar -xvfz archivenamehere.tar.gz (don't write the #)

Probably this creates a new directory 'archivenamehere' which contains your files.

Change to that directory:

# cd archivenamehere

After you've read 'INSTALL', 'README' etc. you can start installing you're program:

# ./configure (use ./configure --help to see the available options for configuring the program)
# make
# make install.

Hope this helps. Good luck!
 
Old 04-30-2005, 09:42 AM   #3
j_carmona
Member
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks Maarten, OK it is still not working, I am probably doing something wrong.

First do I use the terminal or the command line (Alt + F2) to run the script? (I like to know the difference between these two if there is one, but maybe later)

When you say "archivenamehere.tar.gz", do I actually type archive + the name of the file (I have tried both BTW).

Thanks
JC
 
Old 04-30-2005, 09:44 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
In the case of Superkaramba, don't use a prefix because its a KDE app and it will search for the right prefix on its own.
 
Old 04-30-2005, 09:53 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by j_carmona
Thanks Maarten, OK it is still not working, I am probably doing something wrong.

First do I use the terminal or the command line (Alt + F2) to run the script? (I like to know the difference between these two if there is one, but maybe later)

When you say "archivenamehere.tar.gz", do I actually type archive + the name of the file (I have tried both BTW).

Thanks
JC
Lets say you have a package calleed package-1.0.tar.gz. You download it and store it in a directory called download in your /home directory. To install it you would
  • Start a console (termainal emulator)
  • Change to the directory you downloaded the file e.g.
    $cd downloads
  • extract the file e.g.
    $tar -zxvf package-1.0.tar.gz
    a direcory called package-1.0 will be extracted from package-1.0.tar.gz
  • change into package-1.0 e.g.
    $cd package-1.0
  • do the following
    $./configure
    $make
    $su -c "make install"
Always read the installation instructions because they don't always conform to the standard. for KDE packages don't use a prefix, the configure script searches for the right one, but on mandrake you may have to do "./configure --prefix=`kde-config --prefix`"

Last edited by reddazz; 04-30-2005 at 09:54 AM.
 
Old 04-30-2005, 10:13 AM   #6
j_carmona
Member
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks reddazz, that worked!! I don't know but in the first post Maarteen gave me the command "-xvfz" a typo maybe?? Or is this a different one from your one?

Thanks again
JC
 
Old 04-30-2005, 10:27 AM   #7
Maarten_Holland
Member
 
Registered: Sep 2003
Location: Holland
Distribution: SuSE 9.2
Posts: 39

Rep: Reputation: 15
Sorry about that. My hangover is bugging me... Indeed a typo. Should be -zxvf.

Great that it worked. Enjoy your program!
 
Old 04-30-2005, 12:11 PM   #8
j_carmona
Member
 
Registered: Apr 2005
Distribution: Mandrake 10.1
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks Maarten, don't worry about the typo, happens to me every day!

JC
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with several apps qt-mt spotslayer Linux - Software 3 03-18-2005 09:13 AM
Slack 9.1 - PHP apps can't access MySQL but Perl Apps can tallship Linux - Software 1 06-13-2004 08:41 AM
Already installed apps not loading after rpm installer for other apps toastermaker Linux - Newbie 11 11-17-2003 11:25 AM
Menu troubles: apps do not launch; unable to add apps hfinger Mandriva 1 08-22-2003 04:49 AM
Problem installing apps erichard2000 Linux - General 9 02-23-2001 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration