Jinsi ya kufunga Google Chrome


Nenda kwa jibu lililokubaliwa


Jinsi gani unaweza kusanikisha Google Chrome kwenye Ubuntu?


499





2014-08-12




Idadi ya majibu: 7


google-chrome-stable inapatikana kwenye Jalada la 3 la Chama: Google Chrome (kwa Kudumu).

Fuata maagizo ya ufungaji:

  1. Ongeza Kitufe:

     wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
     
  2. Weka kumbukumbu:

     echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
     
  3. Weka kifurushi:

     sudo apt-get update 
    sudo apt-get install google-chrome-stable
     

584


2014-08-12

Maonyesho ya Video

Nenda kwa https://www.google.com/intl/en-US/chrome/browser/


Picha ya skrini: Wavuti ya Chrome

Bonyeza Pakua na kidirisha kidogo kitatoka na chaguzi za kupakua.


Picha ya skrini: Kifurushi cha kuchagua cha Chrome

Tunataka ".deb" kwa Ubuntu. Hakikisha sanduku hili limekaguliwa.

Kumbuka: Google haitoi tena toleo la 32-bit la Linux - una uwezo wa kupata matoleo-kidogo ya 64 ya Linux ifikapo angalau Februari 2016

Itakupa chaguo la "Fungua na ..." au "Hifadhi Faili". Chaguo chaguo-msingi la "Fungua na ..." ni kufungua kupitia "Weka Programu". Chagua chaguo hili.


Picha ya skrini: Kufungua mazungumzo ya mjadala

Toa PC yako muda mchache na kituo cha programu cha ubuntu kinapaswa kufungua na faili ya .deb ambayo umeshapakua tayari kusanikisha. (Tayari nimeweka chrome) Bonyeza kitufe cha kusakinishia na utahitimishwa kwa nywila yako kuanza usanikishaji. Hii haifai tena kuwa 2mins kufunga.

Furahia;]

Kumbuka: Chrome pia itasasishwa kupitia mchakato wa kawaida wa usasisho wa Ubuntu ili uweze kutarajia kunyakua toleo la hivi karibuni wakati sasisho za Ubuntu.


Picha ya skrini: Google Chrome katika Kituo cha Programu


257


2014-08-12

Au ikiwa unataka Google Chrome halisi, fungua terminal na ufuate:

 cd /tmp
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
 

Toleo la 32-bit halipatikani tena.

Ikiwa unakutana na makosa yoyote tumia tu

 sudo apt-get -f install
 

Ili kuiondoa kutoka kwa matumizi ya terminal google-chrome au gonga kitufe cha juu na utafute Google au Chrome


130


2014-08-12

Google Chrome ni tofauti na Chromium.

Kuna tofauti gani kati ya Google Chrome na / au Chromium? Je! Ni faida / hasara gani kwa kila mmoja?

Chromium inaweza kupatikana katika Kituo cha Programu cha Ubuntu. Ili kupakua Google Chrome hata hivyo:

  1. Goto: https://www.google.com/intl/en-CA/chrome/browser/

  2. Bonyeza Download Chrome

  3. Chagua ama 32 bit .deb (kwa 32bit Ubuntu) au 64 bit .deb (kwa 64bit Ubuntu)

  4. Bonyeza Accept and Install

  5. Download .deb faili kwenye folda ( Downloads ni folda chaguo-msingi)

  6. Fungua yako Downloads folder.

  7. Bonyeza mara mbili faili ya .deb uliyopakua hivi karibuni.

  8. Hii inapaswa kuzindua Kituo cha Programu cha Ubuntu.

  9. Wakati inakuchochea ikiwa unataka kusanidi Chrome, sema tu ndio.

  10. Nenosiri la Kuingiza linapoulizwa kusanikisha.

19


2014-08-12

Wakati wa kusanikisha kifurushi cha debian, ikiwa una makosa ya aina:

 packages have unmet dependencies
 

au

 package <package-name> is not installed
 

Ifuatayo ilinifanyia kazi:

 sudo apt-get -f install
 

Yaliyomo hapo juu yatasanikisha vifurushi ambavyo havikuwekwa lakini vinahitajika kwa kifurushi cha debian.

Sasa, unapaswa kuwa na uwezo wa kusanikisha kifurushi cha debian kupitia:

 sudo dpkg -i <google-chrome>.deb
 

6


2017-03-07

Unaweza kujaribu kuhifadhi maandishi ya chini kuwa faili na kuisimamia:

 if [[ $(getconf LONG_BIT) = "64" ]]
then
    echo "64bit Detected" &&
    echo "Installing Google Chrome" &&
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
    sudo dpkg -i google-chrome-stable_current_amd64.deb &&
    rm -f google-chrome-stable_current_amd64.deb
else
    echo "32bit Detected" &&
    echo "Installing Google Chrome" &&
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
    sudo dpkg -i google-chrome-stable_current_i386.deb &&
    rm -f google-chrome-stable_current_i386.deb
fi
 

