0

I just installed Chrome with these instructions on ubuntu 14.04.

sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb 

But I installed it in my home folder. I'm quite new to Ubuntu and not sure where I'm meant to install it? When I run the 'ls' command in my home folder I see the google-chrome-stable_current_amd64.deb in red.

Can I move it or do I have to delete and reinstall it somewhere else?

(How would I delete it?)

Kriss
  • 287
  • 1
    @user68186 You might actually want to post that as an answer. It seems to me your comment is a much clearer answer to this question than either the current answer here or the answer there. (In particular, I'm not sure the answer there is really correct, or would be if posted here--the reason dpkg doesn't install the software in the directory where it is run is not, per se, because it is run as root, as implied in that answer.) The question here is narrower and I think your comment answers it perfectly. – Eliah Kagan Aug 11 '14 at 14:05
  • Thanks @EliahKagan I have deleted the comment and added it as an answer. – user68186 Aug 11 '14 at 14:18

3 Answers3

0

Kriss, you can simply download the 64bit .deb from Google's site and double click it to open it in the Ubuntu Software Center. From there you can install it, uninstall it, etc.

larouxn
  • 789
  • 6
  • 15
0
sudo dpkg -i google-chrome*.deb 

this tells Ubuntu to install the .dpkg file on your PC. If you're coming from Windows, consider that file as an MSI installer file. You can easily delete it

AlexGreg
  • 1,655
  • 13
  • 18
0

See Used up software Linux Downloads folder? for a similar question.

DEB is just a container. the sudo dpkg -i google-chrome*.deb command opened it and extracted the files needed and put them in their right places.

So you have nothing to worry about. Delete the deb file. When you install Chrome this way, it gets installed in the right place and from now on Ubuntu will take care of updating Chrome.

You could have opened the "File" icon on Launcher (the left panel on your desktop, assuming you are using Unity) and double clicked on the deb file. It would have opened Ubuntu Software Center and you would see an Install button there. Installing a deb file in either of these two ways (command sudo dpkg.. or the GUI Software Center) always installs the software in their correct places. It is best not to mess with it and try to install the software in a different folder.

Hope this helps

user68186
  • 33,360