LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to install firefox-3.5.3 in Slackware 12.2? (https://www.linuxquestions.org/questions/slackware-14/how-to-install-firefox-3-5-3-in-slackware-12-2-a-755560/)

cola 09-16-2009 04:28 AM

How to install firefox-3.5.3 in Slackware 12.2?
 
How to install firefox-3.5.3 in Slackware 12.2?

Daedra 09-16-2009 05:05 AM

You could try using the slackbuild for slackware64 13.0. Just change the arch to i486.

cola 09-16-2009 05:10 AM

Quote:

Originally Posted by Daedra (Post 3684819)
You could try using the slackbuild for slackware64 13.0. Just change the arch to i486.

Can you please mention the method in details?

phidelity 09-16-2009 05:30 AM

1. Download firefox-3.5.3.tar.bz2 from http://www.firefox.com
2. Delete the firefox folder from /usr/lib/
3. Extract firefox-3.5.3.tar.bz2 contents to /usr/lib/
4. Delete usr/bin/firefox
5. Run
Code:

ln -s /usr/lib/firefox/firefox /usr/bin/firefox

Daedra 09-16-2009 05:32 AM

1) Make a temporary directory for the files, for instance
mkdir /remove
chmod 777 /remove (makes R/W for all users)

2) download all the files from this site into the new directory
ftp://elektroni.phys.tut.fi/slackwar...zilla-firefox/

3) Edit the mozilla-firefox.SlackBuild with your favorite editor and change this line from ARCH=${ARCH:-x86_64} to this ARCH=${ARCH:-i486}

4) run "chmod +x mozilla-firefox.SlackBuild" then "./mozilla-firefox.SlackBuild"

5) Let the compiler do its work, when its finished upgrade your current package like this "upgradepkg /tmp/mozilla-firefox-3.5.3-i486-1.txz"

Daedra 09-16-2009 05:34 AM

Quote:

Originally Posted by phidelity (Post 3684836)
1. Download firefox-3.5.3.tar.bz2 from http://www.firefox.com
2. Delete the firefox folder from /usr/lib/
3. Extract firefox-3.5.3.tar.bz2 contents to /usr/lib/
4. Delete usr/bin/firefox
5. Run
Code:

ln -s /usr/lib/firefox/firefox /usr/bin/firefox

I would not advise doing this. your deleting files that are part of a package. Your better off building from source and upgradeing the package, this way it keeps your system clean.

~sHyLoCk~ 09-16-2009 05:43 AM

I just use slapt-get to upgrade my packages and firefox and seamonkey got upgraded a few days ago ;)

cola 09-16-2009 05:47 AM

Quote:

Originally Posted by Daedra (Post 3684840)
1) Make a temporary directory for the files, for instance
mkdir /remove
chmod 777 /remove (makes R/W for all users)

2) download all the files from this site into the new directory
ftp://elektroni.phys.tut.fi/slackwar...zilla-firefox/

3) Edit the mozilla-firefox.SlackBuild with your favorite editor and change this line from ARCH=${ARCH:-x86_64} to this ARCH=${ARCH:-i486}

4) run "chmod +x mozilla-firefox.SlackBuild" then "./mozilla-firefox.SlackBuild"

5) Let the compiler do its work, when its finished upgrade your current package like this "upgradepkg /tmp/mozilla-firefox-3.5.3-i486-1.txz"

It's slackware 12.2
Will it work?

vince4amy 09-16-2009 05:48 AM

Have you tried just downloading and extracting to /opt or /lib from the Mozilla website?

cola 09-16-2009 05:49 AM

Quote:

Originally Posted by ~sHyLoCk~ (Post 3684857)
I just use slapt-get to upgrade my packages and firefox and seamonkey got upgraded a few days ago ;)

Is it:
Code:

slapt-get --upgrade firefox

metrofox 09-16-2009 05:53 AM

You've to use the Pat's SlackBuild, download all the items here:

http://slackware.osuosl.org/slackwar...zilla-firefox/

Edit the slackbuild replacing:

Code:

ARCH=${ARCH:-x86_64}
with:

Code:

ARCH=${ARCH:-i686}
and the last string:

Code:

/sbin/makepkg -l y -c n $TMP/mozilla-firefox-$VERSION-$ARCH-$BUILD.txz
with:

Code:

/sbin/makepkg -l y -c n $TMP/mozilla-firefox-$VERSION-$ARCH-$BUILD.tgz
If you make a *.txz package your pkgtool won't be able to install it because it won't know the extension, so make the package in *.tgz and after install it ;)

metrofox 09-16-2009 05:54 AM

You've to use the Pat's SlackBuild, download all the items here:

http://slackware.osuosl.org/slackwar...zilla-firefox/

Edit the slackbuild replacing:

Code:

/sbin/makepkg -l y -c n $TMP/mozilla-firefox-$VERSION-$ARCH-$BUILD.txz
with:

Code:

/sbin/makepkg -l y -c n $TMP/mozilla-firefox-$VERSION-$ARCH-$BUILD.tgz
If you make a *.txz package your pkgtools won't be able to manage it because it won't know the extension, so make the package in *.tgz

Once done to edit the slackbuild:

Code:

chmod +x mozilla-firefox.SlackBuild
./mozilla-firefox.SlackBuild

This won't require long time ;)

~sHyLoCk~ 09-16-2009 06:02 AM

Quote:

Originally Posted by cola (Post 3684864)
Is it:
Code:

slapt-get --upgrade firefox

Just do
Code:

slapt-get -u && slapt-get --upgrade

cola 09-16-2009 06:10 AM

Quote:

Originally Posted by ~sHyLoCk~ (Post 3684882)
Just do
Code:

slapt-get -u && slapt-get --upgrade

How to upgrade a particular package/firefox?

cola 09-16-2009 07:50 AM

Quote:

Originally Posted by Daedra (Post 3684840)
1) Make a temporary directory for the files, for instance
mkdir /remove
chmod 777 /remove (makes R/W for all users)

2) download all the files from this site into the new directory
ftp://elektroni.phys.tut.fi/slackwar...zilla-firefox/

3) Edit the mozilla-firefox.SlackBuild with your favorite editor and change this line from ARCH=${ARCH:-x86_64} to this ARCH=${ARCH:-i486}

4) run "chmod +x mozilla-firefox.SlackBuild" then "./mozilla-firefox.SlackBuild"

5) Let the compiler do its work, when its finished upgrade your current package like this "upgradepkg /tmp/mozilla-firefox-3.5.3-i486-1.txz"

Thank you.
Installed successfully.


All times are GMT -5. The time now is 10:22 AM.