Operating Systems > Linux and UNIX
Help me! I'm spoiled by Win98 but i want Linux!
Lennon:
HEY EVERYONE!
I managed to connect in Mandrake Linux 9.1, the problem turned out to be my ISP. Everything works fine, but i don't like Mozilla, i like the other one better.
I noticed not many replies are here so i must be getting annoying. But just in case someone bothers to answer the simple question i am supposed to bitch about:
HOW THE HELL DO I INSTALL PROGRAMS!????
I mean i do the ./configure, make, make install, make clean commands but... erm, it dont work bros! And once intalled, how do i get my progs going?
Is a restart needed for registry update in Linux?
HeLp! !! :eek:
Fett101:
Mandrake 9.1. They actually made it some much easier. Go download a rpm package and double click it.
Lennon:
Yeah i can handle RPM but i get tar.bz or tar.gz sometimes.
It tells me i need to compile it. I get a bunch of .cpp .h files and so on, so i'm pretty sure i need to compile it.
And anyway, once i install the RPM packages, how do i start the program up ?
Anyone who could answer?
[ April 07, 2003: Message edited by: Lennon ]
emh:
If you install a program via RPM, just pull up kpackage (look in your menu, under Configuration, then Packaging), look up the package you just installed, (just go to "file" - "find package". You don't have to know the full name of the package, just the main idea is fine). Click on the "File List" tab on the right hand side, where the description of the package is. Look for "/usr/bin/*filename* or "/usr/local/bin/*filename*. Whatever it says in one of those directories, that's the command you type to run the program. You don't have to switch to the directory to run it, just simply pull up a terminal and type the name of the program.
The above procedure isn't as complicated as I made it sound. It's really pretty straightforward. To make a desktop icon in KDE, just simply right click anywhere on the desktop. On the menu that pops up, select "Create New...", then "link to application". From there, you can create a desktop icon for an application. Say you just installed GAIM from an rpm. They put an executable script in the directory /usr/bin, so you don't have to specify any directory when making your desktop icon. You can just simply put "gaim" in on the execute tab, where it says "command".
That was probably more info than you really needed, but I hope it's helpful.
As for programs installed from source, the vast majority of the time, when "make install" is run, it places an executable with the same name as the tar.gz package in a "bin" directory (i.e. usr/bin, usr/local/bin, etc). So just simply typing the name of the program should get it running. For example, let's say you compiled and installed a program called mplayer-0.9.0.tar.gz. When you run "make install", it places an executable called "mplayer" in your usr/bin or /usr/local/bin directory. Therefore, simply typing "mplayer" at the command line, regardless of what directory you're in, will start up mplayer.
Occasionally, programs don't put executables in any "bin" directories. But in this case, they usually tell you where they installed to.
And let me re-assure you, this is much easier than I'm making it sound. Sorry about that..... ;)
THE SHORT VERSION OF THE ABOVE MESSAGE....
Say you installed mplayer-0.9.0rc2.rpm or you installed mplayer-0.9.0rc2.tar.gz. In both cases, just simply typing "mplayer" at the command line will launch the application, regardless of what directory you're currently in at the terminal. The same applies to making desktop icons.
Another example:
mozilla-1.3b-i686-sea-tar.gz or mozilla-1.3b-i686-sea.rpm. In both cases, after installing the program, simply typing "mozilla" will start it.
Hopefully, this clears things up for you. Hopefully, I didn't cause you to run from your computer screaming....
:D
[ April 07, 2003: Message edited by: emh ]
emh:
And I took a second look at your message, and it seems you're having a bit of trouble compiling from source. Usually, that happens when the compiler is looking for something and can't find it. The configure script should tell you if it needed something. Where exactly does your compiling from source fail? Do you get errors in configure, or make?
Oh, another thing, when typing "make install", be sure you are logged in as root before typing that command.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version