Where is Chrome executable?

Booting, installing, newbie
Post Reply
Message
Author
JohnDurbin
Posts: 6
Joined: Sat 03 Apr 2010, 04:33

Where is Chrome executable?

#1 Post by JohnDurbin »

I'm just getting started with Linux trying to put an old IBM A31 back in service with Puppy. Previously I had Mint running on it. But no sound, and no wireless. Puppy recognized both. Mint definely handled installing programs better. I had no trouble installing Chrome but with Puppy I'm stuck. I have undebed the .deb file and I can see all of the Chrome files but nothing I do launches the program. What should I try next?

Thanks...JD
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

It is a must to report the puppy version you use, the install/boot type.
We have no crystal ball.

Mostly clicking in rox on a deb will install the package, no need to undeb yourself.

See also with the puppsearch link in my sig on f.e. Chrome.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#3 Post by trapster »

Worst case, create a folder and put your .deb file in it. Open a console IN that folder and do undeb filename.deb This will create the file directory in the folder. You can then snoop around to see what all and where things will install. I usually then create a pet with dir2pet foldername in whatever directory your folder is in. (remove the .deb file first as all you need are files and the directory structure in the .pet).
This makes for easy removal later if unwanted.
Last edited by trapster on Sat 03 Apr 2010, 13:56, edited 2 times in total.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
JohnDurbin
Posts: 6
Joined: Sat 03 Apr 2010, 04:33

#4 Post by JohnDurbin »

I did a full install to the hard drive of the newest version of Puppy (4.3.1).

THIS IS EXACTLY WHAT I DID: "create a folder and put your .deb file in it. Open a console IN that folder and do undeb filename.deb"

AFTER THAT I: "snoop(ed) around to see what all and where things will install."

I couldn't find anything that would launch the program.

WHAT DO YOU MEAN WHEN YOU WRITE: "I usually then create a pet with dir2pet filename.deb" WHY WOULD YOU DO THAT?

What do I do to run the application? In this case it is Chrome?

THANKS...JD[/b]
User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#5 Post by trapster »

I am running puppeee with chrome as default. The script that runs chrome is in /opt/google/chrome/google-chrome.

I TOLD YOU WHY I CREATE PETS.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
JohnDurbin
Posts: 6
Joined: Sat 03 Apr 2010, 04:33

#6 Post by JohnDurbin »

YOU SAID: "remove the .deb file first as all you need are files and the directory structure in the .pet. This makes for easy removal later if unwanted."

If I delete the .deb file first how can I then create use dir2pet xxxxxx.deb

AND

Why would I create a .deb after I deleted it?

I have clicked on ever file in the /opt/google/chrome folder and nothing opens the application.

I'm sorry I'm just not getting it but you have brought me farther than I was. Don't give up on me. I need you help and I'm very thankful for it!
User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#7 Post by trapster »

ie:
You may create your own directories wherever you want.

1. create /root/pets/program_name-0.1.1
2. save some.deb to /root/pets/program_name-0.1.1
3. open a terminal in /root/pets/program_name-0.1.1 and type undeb some.deb
4. if this creates the filesystem you're looking for, delete or move some.deb
5. go to /root/pets and open a terminal
6. do dir2pet program_name-0.1.1
7. A .pet should be created in /root/pets

Now....if you don't want to bother with the pet, just peruse the directories of the undebbed file for the files you 're looking for.
Was the script for chrome in /opt/google/chrome/?
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
JohnDurbin
Posts: 6
Joined: Sat 03 Apr 2010, 04:33

#8 Post by JohnDurbin »

I UNDERSTAND THE FOLLOWING:

You may create your own directories wherever you want.

1. create /root/pets/program_name-0.1.1
2. save some.deb to /root/pets/program_name-0.1.1
3. open a terminal in /root/pets/program_name-0.1.1 and type undeb some.deb
4. if this creates the filesystem you're looking for, delete or move some.deb
5. go to /root/pets and open a terminal

I DO NOT UNDERSTAND THE FOLLOWING:

6. do dir2pet program_name-0.1.1
7. A .pet should be created in /root/pets

WITHIN /opt/google/chrome THERE ARE:

