LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-16-2008, 05:45 AM   #1
ab25
LQ Newbie
 
Registered: Dec 2007
Posts: 15

Rep: Reputation: 0
how to install tar extension in opensuse.


hi friends i am using opensuse 10.3 ..I cannt install softwares with tar extensions...i also cannot export path variable...although open /.bash_profile or /.bashrc but cannot understand how to do it...help me in this regards..
 
Old 03-16-2008, 06:20 AM   #2
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
What are you trying to install?
 
Old 03-16-2008, 06:22 AM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The tar program is used to extract files from .tar files. Usually they're program sources rather than executables, depending on the application. What are you trying to install?

You can set PATH by modifying ~/.bash_profile with a text editor. For example, to include the ~/bin directory in your path:
Code:
export PATH=$PATH:$HOME/bin
 
Old 03-16-2008, 06:25 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
In any GNU/Linux, the file extension is only a convention - in general, it doesn't determine the kind of file represented. or what it can do.

GNU/Linux users use a combination of tar and bzip/gzip where windows users use winzip for compressing large files. The resulting class of file is called an archive and the file is popularly referred to as a tarball.

Which leads to the question: how are you trying to interact with the tarball?

One does not normally expect software in a tarball to just install right from there. You normally extract the contents to a working directory. From there, what you do depends on the contents.

You access the tarball with the tar (tape archive) utility. This is installed by default as part of the core system tools to every major distro. Including openSUSE.

the tar utility should be installed to /bin - check with the whereis command, vis:
Code:
$ whereis tar
tar: /bin/tar /usr/include/tar.h /usr/share/man/man1/tar.1.gz
If you have a file called foo.tar.gz, you can extract it from a terminal with

tar xvf foo.tar.gz

Try that, and report any errors you receive.
<tar tutorial>

However - in openSUSE, you are not expected to install software from third parties. The YaST repositories contain a vast supply of Free software already pre-configured for your system. Further, anything obtained this way will be automatically updated to the latest available version (if you wish). For whatever you need, always check the repos first.

[edit: export PATH according to instruction by gilead]

If you have any trouble, report the error messages from the terminal. I don't know what you were messing about with /.bash_profile or /.bashrc for.

In future: when you report a problem, try to say what you are trying to acheive, then how you are going about this, then what is going on that gives the problem. This means we don't have to guess.

Last edited by Simon Bridge; 03-16-2008 at 06:46 AM.
 
Old 03-16-2008, 06:42 AM   #5
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Don't get me wrong, you guys are awesome, but you know that in this situation: 10 posts... question about tar-ed programs... chances are he hasn't found apt or yum yet.
 
Old 03-16-2008, 11:00 AM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
I have heard about YUm and RPM in suse 10.3 but some times suse refuse to install it
And if there is a tar gz file I just down load in my home dir
Unzip it wit Tar xzvf make a link to my desk top and it works


all the best
 
Old 03-16-2008, 11:26 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
@oskar: OP wont find apt or yum on openSUSE. This is because it uses YaST.
openSUSE:[YaST][APT][YUM]

@ronlau: You do not use yum for openSUSE - you use YaST!

Kmenu--->Computer--->Administrator Settings--->YAST

You can install from rpm (supported natively - no need to install) but only for openSUSE rpms - others, for fedora, redhat, mandriva etc, won't install and you need the dependencies anyway.

openSUSE is a managed distro - which means you get regular updates from the repos, and there is a package manager to handle dependencies for you.
 
Old 03-16-2008, 11:38 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
While you are in YaST, take a look at the YaST2 -> Software -> Community Repositories module. From there is is easy to add a repository. A packman repo will have versions of media programs. The vlc repo has a library needed to play DVDs.
 
Old 03-17-2008, 01:11 AM   #9
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Lightbulb how to install tar extension in open suse

Let say after using suse for let say 10 year I know where yast is for
But again not every thing can be done in yast than I look for a alternative For instance if I down load the program to declare my income tax
even to it is written in LInux I have only two choice using Turnall or
tar.gz In this cases I can,t use Yast And this is just a example

ALL the best
 
Old 03-17-2008, 02:40 AM   #10
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
untar the file
tar xvzf filename.tar.gz
cd to the directory
cd filename
then you would read the readme or install file on how to install it, I will show you how you usually install files though
run ./configure
then make
then make install as root
 
Old 03-17-2008, 04:33 AM   #11
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
how to install tar extension in open suse

This I knew too . Make install I try it over and over again but I get the same response .Even as root command make install not found.


all the best
 
Old 03-17-2008, 06:06 AM   #12
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
not every thing can be done in yast
<gasp> Wash your mouth out! Why - I had YaST doing the ironing...

So: which program are you trying to install? What is the name of the tarball? Where did you get it from?

Inside the tarball there is a readme.1st file - did you?
There is usually an instruction file too.

In order to install from source, you need to have the programming tools installed, and in your path. Thus you get "bash: make: command not found".

But if you get "make: *** No rule to make target `install'. Stop." it means there is probably no makefile in the working directory. You are (a) in the wrong place or (b) the tarball did not contain source code or (c) you didn't extract it first.

In your ten years using SuSE then openSUSE, you must have encountered this before. The exact steps you used and the exact error message are vital.
 
Old 03-17-2008, 06:14 AM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Try reporting your progress like this:

$ pwd
~/work

$ ls
engfeh.tar.gz

$ tar -xvf enffeh.tar.gz
done

$ ls

engfeh.tar.gz engfeh.2.22.4

$ cd engfeh.2.22.4
$ ls -F

configure readme.now Makefil_ docs/ data/

$ less readme.now
(read the instructions)

$ ./configure
(lots of output)

$ ls -F

configure readme.now Makefile docs/ data/

$ make
(lots of output)

$ su
Password:

# make install
(lots of output)

# exit

$ engfeh
(program runs)

Now you try.
 
  


Reply

Tags
targz


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
How to INSTALL softwares with *.tar.gz or *.tar.tgz extension On SLACKWARE 10.2 DdOs Linux - Software 4 03-20-2006 01:54 AM
How you install file with TAR.BZ2 extension?.. thanks suse2166 Linux - Software 14 01-03-2005 04:55 PM
extension with tar.gz giorgoskappa Linux - Software 3 05-10-2004 07:47 AM
file extension tar.tar wilbertcsci Linux - General 2 10-08-2003 09:21 AM
how to install sound and modem driver in tar.gz file extension in linux 7.3 nomi Linux - General 2 09-17-2003 01:24 PM

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

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