LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-13-2005, 05:29 PM   #1
Maligogo90
Member
 
Registered: May 2005
Distribution: SuSE 10
Posts: 55

Rep: Reputation: 15
Installing from source


How do you install programs, say Firefox, from source on 9.3?
 
Old 05-13-2005, 05:35 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You need to have the compiler and dependencies installed. It can be easy or difficult, depending of your skills and program that you want to compile. Firefox can be tough... start with something like aterm . Here is a link that tells you how to install from source:

http://www.linuxquestions.org/questi...threadid=45094

Usually, few steps are required:

1 - Uncompress the file
2 - run "./configure"
3 - run "make && make install"

This, however, is not always true. Some applications simply create an executable by running make, others, as mplayer, needs extra parameters to compile with gui support, etc. Read the docs/README file of every applications you are willing to compile FIRST. If you can find a package for your distro, don't botter compiling either, unless, of course, you want to learn how to do it.

I've noticed also that a few applications (again, mplayer) gives a better performance when compiled from source then the binaries. Most of the others applications, however, are not as noticeable.

Regards!

Last edited by Mega Man X; 05-13-2005 at 05:36 PM.
 
Old 05-13-2005, 06:50 PM   #3
Maligogo90
Member
 
Registered: May 2005
Distribution: SuSE 10
Posts: 55

Original Poster
Rep: Reputation: 15
Ok, say I want to install this: http://www.f-prot.com/download/home_...d_fplinux.html

I save the files to the tar.gz file to the home directory, extract it, then open terminal from the extracted folder. Then I type "./configure" and then afterwards "make". Then I type in "su", type in the root password, and type in "make install". Is that right?
 
Old 05-13-2005, 07:55 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Yup, that's the "default" way . However, you should read this first:

http://www.f-prot.com/support/helpfi.../inst_pro.html
 
Old 05-13-2005, 08:08 PM   #5
Maligogo90
Member
 
Registered: May 2005
Distribution: SuSE 10
Posts: 55

Original Poster
Rep: Reputation: 15
"F-Prot Antivirus tarballs now come with an installation script called install-f-prot.pl. It can be found in the directory created when extracting the tarballs. If you choose to use this script, you can skip the next step titled "Installing manually." To run the script, change to the f-prot/ directory and execute it:

tar xvfz /path/to/fp-linux-ws-VERSION.tar.gz
cd f-prot/
./install-f-prot.pl


Follow the instructions printed to the screen."

I'm sorry, but I don't understand what it's asking me to do with the commands in bold. Could you clarify for me?


Also, can I use the default way to install most other program from source?
 
Old 05-13-2005, 09:18 PM   #6
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Sure

First you will download the file you want. Let's say it's called "fp-linux-ws-VERSION.tar.gz". Then, go to the folder where you've downloaded that file using a terminal.

When you are at the same folder, type:

tar xvzf fp-linux-ws-VERSION.tar.gz

That will uncompress your file into a folder called "f-prot/". Go inside that folder, then type:

./install-f-prot.pl

That should run the installer for it. I've two advices though:

1 - Since you are using SuSE, a rpm based distro, it's just easier to use the .rpm instead.

2 - It's Linux, you not really need an anti-virus, ever. Just never be fooling around as root user .
 
Old 05-13-2005, 09:21 PM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally posted by Maligogo90
Also, can I use the default way to install most other program from source?
That really, really depends. Usually, the "default" way works, but there are cases where it does not. This anti-virus is an example of the ones that doesn't. It will always be described on the Readme file how to compile, however. If there's no readme file, then the program is not worth installing. Any good programmer out there should make a Readme first thing
 
Old 05-13-2005, 10:51 PM   #8
Maligogo90
Member
 
Registered: May 2005
Distribution: SuSE 10
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks so much for your input. I'll just use an RPM to install Firefox 1.0.4. for SuSE 9.3 instead of doing all that complicated stuff, but at least I know how it's done

Oh, should I uninstall the previous version from YaST and then install the 1.0.4. version?
 
Old 05-13-2005, 11:35 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You're most welcome!. I would recommend uninstalling it first. If it was a heavly dependent library, I always upgrade. Packages as Firefox, I simply install a new one . Oh, I've one more advice: there's a way to configure YaST so every package will be downloaded from the net, ratter then switching CD's/DVD. If well configured, it'll be your Ultimate friend . Read this:

http://www.linuxquestions.org/questi...89#post1087289

A few peoples have added the pakman resource for SuSE. It has great packages on it as mplayer. Worth a look
 
Old 05-13-2005, 11:53 PM   #10
Maligogo90
Member
 
Registered: May 2005
Distribution: SuSE 10
Posts: 55

Original Poster
Rep: Reputation: 15
Ok, this is the server nearest me:

ftp://ftp-linux.cc.gatech.edu/pub/suse/suse/

How would I configure that into YaST?
 
Old 05-15-2005, 12:01 AM   #11
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Server Name:ftp-linux.cc.gatech.edu
Directory on Server:pub/suse/suse/i386/9.3/
 
Old 05-15-2005, 12:19 AM   #12
Maligogo90
Member
 
Registered: May 2005
Distribution: SuSE 10
Posts: 55

Original Poster
Rep: Reputation: 15
Doing that will automatically update all programs so I won't need to use the CDs anymore right?
 
Old 05-15-2005, 02:06 AM   #13
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Yup, and if you find some good repositories, you can easily add them in order to use packages not provided by SuSE, as mplayer, for example. You can always google for repositories. Packman is a great one. I'm not sure if this is the link:

http://packman.links2linux.org/

Good luck!
 
Old 05-15-2005, 09:46 AM   #14
Maligogo90
Member
 
Registered: May 2005
Distribution: SuSE 10
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks again for all your help!
 
Old 05-15-2005, 02:03 PM   #15
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You're welcome
 
  


Reply



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
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
Un-installing source webwolf70 Linux - Software 2 09-11-2004 10:14 PM
Installing everything from source SpeedDingo Linux - Newbie 1 05-17-2004 03:50 PM
Installing from source Mahoot Linux - Software 3 09-03-2003 02:50 AM
Installing from source? cclavey Linux - Software 6 03-29-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:34 PM.

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
Open Source Consulting | Domain Registration