LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2015, 03:18 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Rep: Reputation: 136Reputation: 136
Don't know how to install Libre Office from a deb folder.


Okay. I got a newer computer to replace one of my two computers. A friend helped me install Xubuntu 14.10. So now I'm trying to get all the software I had on the old one.

In my writing, I write on a laptop. So I have LO 4.2.3.3 on it. So I put 4.2.3.3 on the other two computers, figuring it would be best to have the same versions on all three machines.

Now I have the folder for LO 4.2.3.3 (see screenshot) but don't know how to install it on the newer computer. I have GDebi Package Installer but that only wants to install files. (Unless I open the Debs folder and do 'select all files" and "open" them with the GDebi installer.)

I went to the LO site and they don't offer 4.2.3.3 any more.

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	Selection_001.png
Views:	13
Size:	9.1 KB
ID:	18050  
 
Old 04-08-2015, 03:42 PM   #2
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 617

Rep: Reputation: 142Reputation: 142
Hi,

I would skip down to the command line and the directory on which this file is stored, then (sorry I can't see the full file name while I am typing so I'll let you put the correct details where I have put ???)
  • tar -zxvf Libreoffice-???.zip
  • cd Libreoffice-???/deb
  • sudo apt-get install *.deb
Done.

FYI LO have moved onto a "fresh" version of 4.4 and a "still" version of 4.3 so you can upgrade to either of those. If you are more comfortable with an older version (a lot of people like to settle on a favourite version and stick with that) here are the archives:

http://downloadarchive.documentfound...breoffice/old/

Cheers
 
1 members found this post helpful.
Old 04-08-2015, 03:45 PM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18 MATE, antiX-16.1, MX-16
Posts: 2,097
Blog Entries: 9

Rep: Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756
Gregg Bell,

Don't get too hung up about the LO differences. They will be marginal.

In Terminal:

Code:
sudo apt-get install libreoffice
Other software which you may like to add to Xubuntu:

http://www.binarytides.com/better-xubuntu-14-04/
 
1 members found this post helpful.
Old 04-08-2015, 06:26 PM   #4
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by timl View Post
Hi,

I would skip down to the command line and the directory on which this file is stored, then (sorry I can't see the full file name while I am typing so I'll let you put the correct details where I have put ???)
  • tar -zxvf Libreoffice-???.zip
  • cd Libreoffice-???/deb
  • sudo apt-get install *.deb
Done.

FYI LO have moved onto a "fresh" version of 4.4 and a "still" version of 4.3 so you can upgrade to either of those. If you are more comfortable with an older version (a lot of people like to settle on a favourite version and stick with that) here are the archives:

http://downloadarchive.documentfound...breoffice/old/

Cheers
Thanks timl. I was a little confused as to whether that hyphen should be there on the end. tar -zxvf Libreoffice-

Anyway I did it without the hyphen and didn't have any luck. (See screenshot 005.)

Then I tried it with the hyphen and still no luck. (see screenshot 006)
Attached Thumbnails
Click image for larger version

Name:	Selection_005.png
Views:	12
Size:	18.2 KB
ID:	18051   Click image for larger version

Name:	Selection_006.png
Views:	8
Size:	20.0 KB
ID:	18052  
 
Old 04-08-2015, 06:29 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by beachboy2 View Post
Gregg Bell,

Don't get too hung up about the LO differences. They will be marginal.

In Terminal:

Code:
sudo apt-get install libreoffice
Other software which you may like to add to Xubuntu:

