Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!!
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....
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...
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.
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.