0

I have already installed Apache OpenOffice 4.0.0 and would like to update it to the newer version which is Apache OpenOffice 4.0.1.

I have already downloaded the _deb.tar.cz files that were required but I can't seem to access the download through the terminal to install it.

What I tried was to open the Home/ directory but it can't seem to find it using the command:

cd /home/downloads/apache 

What did I do wrong?

Zanna
  • 70,465

2 Answers2

1

Go into the downloads folder and extract the tar.gz file by running,

cd /home/$USER/Downloads

OR

cd ~/Downloads
tar -xzvf filename.tar.gz

The above command extracts the .deb file inside Downloads directory.Then run the below command to install .deb file,

sudo dpkg -i filename.deb
Avinash Raj
  • 78,556
0

The D in downloads is a capital, so you need to enter

cd /home/user-name/Downloads

here user-name should be replaced with your user name, or you can use:

cd /home/$USER/Downloads

or

cd ~/Downloads

Understand the directory structure of Ubuntu (and Linux in general)

your Home directory as shown in nautilus is actually /home/user-name.

Zanna
  • 70,465
Null pointer
  • 2,547
  • 5
  • 26
  • 38