LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-05-2006, 04:56 PM   #1
maveickstorm
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Rep: Reputation: 0
how:installing appz that are in tar.gz format


hello everyone,
I am quite new to linux,just started a week back,and i have a LAN connection,so it is not a big deal for me to download packages to install.

now i have a suse 9.3 on my system.
i found that i can install rpms with "yast",which comes inbuilt.

the problem is that i have downloaded ,"tar.gz" files,
e.g, i got a adobe reader 7 tar.gz source file,
now the trouble is ,
1) how do i install it?
2) how do i kno what is installed and what not?
3) how do i remove the installed applications?

please help me out,i am stil a learner in linux!
 
Old 09-05-2006, 07:45 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
tar.gz files cannot be used with yast, you need rpms.
in a normal case, these commands should work
tar -xvzf pkg.tar.gz
cd pkg
./configure
make
make install

If you dont get errors that means you have installed it correctly.
 
Old 09-05-2006, 08:12 PM   #3
Cara25
Member
 
Registered: Mar 2006
Location: Nashville, Tennessee
Distribution: Salix 13.37 with KDE
Posts: 258

Rep: Reputation: 36
unzip or untar the package using an archive tool (don't know what SuSe uses). Look for a readme.txt file or a install.txt and open the file up with a text editor and follow the instructions for installing the package. Sometimes the .txt file will give instructions how to remove the package, sometimes not.

w3bd3vil is correct, most packages use the
/.configure
make
make install
commands after typing in the package name if you're in the same directory as the package.

Learn to use the "tar.gz" method because most of your best apps are released in this form before they become available with an installer package such as rpm.

Shut down your machine and restart after the new install and see if the new app appears in a menu somewhere, if not do a search for the app name in your file manager and see if it is installed. Usually the readme.txt will tell how to launch the app.

Good luck !

Last edited by Cara25; 09-05-2006 at 08:16 PM.
 
Old 09-06-2006, 07:24 AM   #4
maveickstorm
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
many thanks

thanks for the help.
can u suggest me any thing that converts sources into rpms
any ways i will try to follow ur instructions.
thanks alot.

Last edited by maveickstorm; 09-06-2006 at 08:33 AM.
 
Old 09-06-2006, 07:57 AM   #5
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
I dont think there is any use to convert a source into a rpm. What you could do is download rpm's instead of tar.gz files. or use yast, it should be even easier. try searching some stuff on yast and read it.
 
Old 09-06-2006, 08:27 AM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
There are files like the Adobe Reader that come in a compressed archive but contain binary (precompiled) files. If you untar the file there will be no need to do something like "./configure" or "make".
You have been told the usual procedure if the file contains sources. http://www.linuxquestions.org/linux/...ms_from_Source is a good additional read. If you want to compile from source AND create a RPM package then google for checkinstall or search here on LQ.org. It should be available as a package for your distro.
 
Old 09-06-2006, 08:53 PM   #7
Cara25
Member
 
Registered: Mar 2006
Location: Nashville, Tennessee
Distribution: Salix 13.37 with KDE
Posts: 258

Rep: Reputation: 36
Quote:
Originally Posted by maveickstorm
thanks for the help.
can u suggest me any thing that converts sources into rpms
any ways i will try to follow ur instructions.
thanks alot.
Plenty of information is out there, (Google it) to create RPM packages and Yast I assume, since I don't do Suse at the time, but creating RPM packages is for the experienced Linux user.

First and foremost, read the README.TXT file(s)!

To get started with Linux and enjoy your operating system just use the RPMs that are already created even if they are for an older version of the app you want.

You can fill your hard drive up fast if you waste a lot of hours launching bad installs from RPM that don't work or repeated launches of the same source code.

Last edited by Cara25; 09-06-2006 at 08:56 PM.
 
Old 09-06-2006, 11:21 PM   #8
Dan04
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu
Posts: 207

Rep: Reputation: 37
Quote:
Originally Posted by maveickstorm
can u suggest me any thing that converts sources into rpms
There's a program called CheckInstall that will do this. But, of course, it's best to download RPMs in the first place.
 
  


Reply



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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
Quick...Someone Tell Me How To Open a Tar File in .tgz format njschroe Linux - Software 3 06-10-2005 04:58 AM
Getting date format right in tar incremental backup jonr Linux - Software 3 08-19-2004 09:53 AM
Where should I be installing appz DraaX Linux - Newbie 4 08-15-2004 05:29 PM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM

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

All times are GMT -5. The time now is 06:04 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