Itaona usanifu wako kiotomatiki na kusanikisha toleo sahihi la Google Chrome kwa mfumo wako.

Chanzo cha hati hapa


4


2014-11-04

Halo watu wa Ubuntu Ulimwengu, niliandika mpango wa c ++ wa kusanikisha google chrome 64 kidogo, jibu la Pandya ni sawa. Mimi kawaida huandika mipango ya kushughulikia kitu chochote, ambacho nadhani kinaweza kufanya tena wakati ujao! Kwa hivyo kusanikisha google-chrome ni kitu ambacho nimefanya mara nyingi.

Ikiwa tayari haujasanidi -a-imewekwa kama utegemezi, au maendeleo ya c ++ (g ++) lazima usakinishe kwanza:

 :~$ sudo apt-get install build-essential -y
 

Nakili programu ifuatayo kutoka kwa chapisho hili kwenda kwenye gedit na uihifadhi kama googGt.cpp (badilisha upana wa tabo lako hadi 4):

 //************************************************************************
// This googGt.cpp is created to install the google-chrome web browser
// on Ubuntu 14.04 lts 64 bit.
// [email protected]
//************************************************************************

#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <locale>

using namespace std;

void PrntGoogPpa(ofstream& googPpa);

void PrntGoogGtr(ofstream& googGtr);

void PrntGoogLst(ofstream& gogLst);

int main()
{

    cout << "Creating the script that adds google-chrome PPA\n" <<endl;

    // create the googPpa.sh shell script
    ofstream googPpa;

    googPpa.open("googPpa.sh");

    PrntGoogPpa(googPpa);

    googPpa.close();

    cout << "Changing the mode of access to executable on the script\n" << endl;
    // change mode of access to executable
    system("chmod +x googPpa.sh");
    cout << "Excuting and installing the Google-Chrome Web Browser\n" << endl;
    system("./googPpa.sh");

    // create an ofstream object and call the function
    cout << "Creating the script that installs google-chrome\n" << endl;
    ofstream googGtr;
    googGtr.open("googGt.sh");
    PrntGoogGtr(googGtr);
    googGtr.close();

    cout << "The googGt.sh script has been created\n" << endl;
    cout << "Changing the mode of access to executable on the script\n" << endl;
    system("chmod +x googGt.sh");
    cout << "Excuting and installing the Google-Chrome Web Browser\n" << endl;
    system("./googGt.sh");

    system("rm -rf /etc/apt/sources.list.d/google-chrome.list");

    ofstream googLst;
    googLst.open("/etc/apt/sources.list.d/google-chrome.list");
    PrntGoogLst(googLst);
    googLst.close();


}
void PrntGoogPpa(ofstream& googPpa)
{

    googPpa << "#! /bin/bash\n\nUPD=\"updatedb\"\n" << endl;

    googPpa << "wget -q -O - "
            << "https://dl-ssl.google.com/linux/linux_signing_key.pub"
            << " | sudo apt-key add -" << "\n" << endl;

    googPpa << "echo \"deb http://dl.google.com/linux/chrome/deb/ stable main\""
            << " >> /etc/apt/sources.list.d/google.list\n\n$UPD\n\nexit" << endl; 

}
void PrntGoogGtr(ofstream& googGtr)
{
    googGtr << "#! /bin/bash\n\nAPGTN=\"apt-get install\"" << endl;

    googGtr << "APUPD=\"apt-get update\"\nUPD=\"updatedb\"\n" << endl;

    googGtr << "$APUPD\n\n$APGTN google-chrome-stable -y\n" << endl;

    googGtr << "$UPD\n\nexit" << endl;

}
void PrntGoogLst(ofstream& googLst)
{

    googLst << "### THIS FILE IS AUTOMATICALLY CONFIGURED ###" << endl;

    googLst << "# You may comment out this entry, but any other modifications"
            << " may be lost." <<endl;

    googLst << "# deb http://dl.google.com/linux/chrome/deb/ stable main" <<endl;

}
 

Hakuna kitu cha kuvutia tu baadhi ya kazi za kufutwa. Ni rahisi kufuata. Mara tu umenakili na kuhifadhi mpango huo kutoka kwa mstari wa amri:

 :~$ g++ googGt.cpp
 

Hii kuunda a.out katika saraka ya kufanya kazi. Ifuatayo kupata utangazaji wa mizizi na utekeleze mpango huo.

Kupata utangazaji wa mizizi:

 :~$ sudo bash
 

Utekelezaji wa binary mpya:

 :~# ./a.out
 

Mchakato huo ni sawa moja kwa moja kwanza ongeza google PPA, kisha inasasisha vyanzo vya programu, kisha inasanikisha google-chrome, na mwisho lakini sio maoni yake juu ya anwani za google-chrome.list url ili wasisasishe 32 toleo kidogo na vile vile 64 juu ya visasisho vipya vya baadaye vya kupata. Sasa utakuwa na maandishi 1) hati ambayo inaongeza googPpa.sh na 2) hati inayosanikisha google-chrome (googGt.sh).

NENDA UBUNTU !!


3


2015-04-06