Welcome, Guest. Please login or register.
April 17, 2014, 02:57:48 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Software
| | |-+  Running Google Chrome in Pardus 2009
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Running Google Chrome in Pardus 2009  (Read 6915 times)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« on: October 21, 2009, 21:05:34 PM »

Managed to get the official Google Chrome (in developmental stage only available as .deb package so far) webbrowser under Pardus 2009.
Did this by making use of these hints aimed at Gentoo Linux.

I had to make some minor Pardus-specific adjustments to get it up and running.

It works quite smooth and fast at first sight, however coincidentally my wife wanted to send an e-card (via Hallmark) and I had the freshly installed Chrome browser open. I noticed a minor bug in that the e-card itself was not displayed, perhaps a JavaScript problem, because Flash (on other websites) appears to work fine.

Anyway it is still in developmental stage, but I like having a testdrive with it after having testdriven the Chromium version already for a while (pisi package from pardus-users.de)

See screenshot.

I will share the how-to shortly in my blog and perhaps later on copy it in the wiki.

For now my wife wants the laptop back  Cheesy I prefer peace


* chromeonpardus2009.png (170.16 KB, 1280x800 - viewed 121 times.)
« Last Edit: October 23, 2009, 19:35:36 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #1 on: October 22, 2009, 20:31:40 PM »

EDITED OCTOBER 23rd:

See Konsole code for how I installed Google Chrome in Pardus

1)  Download the .deb package from Google in e.g. your /home/username/Downloads folder and start from there (browse with Dolphin FileManager into Downloads folder and open Terminal at the bottom via a menu at the top of Dolphin (View-Panels-Terminal).

2) Because you need the UNIX command ar, you now need to install the binutils pisi package first unless you have installed that one previously:
Code:
michiel@laptop Downloads $ sudo pisi it binutils
contrib repository needs to be updated    
contrib repository needs to be updated                                                                
Totale grootte van pakket(ten): 1.37 MB                                                                
Downloaden 1 / 1                                                                                      
Pakket binutils gevonden in repository pardus-2009                                                    
binutils-2.19.51.0.9-32-5.pisi (1.4 MB)100%     76.12 KB/s [00:00:00] [compleet]                      
Installeren 1 / 1                                                                                      
binutils-2.19.51.0.9-32-5.pisi [cached]                                                                
Installatie binutils, versie 2.19.51.0.9, uitgave 32, bouw 5                                          
Uitpakken bestanden uitpakken van binutils                                                            
Configureren binutils pakket                                                                          
Geconfigureerd binutils                                                                                
Ge├»nstalleerd binutils                                                                                

3) Proceed with:
Code:
michiel@laptop Downloads $ sudo ar x google-chrome-unstable_current_i386.deb                                
michiel@laptop Downloads $ sudo tar xvf data.tar.lzma
./                                            
./usr/                                        
./usr/bin/                                    
./usr/share/                                  
./usr/share/man/                              
./usr/share/man/man1/                          
./usr/share/man/man1/google-chrome.1          
./usr/share/gnome-control-center/              
./usr/share/gnome-control-center/default-apps/
./usr/share/gnome-control-center/default-apps/google-chrome.xml
./etc/                                                        
./etc/cron.daily/                                              
./etc/cron.daily/google-chrome                                
./opt/                                                        
./opt/google/                                                  
./opt/google/chrome/                                          
./opt/google/chrome/libavutil.so.50                            
./opt/google/chrome/google-chrome.desktop                      
./opt/google/chrome/product_logo_48.png                        
./opt/google/chrome/chrome                                    
./opt/google/chrome/google-chrome                              
./opt/google/chrome/chrome-sandbox                            
./opt/google/chrome/libavformat.so.52                          

CUT...CUT..CUT..............

./opt/google/chrome/resources/inspector/ImageView.js                                    
./opt/google/chrome/resources/inspector/SidebarPane.js                                  
./opt/google/chrome/resources/inspector/ProfilesPanel.js                                
./opt/google/chrome/product_logo_256.png                                                
./opt/google/chrome/libavcodec.so.52                                                    
./usr/bin/google-chrome                                                                

4) Followed by:
Code:
michiel@laptop Downloads $ sudo cp opt/google/chrome /opt/ -r                                
michiel@laptop Downloads $ sudo ln -s /opt/chrome/chrome /usr/bin/                        

5) And finally create some symbolic links to have Chrome find the libraries it needs:
Code:
     
michiel@laptop Downloads $ sudo ln -s /usr/lib/nss/libnss3.so /usr/lib/libnss3.so.1d
michiel@laptop Downloads $ sudo ln -s /usr/lib/nss/libnssutil3.so /usr/lib/libnssutil3.so.1d
michiel@laptop Downloads $ sudo ln -s /usr/lib/nss/libsmime3.so /usr/lib/libsmime3.so.1d
michiel@laptop Downloads $ sudo ln -s /usr/lib/nss/libssl3.so /usr/lib/libssl3.so.1d
michiel@laptop Downloads $ sudo ln -s /usr/lib/libplds4.so /usr/lib/libplds4.so.0d
michiel@laptop Downloads $ sudo ln -s /usr/lib/libplc4.so /usr/lib/libplc4.so.0d
michiel@laptop Downloads $ sudo ln -s /usr/lib/libnspr4.so /usr/lib/libnspr4.so.0d

