LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2003, 01:23 PM   #1
the13th_ox
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Question Wtf?!?!?!?!?!?!


alright. just got suse linux 9.0 professional. everything works fine EXCEPT it won't play video. i downloaded MPlayer 9.2 and went to install it, but was baffled by something in the readme file. ./configure make install commands like this. WTF is that?! what program do i enter that into? i gather it's something that should be intuitive due to the fact that everywhere i look it refers to these commands without telling what program you're in to begin with. what program uses these commands, how do i get it, install it, whatever i need to do? help me please!
 
Old 11-24-2003, 01:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
please use a useful thread title next time you post, thanks.

for help on installing software from rpm or source tar.gz's, please read the sticky thread at the top of the Linux - General forum, or one of a hundred starter guides you cn find from Google.
 
Old 11-24-2003, 01:56 PM   #3
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
you enter those commands in the shell. command line interface.

if you file is in your home directory:

blah.tar.gz will be the file....

#tar xvfz blah.tar.gz

that should unpack the source tree usually into a folder (directory) named blah

#cd blah
#./configure && make && make install

and you should be set. that configures the make file, compiles everything, then installs it. you could also do those 1 per line.

#./configure
#make
#make install

the && just allows u to add commands to run inorder, useful if the process will take a long time and u dont want to sit there and watch it (like for kernel compiles).

a to re-state: please use useful thread subjects in the future
 
Old 11-24-2003, 03:21 PM   #4
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 244

Rep: Reputation: 56
Mmmm, you sound like you're still working in the Windows mindset. In Windows, if you want to install a program you usually:

a) if it's free (and that's a _big_ "if") you can download it from their website, or by some other means.
b) if it costs money, you buy it, usually in an elaborate boxed set

either way, you usually have to obtain the software from its maker/vendor. While that can be done in the Linux world, most files that are found on the creator's website are the SOURCE CODE, usually in .tar.gz, or .tar.bz2 format (similar to .zip and .rar in windows.) From there, it must be "untarred" and you must execute a number of SHELL SCRIPTS to get the program to compile. "configure" is a common one -- the "./" works as follows -- "." means "current directory" and the "/" means "in the" -- so, "in the current directory, run configure." That script gets the program ready to be built EXACTLY ACCORDING TO THE WAY _YOUR_ COMPUTER HAS BEEN SET UP. It is for that reason many people prefer to compile programs. the "make" command then builds the source code into EXECUTABLE FILES that allow the data to be read in a format unerstandable by your computer. "make install" moves these executable files into a number of directories: a "lib" directory which contains important libraries used by the program (like .dlls in windows - they are NOT executed directly, but they are USED by programs that have been executed) , a "bin" directory, which contains executable files (files in this directory do NOT need to be executed by specifying the actual path, but they CAN be executed that way.) For example, to run the "bash" program, you can either type "/bin/bash" at a shell (such as "konsole," "xterm," "aterm," etc.) or you can JUST TYPE "bash" (because the 'bash' file is inside a bin directory)

However, all this is quite confusing, especially for newbies. That is why the PACKAGE was invented. Packages contain files that have already been compiled for you, and can be installed very easily. Unlike the source code, PACKAGES ARE USUALLY PROVIDED BY THE DISTRIBUTION YOU RUN. That is _the_ difference between windows and linux software. For example, if you want Macromedia Flash, you wouldn't obtain it from Microsoft, you'd obtain it from Macromedia. In linux, if you want mplayer, you _could_ get it from mplayerhq.org, but then it wouldn't be suited directly for your distribution. Instead, it would be better to get SuSE packages of mplayer. There are many ways these RPM FILES (Redhat Package Manager files -- many distros that are NOT red hat use this, such as SuSE) can be obtained. One popular way is to visit a site such as www.rpmseek.com or www.rpmfind.net. Search for mplayer, and make sure you get the SuSE RPMs. Unfortunately with SuSE, that is really the only viable method. Once you have that RPM, as always, there are many ways it can be installed. With SuSE, it should suffice to just click on the file in Konqueror. YaST will then start up, and it will aid you in the installation. Remember, packages are how you will install most applications. Very seldom will you use installers (like setup.exe's in windows). This means that every program you install (that you haven't compiled yourself) WILL BE INSTALLED IN THE SAME MANNER. Usually with SuSE RPMs, the RPM will create a link in your K menu. However, in the case of mplayer, it can also be executed by using the command "mplayer" in a terminal, or "gmplayer" which will launch a gui version.

Unfortunately, there's more. With SuSE and other distributions that don't use a very good advanced packaging tool (such as DEBIAN'S APT) you may have to occasionally deal with errors called DEPENDENCY ERRORS. This basically means that the package you're trying to install will not be available to be installed until another one is installed first. For example, if you found this great frontend to giFT, for example, called "Apollon" you may download the RPM for it. You try to install it, but YaST tells you that there has been a dependency error, and that giFT needs to be installed first. This may sound frustrating, but it makes perfect sense. If you were trying to make an omelette, and you had no eggs but only mushrooms, it wouldn't be much of an omelette, now, would it? Advanced Packaging tools (such as APT, YUM, etc.) actually hunt down dependency errors for you and resolve them 'automagically'
When you get more proficient with Linux you may want to manually set up APT-RPM for SuSE (albeit it'll not be as convenient as with DEBIAN or ARK LINUX or any other distribution that has apt set up as a staple.

Upgrading your system is a painless procedure in SuSE, however. You can simply do it from YaST. It is a rare finding these days, to see a distribution that does NOT provide tools for upgrading.

Anyway, I hope that helps... and I hope that long post didn't confuse you too much.
 
  


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
WTF does this mean? swipple Linux - Hardware 4 01-15-2005 02:39 AM
Wtf?! javaarmy Linux - General 2 11-04-2003 11:06 AM
Wtf?! Darkseid General 3 07-06-2003 03:40 PM
Wtf!!!!????? ironz Linux - Hardware 2 07-01-2003 07:06 PM
wtf is g++ Goatdemon Programming 10 07-01-2002 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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