LinuxQuestions.org
Review your favorite Linux distribution.
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 09-21-2003, 05:53 PM   #1
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Rep: Reputation: 15
Cannot install programs


I am new to the world of Linux, coming from Win XP Pro. I have installed Mandrake 9.1 and using KDE 3.1. Any programs that I try to install, unless they have an .rpm extension do not work. I have tried to "make install" or even use the ./ command on the files to try and get them to work. It almost seems as if gcc or any of the other compiler programs are not working, do they need to be turned on in order to use? Any advise would be greatful.

Thanks,
Garbo73
 
Old 09-21-2003, 06:02 PM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Well, you're going to have to specify what you are trying to install, what commands you are using, what results you are seeing, etc...
 
Old 09-21-2003, 06:03 PM   #3
baud
Member
 
Registered: Aug 2003
Location: Versailles
Distribution: Mandrakecooker 10.1
Posts: 67

Rep: Reputation: 15
well try to find rpm files before trying others way of installing programs...
There's almost always an rpm provided for each program (sufice it to have a look on rpmfind.net, there will be an rpm for your distribution). An rpm takes care of dependancies whereas compilation is more of an try and error mode...

Otherwise be more specific for programs you've got problems to install. copy/paste the *first* errors you are seeing, the last errors being often consequences of the former.

if gcc is missing, just install it via rpmdrake (menu / Configuration / Packages / Install software) search for gcc and install it, you may need libc and any other program identified in the readme (or README) available with your program).

often after tar zxvf <program.tgz>, you will have to do
./configure # create makefile required and do some checking
make # compile
make install # put compiled program where it ought to be
 
Old 09-21-2003, 06:24 PM   #4
minio
Member
 
Registered: Sep 2003
Location: Czech Republic - Prague
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
You must unpack these files first. Then cd into the directory which was created by unpacking and should read README file (). Usually you just type ./configure after it finishes type make (this may take a lot of time to finish) and then type make install.
 
Old 09-21-2003, 07:51 PM   #5
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
I receive an unkown host error when I ./configure. I have tried to install Ruby and even Java using these methods. I also get an error when I use rpmdrake when it tries to install all of the programs (which should have installed on installation since I checked them all then). One other program I was trying to use was MyBitch so that I could get into yahoo chat.
 
Old 09-21-2003, 08:05 PM   #6
coupace
LQ Newbie
 
Registered: Sep 2003
Posts: 6

Rep: Reputation: 0
Unhappy

ok, i know i'm really new at this, but i'm trying to install the java development kit 1.4.2, and i have the file

j2sdk-1_4_2_01-linux-i586-rpm.bin

now... what do i do with it to make it into a .rpm so i can install it?

(i heard something about "unpakaging"... do i have to unpakage it? if so, how do i do that?)

would appreciate any help!

thanks

 
Old 09-22-2003, 07:49 AM   #7
ArmedGeek
Member
 
Registered: Jul 2003
Location: Houston Texas
Distribution: Mandrake
Posts: 38

Rep: Reputation: 15
With the j2sdk or j2re*.bin files .. essentially (if you downloaded the RPM version) is packaged with the EULA. Anyway, just cd to the directory with the *.bin and:
./sh j2*.bin

This will display the EULA. Hold down the enter key until it's done, it will ask you to type 'yes' to agree to the EULA then it will unpack the file. After all that you will have a j2*.rpm sitting there just begging to be...well..rpm'ed )
 
Old 09-22-2003, 12:15 PM   #8
baud
Member
 
Registered: Aug 2003
Location: Versailles
Distribution: Mandrakecooker 10.1
Posts: 67

Rep: Reputation: 15
garbo73, for Ruby I cannot help as I don't know it. Looking at their website, I've seen .rbx files that I haven't seen before, I hope you've taken the tar.gz ?
Either open a thread for Ruby there or have a more thorough look at their website, they should have a faq for installations ? maybe a forum ?

For Java, see above. That works.

For MyBitch, it dates back to 2002 and is console mode, try Gaim (it has yahoo support, though I could not find how to stay invisible...) or download yahoo's rpm (not that well maintained...) in rpm : http://messenger.yahoo.com
 
Old 09-22-2003, 05:15 PM   #9
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
Do you know if there are any programs that allow you into yahoo chat, I found that Gain allows my buddy list to open but that is it? Will try the other processes suggested. Thanks.
 
Old 09-22-2003, 05:39 PM   #10
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
I have also noticed that under file:/usr/bin there are several applications that are executable. These include the java, gcc, c++ and several others. Are these actual programs and if so, how do you make them useable?
 
Old 09-22-2003, 07:15 PM   #11
baud
Member
 
Registered: Aug 2003
Location: Versailles
Distribution: Mandrakecooker 10.1
Posts: 67

Rep: Reputation: 15
first learn what each of them do, typing
man [program_name]
or
[program_name] --help

which will give you a hint at what they do.
avoid launching them as root as long as you don't know what they do...
 
Old 09-22-2003, 11:15 PM   #12
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
I can't even get those to work, not sure how to get anything to launch. The ./sh, man, or any other command does nothing. I feel like all I have is a web browser that's very fast, but that only does so much. What am I doing wrong or not doing?
 
Old 09-23-2003, 05:00 AM   #13
baud
Member
 
Registered: Aug 2003
Location: Versailles
Distribution: Mandrakecooker 10.1
Posts: 67

Rep: Reputation: 15
well, first play with what's available in the KDE menu, at least it will be graphical programs... you will feel at home.

for man and sh if you don't give them arguments (i.e. parameters in programmation), they won't do much, if not complaining.

try
man sh
it will give you a manual for sh

try
man man
it will give you the manual for the command man
 
Old 09-23-2003, 05:41 AM   #14
garbo73
Member
 
Registered: Sep 2003
Posts: 59

Original Poster
Rep: Reputation: 15
I type man man under the run command and nothing happens, same thing with man sh.
 
Old 09-23-2003, 07:44 AM   #15
baud
Member
 
Registered: Aug 2003
Location: Versailles
Distribution: Mandrakecooker 10.1
Posts: 67

Rep: Reputation: 15
Those commands only work in a terminal window.

Play with the menu rather than trying to launch commands from the menu (only if you know what it does). First try in a terminal window (either gnome-terminal or eterm or you name it...)
 
  


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
How to install programs ??????? antisocialiting Linux - Newbie 6 08-15-2005 02:03 AM
Programs Won't Install dumbsheep Linux - Newbie 9 01-11-2005 12:39 PM
How do I install programs?? twitch88 Linux - Newbie 4 07-22-2004 04:02 PM
Can't install programs tagbre Linux - Newbie 5 12-30-2003 06:28 AM

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

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