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.
Ok, I have been a Windows user for quite a long time and am very advanced at it... But I decided it's now the time to move onto somthing that's good. So I now have Linux. The Mandriva 2006 distro.
Anyways. I have been trying to install stuff... Some is easy, untill I have the source file to install. The "make" commands dont work and the "./compile" doesnt work. It says no suitible somthing in $PATH. I read around and I found that I need to install GCC. I downloaded it and tryed to install. No luck because I need to do the "make" command which also doesnt work.
What all do I need to install to get these things to work?
I have been sitting here for a few days trying to figure it out trying not to be some noob asking dumb questions, but I guess asking questions could be helpful sometimes huh?
Which piece of software are you trying to install? If it's something common, then you'll likely be able to obtain it using your distro's package manager (which will probably be easier than building from source).
Mandriva will have pre-built packages for gcc and make on the CDs (or again, available via the aforementioned package manager) so you should install those from there.
I believe that Mandriva's package manager is called "urpmi" or something like that, but I can't say for sure as I don't use the distro.
Which piece of software are you trying to install? If it's something common, then you'll likely be able to obtain it using your distro's package manager (which will probably be easier than building from source).
Mandriva will have pre-built packages for gcc and make on the CDs (or again, available via the aforementioned package manager) so you should install those from there.
I believe that Mandriva's package manager is called "urpmi" or something like that, but I can't say for sure as I don't use the distro.
HTH.
To be honest.. I forget what I was trying to install in the first place... I have been looking around about GCC the past few days... Er, wait, it was XMMS.
How do I find/use this package manager? I have 3 installation cds and not quite sure what im looking for.
I did the locate command in shell and came up with this...
Personally, I would avoid trying different distros to solve problems such as posted by OP.
In Mandriva--or any other distro with a GUI interface, the package manager shows up in the menus with a name that is similar to install SW, install applications, etc.
To learn how to do it from the command line, type "man urpmi".
What you found with locate is the executable in /usr/sbin. If that is not in your PATH variable, then you can run it by typing /usr/sbin/urpmi
Ok... I was reading some stuff about urpmi and learned some things, but stil kind of stuck. I was reading something and it said to type "urpmi someprogram" So I did and it said:
[root@localhost Desktop]# urpmi xmms
The package(s) are already installed
The following package names were assumed: libxmms1
Tryed that a few times... Didnt work.
So I moved onto another step in the guide. It said download the '.src.rpm' and then type su, then the pass, then type 'rpm --rebuild ./someprogram-2.3.1.src.rpm'
I tryed that and then it kept saying "no such file or directory" So then I decided to just click on the .src.rpm and install, and it said cannot continue cause unsatisfied mikmod
I never would have guessed installing a program would turn out to be so hard
Since it says XMMS is already installed, have you tried running it?
When you ran "rpm --rebuild filename.src.rpm", were you in the directory in which the file was located? You can use ls to see the files in the current directory. pwd will tell you which directory you're currently in (though actually, that's displayed in your prompt, but pwd will give you the full path) and you use cd to change directory. Another thing to be aware of is case-sensitivity in the shell: FILENAME isn't the same as filename or Filename.
Since it says XMMS is already installed, have you tried running it?
When you ran "rpm --rebuild filename.src.rpm", were you in the directory in which the file was located? You can use ls to see the files in the current directory. pwd will tell you which directory you're currently in (though actually, that's displayed in your prompt, but pwd will give you the full path) and you use cd to change directory. Another thing to be aware of is case-sensitivity in the shell: FILENAME isn't the same as filename or Filename.
I did 'locate xmms' and it really isnt anywhere. It says it's in usr/lib/ and usr/share/
And yes... I put it on my desktop... Then opened up the Desktop folder and right-clicked, then Actions|Open Terminal Here. Then I did the 'rpm --rebuild'
K, it's a new day.. I figured I'd give it a shot again... I ended up gettig 'urpmi xmms' to work.. I cant quite figure out what this means, I thought urpmi xmms was supposed to work? *scratches head*
odd... those are all plugins for xmms or plugins for other programs to make them control xmms... but no xmms...
I'm guessing your urpmi is still trying to install from the CDs, a google search for 'urpmi how-to' turned up this site: http://www.usalug.org/phpBB2/viewtopic.php?t=2488
which might tell you what you want to know.
odd... those are all plugins for xmms or plugins for other programs to make them control xmms... but no xmms...
I'm guessing your urpmi is still trying to install from the CDs, a google search for 'urpmi how-to' turned up this site: http://www.usalug.org/phpBB2/viewtopic.php?t=2488
which might tell you what you want to know.
Good luck
Thanks very much! I was already updating the sources from EasyUrpmi before you posted, but that site will probably be very helpfull in the future
So back to the original topic, rather than xmms. Say I have to download somthing that only comes with the source. I can't recall what I was trying to get, but there were a few things. All their readme's say use the 'make' and 'configure' (I think it was probably somthing on KDE-Look)
Ok, I have been a Windows user for quite a long time and am very advanced at it... But I decided it's now the time to move onto somthing that's good. So I now have Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.