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 07-10-2002, 02:00 AM   #1
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
program installation


where do rpm install, im using mandrake 8.2, and when i install a program eg.
Wine 20020312, it says that the 'group' is Applications/Emulators, but when i open the big K on my kde menu bar, i got to appications, and theres no 'emulators' or wine, i have been searching and serching through my hard drive and i can find it, i have tried installing programs though source and rpm but i can't find them!!
 
Old 07-10-2002, 02:51 AM   #2
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
even if i call it by the konsole....it says command not found....i do a whereis it cant find it, i do a find it can find it, i have not yet successfully installed a program, and i am sure i am doing it all right. I did install AMSN, but when i execute it it says [root@localhost /]# amsn
bash: /usr/bin/amsn: bad interpreter: No such file or directory, so i did install one program....
 
Old 07-10-2002, 05:52 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
well the majority of the time its unlike windows, it doesn't just create a link an icon to the program after installation. you usually need to make your own. as for the programs, if your installing them and not getting errors, then trying to run the program itself and you get errors like the one you mentioned, then most likely they are not in your path. search the forums here, editing your path is mentioned all the time, and installing programs is double that...
 
Old 07-10-2002, 06:00 AM   #4
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37 33.327 E 126 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 30
Quote:
Originally posted by GT I.N.C
[root@localhost /]# amsn
bash: /usr/bin/amsn: bad interpreter: No such file or directory
Oh, by the way,, try not to run apps that access the internet as root

And also by the way, when you do a normal 'su' or 'su root', some apps won't be in the PATH, in other words, it will not be able to find them. Try running them as a normal user, or if you HAVE to run them as root do 'su -', that will let it have the 'normal' PATH, and it should be able to find the app you want to run.

Good Luck!
RefriedBean
 
Old 07-10-2002, 06:25 AM   #5
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
well i just want to get wine working , is there a directory where most programs install or something close to that, maybe i doing something wrong while installing?....i really need some practice...
 
Old 07-10-2002, 06:33 AM   #6
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
i also don't know what search terms to use....
 
Old 07-10-2002, 07:51 AM   #7
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Try:
locate amsn
type amsn
whereis amsn

find / -name amsn
 
Old 08-08-2002, 09:52 PM   #8
namelocr
LQ Newbie
 
Registered: Aug 2002
Posts: 6

Rep: Reputation: 0
Don't know if anyone made this discovery yet....

I had the same problem and made the following discovery
about the script I was trying to execute but was receiving the 'bad interpreter' message (Redhat Linux 7.3].
The script looked fine when I opened it in vi, btw.
and I could execute the script fine by calling it directly with
perl (it was a perl script).

When you invoke vi in Linux, the editor "vim" is invoked
(because of the alias vi=vim).
vim recognizes both dos and unix file formats.
When I vi'd the file, it appeared fine but the
fileformat (when you first open) stated the file was [dos].
I issued command ":set fileformat=unix" in vi (vim) and
saved. After that, the script ran fine.

Bottom line is the file hae the dos end-of-line character(s) instead
of the unix newline. I guess Perl handles the dos format but bash
does not.
 
  


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
Program Installation cj100570 Linux - Newbie 3 08-16-2005 08:36 AM
Program installation Gokhan1969 Linux - Software 4 03-05-2005 06:00 PM
SuSE installation (program installation, not os) jasonmantey Linux - Newbie 4 04-15-2004 03:22 PM
Mandrake 9.2 installation program crashes in the final step of the installation iqbala Mandriva 0 12-03-2003 02:59 PM
Program installation motturaryman General 4 06-26-2003 08:21 PM


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