LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   statically linked browser binary for linux (https://www.linuxquestions.org/questions/linux-software-2/statically-linked-browser-binary-for-linux-4175450674/)

nuliknol 02-18-2013 10:54 AM

statically linked browser binary for linux
 
Hi,
I need a statically linked binary executable of a Firefox or Chrome (or any other browser for X), latest version, or at least a version of year 2012. Does any one knows where can I download it? 32 bits architecture.

Will appreciate any suggestions.
Thanks

ButterflyMelissa 02-18-2013 10:58 AM

Umm, what do you mean by statically linked? If you mean directly executable without having to compile, then look no further: it's in your repo.
By the way, what distro are you using?
I found that a pre-compiled Firefox runs 'out of the box' so to speak, just pop it anywhere (where you've got yhe sys-rites, of course ;) ... ) and run it either by souble-clicking in the file manager or from the console:

Quote:

cd /where-you-put-the
./browser
the ./ is important, otherwise your system will try to run the default (via the PATH)...

Thor

John VV 02-18-2013 12:04 PM

what exactly are you trying to accomplish ?

nuliknol 02-18-2013 12:08 PM

Quote:

Originally Posted by Thor_2.0 (Post 4894469)
Umm, what do you mean by statically linked?

well, I mean, when you do 'ldd' to the binary you get no reference to any library, this means, the executable contains all the libraries, linked to itself at compile time.


For example, this is what you get when you 'ldd' a dynamic executable:
Code:

[niko@localhost bin]$ ldd ash
        libc.so.6 => /lib/tls/libc.so.6 (0x00bc9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00bb0000)

and this is what you get when you 'ldd' a static executable:
Code:

[niko@localhost bin]$ ldd ash.static
        not a dynamic executable
[niko@localhost bin]$

It doesn't matter what distro I am using, because statically linked executable will work directly with linux kernel and won't go through the library layer currently installed on the OS.

John VV 02-18-2013 01:56 PM

you want a monolithic blob

build firefox 18.0.2 from source and build a static version

nuliknol 02-18-2013 03:29 PM

Quote:

Originally Posted by John VV (Post 4894586)
you want a monolithic blob

build firefox 18.0.2 from source and build a static version

I don't have space and some libraries, I need already compiled executable.

John VV 02-18-2013 04:43 PM

so you do not have the 42 meg needed for the firefox download
22 meg DL
-- 32 bit -- USA English version
ftp://ftp.mozilla.org/pub/firefox/re...ux-i686/en-US/
and 42 meg installed
-- 64 bit - USA English version
ftp://ftp.mozilla.org/pub/firefox/re...-x86_64/en-US/

nuliknol 02-19-2013 08:19 AM

Quote:

Originally Posted by John VV (Post 4894671)
so you do not have the 42 meg needed for the firefox download
22 meg DL
-- 32 bit -- USA English version
ftp://ftp.mozilla.org/pub/firefox/re...ux-i686/en-US/
and 42 meg installed
-- 64 bit - USA English version
ftp://ftp.mozilla.org/pub/firefox/re...-x86_64/en-US/

that's sources only, compiling sources will require about 200MB, and I also miss required packages.

John VV 02-19-2013 11:21 AM

those two links are NOT source code
they are prebuilt binaries
everything but the plugins are in the one zip
there is no need for any extra *.so's

fayebryant00 02-19-2013 08:48 PM

great
 
nice thread. thanks for sharing that information. it was very informative.


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