Untarring this file Apache_OpenOffice_4.1.7_Linux_x86-64_install-rpm_en-Gb.tar.gz

Nik-Ken-Bah

Member
[email protected]:~$ tar -zxvpf Apache_OpenOffice_4.1.7_Linux_x86-64_install-rpm_en-Gb.tar.gz
tar (child): Apache_OpenOffice_4.1.7_Linux_x86-64_install-rpm_en-Gb.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

Tried untarring The above file and that is what it returned

Did I enter the correct format or what did I leave out
I copied the file from my external HD to desktop before trying to extracting it so I can install it.

Also in the fourth line what does "Status 2" defining?
 


dos2unix

Active Member
If you type "ls" do you see this file in the directory you are in?

You either have to type in the full path to the file, or the file has to be in the directory you are running the command in.
 

poorguy

Well-Known Member
Hello Nik-Ken-Bah

I don't use tar files however this may help.

 

Nik-Ken-Bah

Member
Thanks dos2unix
Thanks poorguy
Only trouble is that I copied a bit and pasted into a Open Office doc and now every time it recovers it crashes thanks to microsoft diddling with my computer.
 

Nik-Ken-Bah

Member
@dos2unix
[email protected]:~$ so after the $ sign I put in ls right?
{ but I know where the file is it is on my desk top}
As that is where I put things that I will be working on in some way and it saves me the hassle of remembering where I put it and also as a reminder that it needs to be done especially files like AOO.

Knowing that it is in desktop can I ls straight into desktop? If so what is the command for it?

If I seem to be like the Muddle Headed Wombat that is because I don't find working in terminal that intuitive for me. I have had this sort of confusion in my mind before when learning about feedback in a simple transistor circuit, took awhile but I finally cottoned onto its mechanism in the circuit.
 

dos2unix

Active Member
if you open up a terminal or console, type "pwd" for print working directory

@Rob on here has a pretty good tutorial on this.

 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Morning from Oz, all :)

I am a bit late for the party, but Ken, if you are on Linux Mint still, you have the wrong file, it contains the letters rpm - that is Redhat Package Management, and is for Redhat, Fedora, centOS and the like.

You want the Debian-based one, for Ubuntu, LInux Mint and the like.



SREENSHOT 1 - DOWNLOAD SITE OO

From the above site - https://www.openoffice.org/download/

... you can get the correct tar.

Before you install, you first need to completely remove Libre Office which is already installed, as it redirects to a link for a file soffice, also used by Open Office.

Removing Libre Office

Code:
sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove
ALSO before you install

I would get friendly with Timeshift, see my Thread here

https://www.linux.org/threads/timeshift-similar-solutions-safeguard-recover-your-linux.15241/

You already have Timeshift on your Mint, it will be under System Tools or Admin.

I have to go for an hour or two but back with more.

Wiz
 

Nik-Ken-Bah

Member
@wizardfromoz
Thank you.
Down loaded the correct file this time. And yes last night for me just before hitting the sack watched your vid on Timeshift very informative. Will do a back-up to get use to doing it.
But at the moment the OS I loaded is for me to get use to doing things and get more confidence in using the platform and debugging it. At the moment anything I do is saved to my external HD. Then I will reformat the HD and install a fresh installation of the OS. I am the same way when I have to operate a lathe, milling machine etc that I am unfamiliar with. I have to learn their limitations as well as their abilities.


@dos2unix
I inadvertently forgot to write down the pwd command and realised just after I shutdown and wrote it down as pmd but I did learn some thing though there are 22 other commands similar to it.

[email protected]:~$ pmd
Command 'pmd' not found, but there are 22 similar ones.

Went to ls --help
and read it
then tried this command ls -a and also ls --all
And this is what both returned.

[email protected]:~$ ls -a
. .bash_history .bashrc .cinnamon Desktop Documents .face .gimp-2.8 .gtkrc-2.0 .ICEauthority .local Music .profile .sudo_as_admin_successful .themes Videos .xinputrc .xsession-errors.old
.. .bash_logout .cache .config .dmrc Downloads .gconf .gnupg .gtkrc-xfce .icons .mozilla Pictures Public Templates .thumbnails .Xauthority .xsession-errors

Usage: ls [OPTION]... [FILE]...
What does it mean [OPTION] does this mean any of the letters with a dash or double dash or mixture thereof them?
I take it that [FILE] means the name of the file? correct or incorrect?
 

Nik-Ken-Bah

Member

Nik-Ken-Bah

