LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 10-15-2003, 11:35 AM   #1
whoots
Member
 
Registered: Oct 2003
Location: St. Louis
Posts: 59

Rep: Reputation: 15
Talking .rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2


Hey guys, thanks to Sal, Skyline, and others Fluxbox 1.1.2 is working great! What I need to know now is: How do I effectively deal with all these different package formats? I've run across them all at some point or another, but the .rpms seem to be the easiest ones to deal with. Also, as I'm still a Linux newbie, I'm still trying to learn to "Think Different" with respect to installing/uninstalling. Is there a central local where Linux keeps all RPMS?
Thanks to Sal for showing me the use of "rpm -e file_ here" Is there a straight forward manual somewhere to teach newbies the most "useful" commands in term mode? Ahh well, I didn't mean to blabber on and on.

Linuxly Yours,
Whoots
 
Old 10-15-2003, 11:43 AM   #2
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
rpm.org? rpmfind.net? (can you google?)

rpm and .rpm is redhat, dpkg and .deb is debian, slackware uses .tgz packages and pkgtool,
or of course, download the source and compile your own!

HTH
 
Old 10-15-2003, 12:05 PM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
Post

When you google for Linux stuff, try this

www.google.com/linux

Here's another good link for how tos:

http://www.tldp.org/docs.html#howto

Lot to read there. You will be ing for a while now.

Later

 
Old 10-15-2003, 01:07 PM   #4
whoots
Member
 
Registered: Oct 2003
Location: St. Louis
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks for the link Dalek! Also bbers, I've seen the .src.rpm (source RPM's) I assume, but since I'm still a newbie, I'm not sure how to compile them yet.

Linuxly Yours,
Whoots
 
Old 10-15-2003, 04:49 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Whoots, glad you got Flux working......

now, looking at:

.tar.gz
.tgz

You'd download your Tarball, su to Root user in a command line then depending on which of the two above you've got you'd issue

tar -zxvf filename.tar.gz

or

tar -zxvf filename.tgz

Remember that the Tarball would be extracted into your current working directory (you can check that with pwd)

This will untar and unzip the file and create a sub directory with the name of the filename. Then you'd cd (change directory) into the new extracted directory and usually you'll have a readme file or an install text file that will have further installation instructions - How you install depends on whats inside the Tarball - if its source code, then you'd typically do

./configure
make
make install

(but the key thing again is to definately check the read-me and install files, just incase of different instructions)

Last edited by Skyline; 10-15-2003 at 04:51 PM.
 
Old 10-16-2003, 10:22 AM   #6
whoots
Member
 
Registered: Oct 2003
Location: St. Louis
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks for the help again Skyline as always. I'm determined to master installation/uninstallation in Mandrake even though it "Feels" painful sometimes! But hey, I remember feeling the same way back in the days of DOS. I remember how delighted I was when I discovered the "attrib" command. I could finally rid myself of stubborn hidden files and archieved ones. Ahhh..those where the days. Reminisces about the days of my 486 DX 2 66 MHz modified to a 486 DX 4 100 MHz with a Trinity Overdriver. Remembers the oohhh and ahhhs of switching from Windows 3.1 to Windows 95. Remembers how mad i was when the first Pentium came out 6 months later. Ahhh well, $2000 as become obsolete!
 
Old 10-16-2003, 01:17 PM   #7
Leviathan
LQ Newbie
 
Registered: Oct 2003
Location: Florida
Distribution: MEPIS 3.3
Posts: 21

Rep: Reputation: 15
I'm having a hell of a time trying to install Flashplayer, I downloaded the tar.gz file and I extracted it and then ran the installer but when it comes to the part where I have to specify where the mozilla directory is at I can not for anything get it to not stop saying that I need to enter a valid directory. How do I go backwards through dir's in console? Like, If I'm in /home/Desktop/myfolder and run the installer and I need to specify /usr/lib/mozilla as the installation directory, how would I do that?
 
Old 10-17-2003, 12:04 PM   #8
whoots
Member
 
Registered: Oct 2003
Location: St. Louis
Posts: 59

Original Poster
Rep: Reputation: 15
Leviathan, yeup that's the achilles heel of Linux. When you decompress a source file like .tar.gz and ./configure, make, it will then install to the preset path determined by the Linux distribution that tarred the file. This presents quite a problem because of the different paths of the various distributions use for key directories like /bin, /lib, /etc, /user and so on a so forth. Also, even if you are lucky enough to find the RPM you almost always get the dreaded "bad signature" messege which means that the RPM will probably now work correctly. I'm a Linux newbie myself and this is the most trying part in my Linux growth period.

Linuxly Yours,
Whoots

P.S Don't give up though, there are many good people in the Linux community who will go out of their way to help you. Salparadise, Skyline, Mdg, Dalek are some of the kind Linux folk who have helped me.
 
Old 10-17-2003, 12:42 PM   #9
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
Post

Thanks whoots. I try to anyway. If I don't know I point. Go here, read this, look there etc etc.
 
Old 10-17-2003, 12:52 PM   #10
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
Quote:
Originally posted by Leviathan
I'm having a hell of a time trying to install Flashplayer, I downloaded the tar.gz file and I extracted it and then ran the installer but when it comes to the part where I have to specify where the mozilla directory is at I can not for anything get it to not stop saying that I need to enter a valid directory. How do I go backwards through dir's in console? Like, If I'm in /home/Desktop/myfolder and run the installer and I need to specify /usr/lib/mozilla as the installation directory, how would I do that?
You are doing it right, if you're doing as you indicate, with leading '/'.
Maybe the installer doesn't like your permissions, are you installing as root?
What is the exact command you ran, and what is the exact error message?
 
Old 10-18-2003, 01:08 PM   #11
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Hello.

I had the same problem the default directory is wrong. You need to see what version of mozilla you are running then open another term and type:

$ whereis mozilla-1.3.1 or whatever version

that should point to the directory it is in

finish your plugin install and enjoy!

Hope I was a help.
 
  


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
how to install .tar.gz and .tar.bz and .src.rpms gadekishore Linux - Software 3 08-06-2010 06:02 PM
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 03:57 PM
.tar.gz and .tar.bz and .src.rpm how to rpms gadekishore Linux - Software 2 10-13-2005 01:51 AM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
tgz vs tar.bz2 Micro420 Mandriva 4 10-22-2003 11:19 PM


All times are GMT -5. The time now is 04:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration