LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   HOWTO Install Latest Firefox and Libreoffice in Debian Squeeze (http://www.linuxquestions.org/questions/debian-26/howto-install-latest-firefox-and-libreoffice-in-debian-squeeze-870787/)

m_yates 03-24-2011 02:50 PM

HOWTO Install Latest Firefox and Libreoffice in Debian Squeeze
 
For my desktop use, I wanted to keep my office suite and web browser updated while continuing to run Debian stable as my base. Here is how to install the latest Firefox and Libreoffice packages on Squeeze.

Download Firefox 4 here. Then as root:
Code:

mv firefox*.tar.bz2 /opt
cd /opt
tar -xvjf firefox*.tar.bz2
ln -s /opt/firefox /usr/local/firefox4
ln -s /usr/local/firefox4/firefox /usr/local/bin/firefox4
rm firefox*.tar.bz2

Firefox 4 can now be run as normal user with command "firefox4". or "/usr/local/bin/firefox4". In Gnome, you can add Firefox to the application menu by:

1. right click Applications menu
2. select "edit menus"
3. click on "Internet"
4. select "new item": Type: Application, Name: Firefox, Command: /usr/local/bin/firefox4
5. To add the Firefox icon in the menu, it is located in: /opt/firefox/icons/mozicon128.png

I just tested it, and it works well, including my plugins and bookmarks from Iceweasel.


Download Libreoffice here. Choose the deb version, then:
Code:

tar -xzf LibO_3*.tar.gz
cd LibO_3*/DEBS/
su
dpkg -i *.deb
cd desktop-integration
dpkg -i *.deb

It will install Libreoffice in /opt and the packages will show up in Synaptic Package Manager under "Local". The installation automatically creates menu entries in Gnome for Libreoffice applications.

I've had no problems thus far using the latest Libreoffice 3.2.2 and Firefox 4. Hope this is helpful for anyone else wanting to install.

craigevil 03-24-2011 10:17 PM

download firefox, extract, create a new profile by opening iceweasel -profilemanager, create desktop shortcut. Uses all of the iceweasel plugins, and autoupdates.

Use smxi to install LibreOffice.

jens 03-25-2011 07:56 AM

Iceweasel 4
 
... or "apt-get" it from here: http://mozilla.debian.net/

Code:

deb http://mozilla.debian.net/ squeeze-backports iceweasel-4.0

almatic 03-25-2011 08:22 AM

I have only one problem with the original firefox (any version). The "mailto" links will not work with evolution. Works fine with iceweasel and any other browser. Also other mail-programs do work from (original) firefox, but evolution does not.

m_yates 03-25-2011 08:33 AM

Quote:

Originally Posted by jens (Post 4302892)
... or "apt-get" it from here: http://mozilla.debian.net/

Code:

deb http://mozilla.debian.net/ squeeze-backports iceweasel-4.0


Thanks. I didn't know that. Hopefully Libreoffice will make it to the official backports of Debian too.

jens 03-25-2011 08:43 AM

Quote:

Originally Posted by m_yates (Post 4302933)
Thanks. I didn't know that. Hopefully Libreoffice will make it to the official backports of Debian too.

It's from the Debian Mozilla team (Mike Hommey's packages), not backports.debian.org
Mike Hommey is the "even_more_official" debian maintainer ;)

craigevil 03-25-2011 06:05 PM

apt-cache policy iceweasel
iceweasel:
Installed: 4.0-2
Candidate: 4.0-2
Version table:
*** 4.0-2 0
1 http://mirrors.kernel.org/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
4.0~rc1-1 0
500 http://mozilla.debian.net/ experimental/iceweasel-4.0 i386 Packages
3.5.18-1 0
500 http://mirrors.kernel.org/debian/ unstable/main i386 Packages

$ apt-cache policy libreoffice
libreoffice:
Installed: 1:3.3.2-1
Candidate: 1:3.3.2-1
Version table:
*** 1:3.3.2-1 0
500 http://mirrors.kernel.org/debian/ unstable/main i386 Packages
100 /var/lib/dpkg/status

the trooper 03-27-2011 10:16 AM

Quote:

create a new profile by opening iceweasel -profilemanager
Why do you need to do this?,and what do you name the new profile?.

brianL 03-27-2011 10:26 AM

I'm ashamed (not really :) ) to say I haven't done it "The Debian Way". I unpacked it to /usr/local, then made a link:
Code:

ln -s /usr/local/firefox/firefox /usr/local/bin/firefox4
Then created a launcher.
Will I be excommunicated & defrocked? :eek: :)

craigevil 03-28-2011 05:46 PM

Quote:

Originally Posted by the trooper (Post 4305177)
Why do you need to do this?,and what do you name the new profile?.

Only need to do it if you are also using Iceweasel, keeps you from having problems if the versions are different. I also keep a clean profile with no extensions or themes to test if I have issues on my normal profile.
Name it whatever, mine are named firefox and testing, along with the default iceweasel profile.

the trooper 03-29-2011 10:02 AM

Ok,thanks for the feedback craigevil.

cynwulf 03-30-2011 08:34 AM

Quote:

Originally Posted by brianL (Post 4305186)
I unpacked it to /usr/local, then made a link:
Code:

ln -s /usr/local/firefox/firefox /usr/local/bin/firefox4
Then created a launcher.

If you're going to do that it's good practice to put it in /opt rather than /usr/local

brianL 03-30-2011 09:17 AM

Quote:

Originally Posted by Caravel (Post 4308467)
If you're going to do that it's good practice to put it in /opt rather than /usr/local

Yeah, I realised that shortly after (act first - think later, one of my bad habits :) ). I deleted it from /usr/local, and put it in /opt, as soon as my brain got out of stand-by. :)

malayo 04-01-2011 10:30 PM

me, i get libreoffice and iceweasel from
Code:

deb http://mozilla.debian.net/ squeeze-backports iceweasel-4.0
deb http://download.tuxfamily.org/gericom/libreoffice / #gericom@hummer

sometime ago i got Firefox from LMDE repo but it does not provide the latest Firefox
Code:

deb http://packages.linuxmint.com/ debian main upstream import

craigevil 04-01-2011 10:56 PM

Install Firefox 4 on Linux Mint Debian Edition (LMDE) | Yet Another Linux Blog : http://linux-blog.org/install-firefo...-edition-lmde/


All times are GMT -5. The time now is 11:45 AM.