Member
4444
Screenshot from 2019-10-06 09-35-40_1.jpeg
4445
Screenshot from 2019-10-06 09-35-40_2.jpeg
4446
Screenshot from 2019-10-06 09-35-40_1.jpeg
Screenshot from 2019-10-06 09-35-40_2.jpeg
Screenshot from 2019-10-06 09-35-40_3.jpeg
 

Nik-Ken-Bah

Member
I dunno what happened here it posted two copies of each screenshot. :oops::confused:

Mayhap it is the OS that I am running on to get on here MicroBloody#[email protected]%%&^&^$#&soft. Win7 the last decent OS they created. From all accounts win10 is pathetic and one of those accounts comes from a person that has made his lively hood from MS products and it even made him switch to Linux.
I have updates checked as never but they did override it and was installing updates anyway.
I have in the lower corner of the desktop this product is not genuine so they have put in a patch that causes the HD to act as though it is about ready to disembowel itself. As I have a back up image of when the OS was installed and restored to that then the HD behaved itself very well till "this product is not genuine" pops up and then it slowly goes back and misbehaves. 'Tis a pity that when MS produces a good OS it has more back doors than a mouse living in a wheel of Swiss cheese.
end of rant
 
Last edited:

atanere

Well-Known Member
Usage: ls [OPTION]... [FILE]...
What does it mean [OPTION] does this mean any of the letters with a dash or double dash or mixture thereof them?
I take it that [FILE] means the name of the file? correct or incorrect?
Yes, you can apply more than one option with the ls command. And it works on directories too, not just files. Some times you can mix together, like "command -a -b -c" would work the same as "command -abc". But I don't think the double-dash options will do this...they probably all need to be given in full, like "command --apple --orange --pear".


This is what I did today as you can see just hit a brick wall.
Why?
Because you need to capitalize Desktop, as you see it shown in your listing. Linux is case sensitive, except when you use the appropriate [OPTIONS] available on some commands. So Nik.jpg is not the same as nik.jpg or Nik.JPG... these could all be unique files in the same directory. Windows doesn't do this.
 

Nik-Ken-Bah

Member
Thanks @atanere
Will have another bash at it tomorrow getting close to hitting the sack time here.
 

Nik-Ken-Bah

Member
@atanere
Well I had a bash at it and it worked a treat. Thanks.
Sometimes you cannot see the forest for the trees.
 

Nik-Ken-Bah

Member
I had another crack at ungzipping the tar file as noted in my first comment except this time it is the deb version not the rpm version but still received the same message. :(
Any clue why it is so?
 

atanere

Well-Known Member
Before trying to install Apache Open Office, I'd remind you of Wizard's comment and instructions in #7 above that you should first uninstall LibreOffice. These two programs conflict with one another.

I'd also ask, "Why not use LibreOffice instead?" It's a matter of choice, and I'm not really trying to discourage you, but LibreOffice is more popular these days and receives better and faster development. It should open any document or spreadsheet you may have created previously with AOO.

Now, with the tar.gz file you downloaded, just double-click it. A window will open up that shows you the contents of the file is a folder named en-US. In the upper left of this window is a button to "Extract" the contents. Click that, another window opens and there is now another button in the lower right to "Extract". At this time you can change where you will extract this new folder to, but you may as well leave it in your downloads folder, or wherever it is (this folder can be deleted after installation). After you click the second Extract button, you should have the en-US folder with 3 subfolders inside.

To actually install it... navigate with your file manager to the DEBS folder (one of the 3 just extracted). Right-click inside the DEBS folder (on an open spot, not on a file) and choose "Open in Terminal". You should now be inside a terminal and have a prompt that ends like, ..../en-US/DEBS$. At this prompt enter this exactly:
Code:
sudo dpkg -i *.deb
Then wait for it.... it may take awhile. The command unpacks all of the many .deb files that are in the folder and configures your system.

Good luck!
 
Last edited:

Nik-Ken-Bah

Member
@atanere
Thanks for that explanation on how to go about it.
I'll give it another bash tomorrow as it is beddy bye time for this little black duck.
Will let you know how it went.
I want to get use to doing things and be more comfortable with this before I attempt them on installing another driver for my realtek NIC
 

Nik-Ken-Bah

Member
@atanere
Worked a breeze. extracted it and moved it to a folder in documents that I created for program files where it will sit.
I don't mind Libre office just feel more comfortable with AOO. With libre I feel like I am in a desert with a small area to work with whilst still seeing the vast expanse of the desert this is in the documents and drawing sections and I do not feel that at ease and comfortable with it.. Though I like Libre's data base easy to use.The way they operate is very similar and they both can read each others documents and drawings. I will use Libre to get more acquainted with its workings.
 

Members online


Top