LinuxQuestions.org
Review your favorite Linux distribution.
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 10-05-2003, 10:37 PM   #1
Tyir
Member
 
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Rep: Reputation: 30
Proper way to install downloaded?


Hi, I'm new, just installed Red Hat 9

I hope this isn't a too general a question, but what is the normal way to install programs?
I downloaded the XMMS music program, and installed it by double-clicking the .rms file, and it did the rest itself.
Now I can access it thru MAINMENU-Sound&Video-More-XMMS
but where is the program installed exactly? How is it uninstalled if i need to? Do I need to keep the .rms file?
To website to get all (most?) of linux's software is www.freshmeat.net, is that correct?
Say I want to install the newest version of GAIM, even though an older version is installed. DO i need to uninstallt he previosu vers first, or does it not matter? I downloaded the gaim-0.70.tar.gz file, which seems to be like a .zip file. Where do most people put it?
Are most programs in .tar.gz files?

Sorry for all the questions, and thanks for helping!
 
Old 10-05-2003, 10:45 PM   #2
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
I prefer the .rpm's but either or will work

I've listed some good sorces of these

ftp://rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS
ftp://rpmfind.net/linux/freshrpms/redhat/9

if you want to know what a particular rpm provides

go here and enter it into the search
then check what all it provides
you can also check to see which path it uses for the files
http://rpm.pbone.net/

that may answer some or most of your questions

http://www.redhat.com/docs/manuals/l...started-guide/

here is a link to a RH9 manual
it may help if you get stuck or are wondering about a command

its not RH8 but there is not much difference between the 2
 
Old 10-06-2003, 06:33 AM   #3
euangray
LQ Newbie
 
Registered: Sep 2003
Location: UK
Distribution: LFS-CVS-20031113
Posts: 29

Rep: Reputation: 15
Hi there,

If you're looking for "click-to-install" packages you need .deb or .rpm packages, with RPM software already installed, or some similar scheme from other (non-RPM based) distributions.

Packages ending in .tar.gz, .tgz or .tar.bz2 are generally source code tarballs which need to be compiled and installed before they'll work. Unless you're ready to try "./configure --prefix=/usr/local && make && make install" then you possibly don't want to bother downloading them. However, you do at least know where the files are and if you keep the configured source code you can remove it with "make uninstall" (sometimes...).

Enjoy...
 
Old 10-06-2003, 09:04 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,009

Rep: Reputation: Disabled
Re: Proper way to install downloaded?

Quote:
Originally posted by Tyir
... Now I can access it thru MAINMENU-Sound&Video-More-XMMS but where is the program installed exactly?
I don't know the rms format.

Usually an install has two "branches". One is the downloaded (and compiled) source -- that ominous ./configure - make - install -- the second the rpm. You can use either one or the other. Now the install command is in reality a script which copies various files to various destinations, among them the executable -- usually to /user/bin. You have to see the READMEs etc. to find out how to invoke the program. With rpm it is a database (rpmdb?) in which the precompiled program is inserted. From here on it is integrated into your system, don't ask me how.

Quote:
How is it uninstalled if i need to? Do I need to keep the .rms file?
If it is of the first type try in the directory of the program and type: make uninstall and cross your fingers. If it is an rpm it is rpm -e <name-of-packet> (also man rpm). I would guess you don't need the rms, except for later re-installation.

Quote:
To website to get all (most?) of linux's software is [url]www.freshmeat.net, is that correct?
No, there is lots more, but it is a good starting point.

Quote:
Say I want to install the newest version of GAIM, even though an older version is installed. DO i need to uninstallt he previosu vers first, or does it not matter? I downloaded the gaim-0.70.tar.gz file, which seems to be like a .zip file. Where do most people put it? Are most programs in .tar.gz files?
No, you don't, you just have to make sure you invoke the version you want (hint: command line with full path to start it, GUI: edit the properties of the icon to point to the wanted version). Most people have their own way to store files , it doesn't really matter, I do it in /home/user/install. .tar.gz means just that they are compressed. That is nice for the bandwidth used but not truly necessary.

Good luck.

Last edited by JZL240I-U; 10-06-2003 at 09:06 AM.
 
Old 10-06-2003, 09:48 AM   #5
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
the rpms will over write the old version with the new

there is no need to uninstall the old version with .rpms

see my previous post for some good sources of .rpms

the manual listed in my previous post also will tell you how to install .rpms and .tar files
#########################################
the command to upgrade a package with .rpms is

rpm -Uvh <packagename>.rpm

to remove is

rpm -e <packagename> ( without the .rpm suffix )
#########################################
to find where the application is

open a terminal
type at the command prompt

locate <programname>

ex
locate xmms
/usr/bin/xmms

this is where the program resides
 
Old 10-07-2003, 01:49 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,009

Rep: Reputation: Disabled
Quote:
Originally posted by ehdwuld the rpms will over write the old version with the new ...
That is new to me and did not happen when I tried it once (I think). Why shouldn't one be able to use two different versions of a given program? What version of rpm do you use?
 
Old 10-07-2003, 03:46 AM   #7
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
ver 1.2.7
 
Old 10-29-2003, 07:06 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,009

Rep: Reputation: Disabled
Hm. I use rpm 3.0.6 ...
BTW: rpm 4 was recently released ...
 
Old 10-29-2003, 07:34 AM   #9
youknowwho
Member
 
Registered: Oct 2003
Location: india
Distribution: slack
Posts: 34

Rep: Reputation: 15
Type man rpm or info rpm in console .Use man and info often
 
  


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 a downloaded tar.gz? zeroz52 Linux - Newbie 8 10-06-2006 10:32 PM
Proper way to install libraries? GNUROCKS Linux - Newbie 1 06-04-2005 07:58 PM
install downloaded program BIMMUR Linux - Newbie 4 02-21-2004 05:47 PM
Proper way to install sound driver A7N8X InEeDhElPlInUx Linux - Newbie 0 10-29-2003 10:12 PM
Proper way to install a game from a CDR? l0f33t Linux - Newbie 8 08-30-2003 03:58 AM


All times are GMT -5. The time now is 05:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration