LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-26-2005, 06:03 PM   #1
Ishkabibble
Member
 
Registered: Aug 2003
Location: Worcester MA
Distribution: Ubuntu 8.04
Posts: 120

Rep: Reputation: 15
Where do I install programs?


Former WinBlows user. I'm used to simply putting it under "Program Files" under a folder for the program and such. Is there an equivalent?
 
Old 02-26-2005, 06:17 PM   #2
apimente.br
Member
 
Registered: Aug 2003
Location: Sao Paulo - Brazil
Distribution: Mageia
Posts: 155

Rep: Reputation: 23
There isn't a simple answer to your question.

Start reading this post (I know is long, but you'll learn a lot).

http://www.linuxquestions.org/questi...hreadid=203939
 
Old 02-26-2005, 06:27 PM   #3
greenmeanie
Member
 
Registered: Sep 2004
Distribution: FreeBSD5.4
Posts: 82

Rep: Reputation: 15
where

they go where ever you want.
 
Old 02-26-2005, 07:42 PM   #4
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
I use /usr/local/ as the base directory for most of my installs. If the "downloaded" program is in source code instead of binaries, I put the directory under /usr/local/src instead.
Basically greenmeanie is right, but I'd suggest placing them where it makes sense to you.
 
Old 02-26-2005, 09:57 PM   #5
Ishkabibble
Member
 
Registered: Aug 2003
Location: Worcester MA
Distribution: Ubuntu 8.04
Posts: 120

Original Poster
Rep: Reputation: 15
Re: where

Quote:
Originally posted by greenmeanie
they go where ever you want.
That's part of the problem. I installed Firefox in my home directory by mistake.

I'm trying to install Adobe Acrobat Reader and Firefox. I tried the Easy URPMI thing discussed in the thread you referenced. Didn't find either in the list of files.

I can download the programs, and Firefox has an installer that works quite simply, but it wants to install in my home directory and I don't want that. That's why I ask where is it supposed to go...

Adobe, I can't do anything with. I tried the tar xvf thing discussed by trickykid. I also tried extracting the tarball (?) with Ark, but the Readme file is quite worthless and the Install file don't do a darned thing.

Part of my frustration is that I don't know why there are 10, 15, 20, 100 different ways to do this one thing: install a program.
 
Old 02-26-2005, 11:21 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
While this is a Mandrake forum, you are getting some answers which are more closely tied to "generic" distributions.

Mandrake has it's own "unique" directory structure which almost adheres to that used by most other distributions.

That said, it is NORMALLY not required for you to specify anything...

That is if you use URPMI.

URPMI contains a list of pre-mandrakified packages of programs.

These are pre set with special scripts that are run at installation, to automatically configure the program for proper operation with Mandrake.

In turn one program may rely upon the presence of another program, library, or utility to function. With Tar's, etc. you have to figure everything out, which can be quite complex.

With RPM's (via URPMI) everything is done for you. Any pacakage that may be required is also automatically installed (called a dependancy).

It is normally INAVISABLE to try to install tarballs, etc. under Mandrake. You should only do so if a) there is a high need for a missing package or program, b) there are NO RPM's compatible for your Mandrake release elsewhere.


Installing non Mandrake tarballs can at times "break" the entire distribution (like people here have done with wrong perl updates) or leave things in an unstable state.


If you cannot find firefox in URPMI (which I believe is there, though I may be mistaken), then try googling for Mandrake 10.x RPM's first before resorting to other means.

That said some third party mechanisms for software installs tend to be "safer" than others, and things like Thunderbird, Firefox and Mozilla do a pretty good job not stepping on important files.


The convention is that user installed files go in /usr/bin or /usr/share/bin however many OS files have found there way into these directories.


Tarballs use the directory structure of the machine they were built on, for the most part. This can cause problems.

The configure script builds a makefile with targets in the wrong place.

This can be corrected with

./configure --prefix=/usr

But again avoid all of this whenever possible.

Explore URPM and RPM drake (they are really one in the same).

Almost anything you should ever need should already be available to you via URPMI/RPMDRAKE.
 
Old 03-14-2005, 04:14 PM   #7
dianat100
Member
 
Registered: Aug 2004
Distribution: Kubuntu 7.04
Posts: 73

Rep: Reputation: 15
After I install a program tellico-0.13.5-0.1010.1mdk.i586.rpm, where am I supposed to look for it? It seems to have been installed but I can't find which directory it's under, i tried typing tellico in the console, but it couldn't find it.
Is there a default directory rpm packages are installed to? Why isn't it stated during the installation? Thanks for the patience.
 
Old 03-14-2005, 05:00 PM   #8
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
<Tellico> It's under Office-->Accessories, great program :-)

Last edited by {BBI}Nexus{BBI}; 03-14-2005 at 05:02 PM.
 
Old 03-15-2005, 08:24 AM   #9
dianat100
Member
 
Registered: Aug 2004
Distribution: Kubuntu 7.04
Posts: 73

Rep: Reputation: 15
Quote:
Originally posted by {BBI}Nexus{BBI}
<Tellico> It's under Office-->Accessories, great program :-)
I wish it was there, but it isn't. I only got default accessories there that were installed off the Mandrake CD. Where do I look for the programme I installed manually?
 
Old 03-15-2005, 08:32 AM   #10
dianat100
Member
 
Registered: Aug 2004
Distribution: Kubuntu 7.04
Posts: 73

Rep: Reputation: 15
OK, an update, it turns out the programme hasn't been installed because there is a missing file libyaz.so.2, where do I get it from? Thanks.
 
Old 03-15-2005, 09:03 AM   #11
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
I'm not sure where you can get that missing .so file from, if you have yours sources set (see info in my SIG) you can type as root urpmi tellico, that will fetch and install the program along with any dependencies.
 
Old 03-15-2005, 12:57 PM   #12
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
The package you need to install is: libyaz2-2.0.21-4mdk. You can use urpmi to install it.

Last edited by {BBI}Nexus{BBI}; 03-15-2005 at 12:58 PM.
 
Old 03-15-2005, 03:48 PM   #13
dianat100
Member
 
Registered: Aug 2004
Distribution: Kubuntu 7.04
Posts: 73

Rep: Reputation: 15
Quote:
Originally posted by {BBI}Nexus{BBI}
The package you need to install is: libyaz2-2.0.21-4mdk. You can use urpmi to install it.
Thank you! But I'm afraid I don't know where to look for it...
 
Old 03-15-2005, 04:13 PM   #14
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Set up your repository sources via Easy Urpmi. See {BBI}Nexus{BBI}'s sig, or my sig, or opjose's sig in this thread for links. Make sure you include "main", "updates", "contrib", and "plf" sources. Once you have followed all the instructions from EasyUrpmi, just go to the Mandrake Control Center/Software Management/Install screen, and search for "libyaz2". The file named above should be listed. Select it, and click "Install".

 
Old 03-15-2005, 04:14 PM   #15
Thames
LQ Newbie
 
Registered: Mar 2003
Location: London
Posts: 20

Rep: Reputation: 0
Try
http://mandrake.cict.fr/official/10..../media/contrib
There's adevelopment package as well which may be necessary
Why not add the mirror to your uprmi sources using easyurpmi

Thames
 
  


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
can't install g++ so I can't compile and install any programs musicmaniac414 Linux - Software 12 02-06-2008 09:31 PM
can't install some programs khh80 Linux - Software 2 08-02-2005 09:43 PM
How do you install programs? Sir Loin Linux - Software 16 03-15-2005 12:31 PM
where to install programs to CrotchCricket Linux - Newbie 2 10-26-2004 06:42 AM
Cannot install programs garbo73 Mandriva 16 09-24-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

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