LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Proper way to install downloaded? (https://www.linuxquestions.org/questions/linux-newbie-8/proper-way-to-install-downloaded-100673/)

Tyir 10-05-2003 10:37 PM

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!

ehdwuld 10-05-2003 10:45 PM

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

euangray 10-06-2003 06:33 AM

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...

JZL240I-U 10-06-2003 09:04 AM

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. :)

ehdwuld 10-06-2003 09:48 AM

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

JZL240I-U 10-07-2003 01:49 AM

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?

ehdwuld 10-07-2003 03:46 AM

ver 1.2.7

JZL240I-U 10-29-2003 07:06 AM

Hm. I use rpm 3.0.6 ...
BTW: rpm 4 was recently released ...

youknowwho 10-29-2003 07:34 AM

Type man rpm or info rpm in console .Use man and info often ;)


All times are GMT -5. The time now is 06:35 AM.