You are not logged in.
I'm just new to crunchbang, seems it's not the default office programs for the system, how do i install latest libreoffice to #!, can anyone help me, install it the right way? 
Thanks ....
Last edited by ysaquerai (2011-07-12 21:51:24)
Offline
Just out of curiosity, did you go through the setup script "cb-welcome" when you first installed #!? If so, there should have been an option to install openoffice.org in the cb-welcome script.
If you didn't run "cb-welcome," just open a terminal and type:
cb-welcome
It'll walk you through what to do. I suggest this because it will also setup other things that you might want/need. If you don't want to run the cb-welcome script (and you're still using the stable repros), just open a terminal and type:
sudo apt-get install openoffice.org
If you're on the testing repros, type:
sudo apt-get install libreoffice
If you have the stable-backport repros enabled, type:
sudo apt-get install libreoffice/squeeze-backports
or
sudo apt-get install libreoffice/stable-backports
If you want to remove the lightweight office packages that came with #!, just run:
apt-get remove --purge abiword gnumeric
Hope that helps, and welcome to #!.
mikhou
Last edited by mikhou (2011-07-11 09:29:52)
Offline
i can recommend this procedure:
http://crunchbanglinux.org/forums/post/131281/#p131281
as it worked pretty well.
We are a nice, friendly community here and I hope we stay that way.
Offline
you guys are really helpful, yup i've gone through the cb-welcome thing, but i don't want open office, i just want libre office to be installed, thanks for the helpful input on how to install libreoffice
cheers mates ... 
Offline
I know this is marked as solved but you can install it pretty easily from the debian backports without jumping through hoops with other packages:
1) enable the debian backports:
$ sudo nano /etc/apt/sources.listUncomment the last line:
## DEBIAN BACKPORTS
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free2) !!IMPORTANT!! fix the pinning so you don't completely screw your system over pulling in every backport ever
$ sudo nano /etc/apt/preferenceschange the 100 to a 500 in the second block:
Package: *
Pin: release n=statler
Pin-Priority: 1001
Package: *
Pin: release n=squeeze
Pin-Priority: 5003) update your packages and install
sudo apt-get update
sudo apt-get -t squeeze-backports install libreofficeAnd that's it
You need the "-t squeeze-backports" so that apt-get will automatically pull in the required deps from backports as well.
Last edited by malachias (2011-10-25 06:21:08)
Offline
@malachias
Your instructions worked great, thanks 
change the 100 to a 500 in the second block:
Package: *
Pin: release n=statler
Pin-Priority: 1001Package: *
Pin: release n=squeeze
Pin-Priority: 500
Keep it so for package updates?
Cheers,
Cheers,
--
System: CB Statler 64b
----
Offline
Keep it so for package updates?
Cheers,
Yes.
Offline
@malachias, what does it mean to uncomment the last line? I don't have a clear understanding of what is going on.
Offline
@jhi
in sources.list [located @ /etc/apt/sources.list > open with sudo]
the line in question originally looks like this:
#deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-freeall you have to do to uncomment it is to remove the "#" to make it look like this:
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-freesave the file and you're done...
We are a nice, friendly community here and I hope we stay that way.
Offline
Ok, beadmaze, understood, thank you for your help. I will try to install later. 
Offline
Hey jhi
Not all the methods for installing libre office worked for me, but the one below did.
Libre Office in crunchbang
1. You need to add backports to your sources.list:
sudo gedit /etc/apt/sources.list
And paste in this line:
#SQUEEZE-BACKPORTS
deb http://backports.debian.org/debian-backports squeeze-backports main
2. Update apt with:
sudo apt-get update
3. Then install Libre Office with:
apt-get -t squeeze-backports install libreoffice
4. in a terminal type sudo gedit
then paste in this code, without *
***************************************************************************
#!/bin/bash
# ---------------------------------------------------------------------
# An Openbox pipemenu for use with Libreoffice.org/ and CrunchBang Linux.
# Written for CrunchBang Linux <http://crunchbanglinux.org/>
# by Philip Newborough (aka corenominal) <mail@philipnewborough.co.uk>
# modified by Grant Galbraith (aka omns) <omns@omnsproject.org>
# ---------------------------------------------------------------------
# Set flag
INSTALLED=false
if [ "$1" = "--install" ]; then
terminator --command="cb-libreoffice.org-pipemenu --install-libre"
exit 0
fi
if [ "$1" = "--install-libre" ]; then
clear
echo ""
echo " INSTALL LIBREOFFICE.ORG"
echo " ----------------------"
echo " This script will install libreoffice.org."
echo ""
echo -n " Run the installer now? (Y|n) > "
read a
if [ "$a" = "y" ] || [ "$a" = "Y" ] || \
[ "$a" = "" ]; then
# Checking internet connection...
clear
echo " Checking internet connection..."
sleep 2s
echo ""
IS=`/bin/ping -c 1 ftp.de.debian.org | grep -c "64 bytes"`
if [ "$IS" -lt "1" ]; then
until [ "$CONT" != "" ]; do
echo ""
IS=`/bin/ping -c 1 ftp.de.debian.org | grep -c "64 bytes"`
if [ "$IS" -lt "1" ]; then
clear
echo " Internet connection test failed!"
echo ""
echo " This script requires a working internet connection. Please configure"
echo " your internet connection, then hit any key to continue, else hit \"q\""
echo " to quit."
read -n1 a
if [ "$a" = "q" ]; then
clear
echo "Script aborted."
sleep 3s
exit 0
fi
else
CONT="pass"
fi
done
fi
clear
echo " Internet connection test passed..."
sleep 2s
echo " Updating sources..."
sleep 2s
sudo apt-get update
clear
if ! sudo apt-get install -y libreoffice libreoffice-gtk; then
clear
echo ""
echo " There was a problem installing LibreOffice.org."
echo ""
echo " Hit any key to try again, or \"q\" to quit..."
read -n1 a
if [ "$a" = "q" ] || [ "$a" = "Q" ]; then
clear
exit 0
else
cb-libreoffice.org-pipemenu --install-libre
exit 0
fi
else
clear
echo ""
echo " LibreOffice.org has been installed successfully."
echo ""
echo " Hit any key to exit..."
read -n1 a
exit 0
fi
else
exit 0
fi
fi
# Start pipemenu
echo " <openbox_pipe_menu>"
# Writer
if [ -x "/usr/bin/lowriter" ];then
INSTALLED=true
cat << _lowriter_
<item label="Writer">
<action name="Execute">
<execute>
/usr/bin/lowriter
</execute>
</action>
</item>
_lowriter_
fi
# Formula
if [ -x "/usr/bin/localc" ];then
INSTALLED=true
cat << _localc_
<item label="Calc">
<action name="Execute">
<execute>
/usr/bin/localc
</execute>
</action>
</item>
_localc_
fi
# Impress
if [ -x "//usr/bin/loimpress" ];then
INSTALLED=true
cat << _loimpress_
<item label="Impress">
<action name="Execute">
<execute>
/usr/bin/loimpress
</execute>
</action>
</item>
_loimpress_
fi
# Draw
if [ -x "//usr/bin/lodraw" ];then
INSTALLED=true
cat << _lodraw_
<item label="Draw">
<action name="Execute">
<execute>
/usr/bin/lodraw
</execute>
</action>
</item>
_lodraw_
fi
# Math
if [ -x "/usr/bin/lomath" ];then
INSTALLED=true
cat << _lomath_
<item label="Math">
<action name="Execute">
<execute>
/usr/bin/lomath
</execute>
</action>
</item>
_lomath_
fi
# SQL
if [ -x "/usr/bin/lobase" ];then
INSTALLED=true
cat << _loquery_
<item label="SQL">
<action name="Execute">
<execute>
/usr/bin/lobase
</execute>
</action>
</item>
_loquery_
fi
# Base
if [ -x "/usr/bin/libreoffice" ];then
INSTALLED=true
cat << _lobase_
<item label="Base">
<action name="Execute">
<execute>
libreoffice
</execute>
</action>
</item>
_lobase_
fi
if [ $INSTALLED = false ]; then
cat << _loinstall_
<item label="Install LibreOffice.org">
<action name="Execute">
<execute>
cb-libreoffice.org-pipemenu --install
</execute>
</action>
</item>
_loinstall_
fi
# End pipemenu
echo " </openbox_pipe_menu>"
exit 0
***************************************************************************
5. Now save this file to /usr/bin - Name this file cb-libreoffice.org-pipemenu, close edit
6. Open the Menu editor GUI, in the 'Office' section, edit the entry for open office, by changing the title to libreoffice, and the pipemenu.
Offline
^ As stated in post #3 and http://crunchbanglinux.org/forums/post/130075/#p130075
Offline
I didnt read all the posts, and i simply pasted my entire document -_-
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.