2 folders: locales and resources
9 images of the chrome icon (these are .png files
1 file named chrome (the word chrome is green and icon looks like a gear)
1 file named chrome.pak (icon looks like a gear)
1 file named chrome-sandbox (text is green and icon looks like a gear)
1 file named default-app-block
1 file named google-chrome (text is green)
1 file named google-chrome.desktop (icon is 11011100110110010101)
1 file named libffmpegsumo.so (icon sort of like a puzzle piece)
1 file named xdg-settings

MY ASSUMPTION IS THE THE FILE: default-app-block IS THE SCRIPT YOU REFER TO. I CAN READ IN GEANY:

<web-browser>
<name>Google Chrome</name>
<executable>/opt/google/chrome/google-chrome</executable>
<command>/opt/google/chrome/google-chrome %s</command>
<icon-name>google-chrome</icon-name>
<run-in-terminal>false</run-in-terminal>
<netscape-remote>false</netscape-remote>
<!-- for "open in new window/tab" support, change netscape-remote
to true above, and add tab-command and win-command below -->
</web-browser>

THIS MAKES ME THINK THAT: google-chrome IS THE EXECUTABLE.

WHAT FILE DO I MAKE INTO A PET USING: dir2pet

THANK YOU...JD
User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#9 Post by trapster »

Skip the .pet. :shock: :shock:
Now you know that when you clicked on the .deb file and installed it, that the ".exe" you're looking for is /opt/google/chrome/google-chrome.

You can now right click on that file and choose "Link" and point it to /usr/local/bin/google-chrome.

Open a console and type google-chrome or drag /usr/local/bin/google-chrome to the desktop.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
JohnDurbin
Posts: 6
Joined: Sat 03 Apr 2010, 04:33

#10 Post by JohnDurbin »

Ok, I've done those things. Nothing happens when I click the desktop icon.

When I open and console and type: google-chrome

I get the message:

/usr/bin/google-chrome: error while loading shared libraries: libnss3.so.1d: can not open shared object file: No such file or directory

I went into each of the folders and did not find libnss3.so.1d

I went to the rood and typed: find libnss3.so.1d and did not find the file.

I think we are getting closer...
User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#11 Post by trapster »

OK, download libnss3.so from Here and save it to /usr/lib/.
Then go to /usr/lib/libnss3.so and right click on it and choose "Link" and point it to /usr/lib/libnss3.so.1d.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

libs for chrome

#12 Post by GrumpyWolfe »

Hi JohnDurbin

You will find you need more than that libs here is a pet of libs I made for chrome for puppy 431
http://mywolfe.googlecode.com/files/google-libs-2.pet

I also have Google-Chrome in a pet if you want
http://mywolfe.googlecode.com/files/goo ... .366.2.pet

Puppy package manger will install all this for you and there will be a menu entry to start it.
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]
JohnDurbin
Posts: 6
Joined: Sat 03 Apr 2010, 04:33

#13 Post by JohnDurbin »

Thanks to each of you I now have Google Chrome installed. The links provided were the secret sauce that made it work.

I'm very tempted to gut the laptop and start over because I want to make sure I can repeat the chain of events. Mainly because I want to learn and understand but also because I would like to help people who have older PCs that still have useful lives as "internet appliances." If I do gut and re-load I will write up the instructions and post for all to see and learn from.

My experience with linux is very limited but I like what I'm seeing with Puppy. Faster than Mint on this IBM A31 and Puppy installed both my wireless and my soundcard, and Mint was not able to find and install either of them.

Thank you so much for the help!...JD
mtruo001
Posts: 2
Joined: Fri 04 Jun 2010, 22:29

Guide: Install Google Chrome on Puppy Linux 4.3.1 (Stardust)

#14 Post by mtruo001 »

I thought I would compose this guide as I wasted hours trying to figure out how to install Chrome on Puppy Linux. All the information was taken from this forum post. I am a big Linux newbie myself.

1) Download the official Chrome (Linux Version) from google.com. I chose the 32-bit .deb file.

2) Download the library pet package found in this link: http://mywolfe.googlecode.com/files/google-libs-2.pet
Thank you GrumpyWolfe for supplying this file, which bypasses many complicated steps that will turn off any newbie.

3) In Puppy Linux, double click on the chrome.deb (file may not be exactly called this) to install google chrome on your Puppy Linux operating system. The program will be installed into the following directory:
/opt/google/chrome/

4) Double click on the google-libs-2.pet file you downloaded from step#2, it is a quick install.

5) Go to the directory: /opt/google/chrome/
look for the file name "google-chrome"

6) right click on "google-chrome" and select "run as terminal"
This will get google chrome to run for the first time.
note: the file "Google-chrome" is the equivalent to the program's ".exe" file in Windows XP.

7) Now everytime you left click on "google-chrome" the google chrome browser will run! You can easily drag it onto your desktop to make the shortcut.

Now... If I can only figure out how to change the google-chrome executable icon into something more visually pleasant...

mtruo001
User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#15 Post by rjbrewer »

R-click the icon > set icon

Rox (the little house) > Puppy reference > midi icons

Drag one to set icon box

Thanks for the guide. :)

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
Post Reply