HAVING ARRIVED AT THIS POINTI STRONGLY RECOMMEND TO DELETE THE FILES THAT ARE CREATED IN YOUR BUILDING FOLDER (e.g. in Downloads, or in /home/username, and above all if present in /tmp) IN THE PROCESS MENTIONED ABOVE (and are not necessary for running the just installed application which reside in /opt and in /usr/bin) BEFORE REBOOTING.

6) Now if you type anywhere in the Konsole
Code:
chrome

Google Chrome should start its first run.
« Last Edit: October 25, 2009, 22:32:42 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #2 on: October 22, 2009, 21:42:25 PM »

....... tsratx .....
Huh?

......... I have just installed  fresh Pardus 2009 ..........
Clonezilla can become your friend.  Grin
Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #3 on: October 22, 2009, 21:49:37 PM »


Sorry for the typo' s again atolboo, apparently sometimes I want to go quicker then my fingers and keyboard allow...
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #4 on: October 23, 2009, 19:38:19 PM »

OK I got out of trouble.

It looks like installing Google Chrome from within the /tmp directory is not such a good idea.
I managed to clean up /tmp entirely from within the Konsole, and afterwards my Pardus (including Google Chrome from which I type this message) started up as it always used to do.

So somehow the remaining files in /tmp after the installation of Google Chrome led to the broken X-session.

I will adjust the howto in the posting(s) above, bt if someone wants to test whether Google Chrome installs as well using the new method (just unpack the files in your /home/username/Downloads folder instead of in /tmp I would appreciate that.
« Last Edit: October 23, 2009, 19:49:17 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
mnurolcay
ignorance is bliss...
Newbie
*
Gender: Male
Posts: 2



View Profile
« Reply #5 on: October 25, 2009, 12:58:09 PM »

just made a pisi package of that *.deb file. use at your own risk:

Code:
sudo pisi bi http://sudrap.org/repository/users/mnurolcay/2009/network/web/chrome/pspec.xml
Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #6 on: October 31, 2009, 14:27:01 PM »

To get Flash working as it should (so you do not get an error message on YouTube that you must install a new Flash Player), you have to create a folder plugins in /opt/chrome and create a symbolic link to flashplugin which resides (in Pardus) in /opt/netscape/plugins

Code:
sudo mkdir /opt/chrome/plugins
sudo ln -s /opt/netscape/plugins/libflashpayer.so /opt/chrome/plugins
« Last Edit: October 31, 2009, 14:41:12 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #7 on: October 31, 2009, 21:47:22 PM »

sudo mkdir /opt/chrome/plugins
My result
Quote
atolboo@atolboo-pardus ~ $ sudo mkdir /opt/chrome/plugins
Password:
mkdir: cannot create directory `/opt/chrome/plugins': No such file or directory
atolboo@atolboo-pardus ~ $
Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #8 on: October 31, 2009, 22:00:32 PM »

strange for a test I just did

Code:
sudo mkdir /opt/chrome/pligins
(mind the i)
which adds dir pligins without a problem.

Is dir /opt/chrome already present in your system or does Chrome reside in an other place in your system?
« Last Edit: October 31, 2009, 22:02:04 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #9 on: October 31, 2009, 22:17:36 PM »

Is dir /opt/chrome already present in your system or does Chrome reside in an other place in your system?
After making and installing
I have
Quote
/opt/google/chrome/
and
Quote
/opt/google/chrome/plugins/
and
Quote
atolboo@atolboo-pardus ~ $ cd /opt
atolboo@atolboo-pardus opt $ ls
google  icecream  netscape  OpenOffice.org  sun-jdk  sun-jre
atolboo@atolboo-pardus opt $
/quote]
« Last Edit: October 31, 2009, 22:23:37 PM by atolboo » Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #10 on: October 31, 2009, 22:26:45 PM »

Well then in your case the dir and symbolic link should be created in /opt/google/chrome, rather then /opt/chrome as is the case on my system.

So for you atolboo try

Code:
sudo mkdir /opt/google/chrome/plugins
sudo ln -s /opt/netscape/plugins/libflashpayer.so /opt/google/chrome/plugins
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #11 on: October 31, 2009, 22:29:19 PM »

In addition to the above the difference between our Google Chrome installations is that you (atolboo) used the pspec.xml/pisi method (reply #5) for installation whereas I installed Google Chrome from the .deb package by following the steps I mentioned earlier (reply #1) in this topic.

So after all this is a good addition:

users should first check whether chrome is located in /opt/chrome or /opt/google/chrome and then create the plugins dir in the chrome folder and create the symbolic link to the chrome folder at the correct place.
« Last Edit: October 31, 2009, 22:31:41 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #12 on: October 31, 2009, 23:06:36 PM »

Thank you, but I can report that using the reply #5 method results in
Quote
tolboo@atolboo-pardus ~ $ cd /opt/google/chrome/plugins
atolboo@atolboo-pardus plugins $ ls
gecko-mediaplayer-dvx.so  gecko-mediaplayer-rm.so  gecko-mediaplayer-wmp.so  libflashplayer.so
gecko-mediaplayer-qt.so   gecko-mediaplayer.so     javaplugin.so             nsdejavu.so
atolboo@atolboo-pardus plugins $
and as you can see libflashplayer.so is already present (and other multimedia plugins).
So I don't have to do anything    to get multimedia support. Thanks mnurolcay
« Last Edit: November 01, 2009, 09:07:05 AM by atolboo » Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #13 on: November 01, 2009, 08:49:00 AM »

Excellent  Cheesy
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #14 on: November 01, 2009, 16:40:40 PM »

More info: /opt/google/chrome/plugins is a pointer to /usr/lib/nsbrowser/plugins (see also [this Wiki page]Wink
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!