UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
New to the Ubuntu seen and am trying to install OpenOffice 4.1 on Ubuntu 14.04. I first uninstall libreoffice (as I was having too many issues between it and Word), then downloaded the tar.gz file from here.
tar -xvfz Apache_OpenOffice_4.1.0_Linux_x86-64_install-deb_en-US.tar.gz
but I get the following error message:
Quote:
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
I can see the package in my home directory but I don't know why it won't open and install. I am still learning the ropes so please excuse me if I missed a step.
If it shows no such directory then there are two options. One is the file doesn't exist or you haven't entered the name of the file exactly as it is. The more likely possibility is that you ar running the command and have not changed to the proper directory in the terminal before doing so.
dave@LapTop:~$ dir
Apache_OpenOffice_4.1.0_Linux_x86-64_install-deb_en-US.tar.gz Music
Desktop Pictures
Documents Public
Downloads Templates
en-GB Videos
examples.desktop wget-log
dave@LapTop:~$ tar -xvfz Apache_OpenOffice_4.1.0_Linux_x86-64_install-deb_en-US.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
I did have LibreOffice, but found that the spell check was terrible and that converting documents to MSWord did not work. I've had better success with OpenOffice and that is why I wanted the new release. Guess I will just install 4.0 and wait until there are better instructions for OO.
Hi, I may have a simple solution for you by flipping around the arguments! I downloaded AOO and my results are below. The successful method is what I use to untar LibreOffice.
BTW, I am surprised you are experiencing problems with LO. FYI there is a thriving mailing list which may be able to help with these matters http://www.libreoffice.org/get-help/nabble/
Thanks timl, I might just reinstall LibreOffice and go from there. I tired what you suggested and got this:
Quote:
dave@LapTop:~$ tar -vxzf Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
tar (child): Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Once again when I look in my home dir, the tar.gz file is there, just won't open...
dave@LapTop:~$ ls /home/dave
Apache_OpenOffice_4.1.0_Linux_x86-64_install-deb_en-US.tar.gz Music
Desktop Pictures
Documents Public
Downloads Templates
en-GB Videos
examples.desktop
The tar.gz is there, but doesn't seem to want to open
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
To be more specific;
your command calls for
Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
The file listed in your directory is
Apache_OpenOffice_4.1.0_Linux_x86-64_install-deb_en-US.tar.gz
This means that
Code:
dave@LapTop:~$ tar -vxzf Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
tar (child): Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz: Cannot open: No such file or directory
is correct.
This looks like something I am really good at. Typos. Give them up if you can. They never work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.