http://www.binarytides.com/better-xubuntu-14-04/
Thanks beachboy. Yeah, I've been told that before but the perfectionist in me won't let go of it, I guess. Esp. since there seemed to be a way. (via timl's post)

I'll wait a while to see if I hear back from somebody and then if I don't I'll just install the latest version.

Thanks for the great link!
 
Old 04-08-2015, 06:45 PM   #6
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 617

Rep: Reputation: 142Reputation: 142
Hi, it looks like the file is already unzipped.

If you:

Quote:
ls Libreoffice-4.2.3.3_Linux_x86_deb
I think you will see a folder titled either "DEB" or "deb". Navigate to that folder and then issue the apt-get command:

Quote:
sudo apt-get install *.deb
Another handy hint: rather than attaching screen shots you can simply copy the text from your terminal and use the "quote" icon on the toolbar above the message. This shows whatever you have pasted and makes it easier for a respondent to cut 'n' paste in a reply
 
1 members found this post helpful.
Old 04-08-2015, 08:21 PM   #7
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by timl View Post
Hi, it looks like the file is already unzipped.

If you:



I think you will see a folder titled either "DEB" or "deb". Navigate to that folder and then issue the apt-get command:



Another handy hint: rather than attaching screen shots you can simply copy the text from your terminal and use the "quote" icon on the toolbar above the message. This shows whatever you have pasted and makes it easier for a respondent to cut 'n' paste in a reply

Thanks timl. Still couldn't get it to work, though.

Quote:
gregg@LG:~/Desktop$ ls
LibreOffice_4.2.3.3_Linux_x86_deb
gregg@LG:~/Desktop$ sudo apt-get install LibreOffice_4.2.3.3_Linux_x86_deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package LibreOffice_4.2.3.3_Linux_x86_deb
E: Couldn't find any package by regex 'LibreOffice_4.2.3.3_Linux_x86_deb'
I don't get why it's not finding it--maybe because it's a folder and not a file on the Desktop.
 
Old 04-08-2015, 08:37 PM   #8
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 617

Rep: Reputation: 142Reputation: 142
you are correct. It is a folder in the desktop:

Quote:
cd LibreOffice_4.2.3.3_Linux_x86_deb/DEB
sudo apt-get install *.deb
or

Quote:
cd LibreOffice_4.2.3.3_Linux_x86_deb/deb
sudo apt-get install *.deb
not sure whether the deb folder is capitalised or not

Cheers
 
1 members found this post helpful.
Old 04-08-2015, 08:42 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,268
Blog Entries: 16

Rep: Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125Reputation: 3125
I like to have gdebi installed on Debian-based distros. I can then right-click on a *.deb file in the file manager and select "Install with gdebi" from the right-click menu.

Last edited by frankbell; 04-08-2015 at 08:43 PM.
 
1 members found this post helpful.
Old 04-08-2015, 11:11 PM   #10
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18 MATE, antiX-16.1, MX-16
Posts: 2,097
Blog Entries: 9

Rep: Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756
Gregg Bell,

frankbell's suggestion to use Gdebi is a good one.

It is one of several useful tools missing from the “out of the box” Xubuntu 14.04.

Xubuntu “after installation”:

https://sites.google.com/site/easyli.../first-xubuntu

Install some useful tools

1.4. There are some important applications for managing your system, that aren't installed by default: Leafpad, gksu, GDebi, Synaptic and inxi.

Synaptic and GDebi are useful installation tools, which sometimes are more useful than the default Software Center.

Leafpad is a fine text editor for editing configuration files.

gksu enables you to use Leafpad and other graphical tools safely as root.

inxi can be used for generating a hardware list in the terminal.

Usage: first make the terminal fullscreen, in order to avoid chopped lines in the output. Then in the terminal: inxi -Fx (note that the F is a capital letter).

Install them by means of Software Center or by the terminal, which is much quicker:

Menu button - Accessories - Terminal Emulator

Type (use copy/paste):

Code:
sudo apt-get install gksu leafpad synaptic gdebi inxi
 
1 members found this post helpful.
Old 04-09-2015, 12:35 AM   #11
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by timl View Post
you are correct. It is a folder in the desktop:


or



not sure whether the deb folder is capitalised or not

Cheers
Thanks timl. I tried it. No luck again. Was a little confused if I should have a deb/deb ending. Here's the results:

Quote:
gregg@LG:~/Desktop$ ls
LibreOffice_4.2.3.3_Linux_x86_deb
gregg@LG:~/Desktop$ cd LibreOffice_4.2.3.3_Linux_x86_deb
gregg@LG:~/Desktop/LibreOffice_4.2.3.3_Linux_x86_deb$ sudo apt-get install LibreOffice_4.2.3.3_Linux_x86_deb
[sudo] password for gregg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package LibreOffice_4.2.3.3_Linux_x86_deb
E: Couldn't find any package by regex 'LibreOffice_4.2.3.3_Linux_x86_deb'
gregg@LG:~/Desktop/LibreOffice_4.2.3.3_Linux_x86_deb$
 
Old 04-09-2015, 12:36 AM   #12
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by frankbell View Post
I like to have gdebi installed on Debian-based distros. I can then right-click on a *.deb file in the file manager and select "Install with gdebi" from the right-click menu.
Hi Frank. I have gdebi installer but it doesn't work on folders (I wish it did). I could open the 'debs' folder, 'select all' and open it that way. But is that the way to go?
 
Old 04-09-2015, 12:50 AM   #13
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by beachboy2 View Post
Gregg Bell,

frankbell's suggestion to use Gdebi is a good one.

It is one of several useful tools missing from the “out of the box” Xubuntu 14.04.

Xubuntu “after installation”:

https://sites.google.com/site/easyli.../first-xubuntu

Install some useful tools

1.4. There are some important applications for managing your system, that aren't installed by default: Leafpad, gksu, GDebi, Synaptic and inxi.

Synaptic and GDebi are useful installation tools, which sometimes are more useful than the default Software Center.

Leafpad is a fine text editor for editing configuration files.

gksu enables you to use Leafpad and other graphical tools safely as root.

inxi can be used for generating a hardware list in the terminal.

Usage: first make the terminal fullscreen, in order to avoid chopped lines in the output. Then in the terminal: inxi -Fx (note that the F is a capital letter).

Install them by means of Software Center or by the terminal, which is much quicker:

Menu button - Accessories - Terminal Emulator

Type (use copy/paste):

Code:
sudo apt-get install gksu leafpad synaptic gdebi inxi
Thanks beachboy for the great link! But do I really need to do all those things (increase the swap rate, activate the firewall etc etc)?
 
Old 04-09-2015, 09:19 AM   #14
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,350
Blog Entries: 11

Rep: Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327
FWIW: I usually only have to double click and install the first .deb using gdebi installer.
 
1 members found this post helpful.
Old 04-09-2015, 09:56 AM   #15
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 279Reputation: 279Reputation: 279
Find the original .deb file you downloaded, NOT the expanded folder. You need the original .deb. Navigate to the folder where that .deb file is. Use dpkg for installing it. dpkg -i filename.deb, replacing filename with the actual name of the file. Easier, after typing the first few letters of the filename, press Tab and autocompletion should put the full filename on the terminal line, and you can then just press enter. Apt-get will not install local files, that's not what it's for. Gdebi can do it, but it's just a GUI frontend for dpkg, and isn't designed to be run from the command line.
 
1 members found this post helpful.
  


Reply

Tags
install, libreoffice


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unoconv Convertor for RHEL 6 : Libre office & open office utility vishwajeet jagtap Linux - Software 0 02-15-2013 09:44 AM
install libre office on centos 6.2 using yum fudmier Linux - Newbie 11 02-12-2013 11:41 PM
install libre office mposwal Slackware 12 11-03-2011 07:34 PM
LXer: Libre Office Initial plans for the free office suite [German] LXer Syndicated Linux News 2 11-14-2010 05:14 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration