Hi Tracey2031
I’ve installed + updated LO under Debian but previously have used CentOS extensively on an Internet Server. You can certainly install without an internet connection but–BE WARNED!–all OS these days expect to be connected to the Internet. This is particularly true of CentOS as it expects to be on an Internet-connected server. Be warned also that CentOS expects you to NOT use a GUI. You probably want to install Debian if you expect to use Office. Nevertheless, I will advise you in installing under CentOS. It will fail, since it will want to install a hundred other things…
CentOS uses yum to install & update, so the first thing is to download a .rpm from LibreOffice. Here it is step-by-step:
- Download the RPM from LibreOffice
Currently that is v4.4.4.3 (Change language or if x64 on main page):-
http://download.documentfoundation.org/libreoffice/stable/4.4.4/rpm/x86/LibreOffice_4.4.4_Linux_x86_rpm.tar.gz
- Place the .rpm.tar.gz somewhere memorable. This is a RPM file stored as a TAR file & zipped up as a gzip file.
- Open your terminal & navigate to the directory with the gzip file.
- Issue the command as root:
$ su
Password:
# tar -xzvf LibreOffice_4.4.4_Linux_x86_rpm.tar.gz
- (that drops the RPM file into (probably) the same directory)
- check for the name of the RPM file
# ls -al
- Now issue the command, again as root:
# yum install /path/to/LibreOffice_4.4.4_Linux_x86_rpm
The value of yum is that it will check LibreOffice’s dependencies and, if necessary, will install everything that LibreOffice needs to work on your system (under Debian APT is used to perform the same job). It does this by connecting via the Internet to a CentOS repository other RPM files.
If this helps then please tick the answer ().