Friday, April 6, 2012

How to install google chrome on ubuntu by repository


สำหรับ google chrome นั้นถ้าหากจะลงจำเป็นต้องไปโหลดไฟล์ .deb แล้วเอามาลงเอง ซึ่งมันยุ่งยากจนผมไม่เคยไปสนใจเลย ซึ่งปกติผมจะใช้ Chromium แทนมันลงง่ายดีจนกระทั่งวันนี้ได้อ่านบทความจาก ubuntuclub จึงรู้ว่าตอนนี้มี repository ของ google สำหรับลง google chrome ได้แล้วจึงลองสักหน่อย

วิธีการเริ่มด้วยเพิ่ม repository เข้าไป ใช้คำสั่งสองคำสั่งนี้ได้เลย
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' 
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
หลังจากเพิ่ม repository เข้าไปเรียบร้อยแล้วก็ทำการ อัพเดตและลงโปรแกรมครับ
sudo apt-get update
sudo apt-get install google-chrome-stable
เพียงเท่านี้ก็สามารถใช้ google chrome ได้แล้วครับ

1 comment:

  1. Thanks for comment. I just share from another site that I have this problem too.

    sorry, I write on thai language I'll write more on english :)

    ReplyDelete