Install Google Chrome on Fedora 28/27, CentOS/RHEL 7.5 (在 fedora 28 等 上 安裝 chrome)

来源:https://www.cnblogs.com/xuyaowen/archive/2018/09/06/fedora-28-chrome.html
-Advertisement-
Play Games

今天在使用 fedora 安裝 chrome 的時候遇到了問題,今天進行將安裝過程進行記錄下來。需要安裝第三方軟體倉庫。 我們需要進行安裝 fedora-workstation-repositories 這個倉庫 使用 yum/dnf 命令 安裝並開啟chrome 倉庫,安裝這個 rpm 包就是在/ ...


今天在使用 fedora 安裝 chrome 的時候遇到了問題,今天進行將安裝過程進行記錄下來。需要安裝第三方軟體倉庫。

我們需要進行安裝 fedora-workstation-repositories 這個倉庫 使用 yum/dnf 命令

[root@localhost ~]# yum info fedora-workstation-repositories
Last metadata expiration check: 0:07:55 ago on Thu 06 Sep 2018 08:54:18 AM EDT.
Installed Packages
Name         : fedora-workstation-repositories
Version      : 28
Release      : 1.fc28
Arch         : noarch
Size         : 3.2 k
Source       : fedora-workstation-repositories-28-1.fc28.src.rpm
Repo         : @System
From repo    : fedora
Summary      : Repository files for searchable repositories
URL          : https://fedoraproject.org/wiki/Workstation/Third_Party_Software_Repositories
License      : GPL
Description  : Repository files that make some select non-Fedora software available
             : via search in gnome-software.

安裝並開啟chrome 倉庫,安裝這個 rpm 包就是在/etc/yum.repo.d 文件夾中生成倉庫文件:

dnf install fedora-workstation-repositories

dnf config-manager --set-enabled google-chrome

在 Fedora 26/25 CentOS/RHEL 7.5 上,使用下列代碼添加倉庫:

cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
EOF

安裝穩定版:

## Install Google Chrome Stable version ##
## Fedora 28/27/26/25 ##
dnf install google-chrome-stable

## CentOS/RHEL 7.5 ##
yum install google-chrome-stable

安裝測試版:

## Install Google Chrome Unstable version ##
## Fedora 28/27/26/25 ##
dnf install google-chrome-unstable

## CentOS/RHEL 7.5 ##
yum install google-chrome-unstable

安裝不穩定版:

## Install Google Chrome Unstable version ##
## Fedora 28/27/26/25 ##
dnf install google-chrome-unstable

## CentOS/RHEL 7.5 ##
yum install google-chrome-unstable

安裝完整後,即可使用。

上則命令中chrome安裝文件位置分佈如下,使用rpm 命令可進行檢測:

/etc/cron.daily/google-chrome
/opt/google/chrome
/opt/google/chrome/MEIPreload
/opt/google/chrome/MEIPreload/manifest.json
/opt/google/chrome/MEIPreload/preloaded_data.pb
/opt/google/chrome/chrome
/opt/google/chrome/chrome-sandbox
/opt/google/chrome/chrome_100_percent.pak
/opt/google/chrome/chrome_200_percent.pak
/opt/google/chrome/default-app-block
/opt/google/chrome/default_apps
/opt/google/chrome/default_apps/docs.crx
/opt/google/chrome/default_apps/drive.crx
/opt/google/chrome/default_apps/external_extensions.json
/opt/google/chrome/default_apps/gmail.crx
/opt/google/chrome/default_apps/youtube.crx
/opt/google/chrome/google-chrome
/opt/google/chrome/icudtl.dat
/opt/google/chrome/libwidevinecdm.so
/opt/google/chrome/locales
/opt/google/chrome/locales/am.pak
/opt/google/chrome/locales/ar.pak
/opt/google/chrome/locales/bg.pak
/opt/google/chrome/locales/bn.pak
/opt/google/chrome/locales/ca.pak
/opt/google/chrome/locales/cs.pak
/opt/google/chrome/locales/da.pak
/opt/google/chrome/locales/de.pak
/opt/google/chrome/locales/el.pak
/opt/google/chrome/locales/en-GB.pak
/opt/google/chrome/locales/en-US.pak
/opt/google/chrome/locales/es-419.pak
/opt/google/chrome/locales/es.pak
/opt/google/chrome/locales/et.pak
/opt/google/chrome/locales/fa.pak
/opt/google/chrome/locales/fi.pak
/opt/google/chrome/locales/fil.pak
/opt/google/chrome/locales/fr.pak
/opt/google/chrome/locales/gu.pak
/opt/google/chrome/locales/he.pak
/opt/google/chrome/locales/hi.pak
/opt/google/chrome/locales/hr.pak
/opt/google/chrome/locales/hu.pak
/opt/google/chrome/locales/id.pak
/opt/google/chrome/locales/it.pak
/opt/google/chrome/locales/ja.pak
/opt/google/chrome/locales/kn.pak
/opt/google/chrome/locales/ko.pak
/opt/google/chrome/locales/lt.pak
/opt/google/chrome/locales/lv.pak
/opt/google/chrome/locales/ml.pak
/opt/google/chrome/locales/mr.pak
/opt/google/chrome/locales/ms.pak
/opt/google/chrome/locales/nb.pak
/opt/google/chrome/locales/nl.pak
/opt/google/chrome/locales/pl.pak
/opt/google/chrome/locales/pt-BR.pak
/opt/google/chrome/locales/pt-PT.pak
/opt/google/chrome/locales/ro.pak
/opt/google/chrome/locales/ru.pak
/opt/google/chrome/locales/sk.pak
/opt/google/chrome/locales/sl.pak
/opt/google/chrome/locales/sr.pak
/opt/google/chrome/locales/sv.pak
/opt/google/chrome/locales/sw.pak
/opt/google/chrome/locales/ta.pak
/opt/google/chrome/locales/te.pak
/opt/google/chrome/locales/th.pak
/opt/google/chrome/locales/tr.pak
/opt/google/chrome/locales/uk.pak
/opt/google/chrome/locales/vi.pak
/opt/google/chrome/locales/zh-CN.pak
/opt/google/chrome/locales/zh-TW.pak
/opt/google/chrome/nacl_helper
/opt/google/chrome/nacl_helper_bootstrap
/opt/google/chrome/nacl_irt_x86_64.nexe
/opt/google/chrome/natives_blob.bin
/opt/google/chrome/product_logo_128.png
/opt/google/chrome/product_logo_16.png
/opt/google/chrome/product_logo_22.png
/opt/google/chrome/product_logo_24.png
/opt/google/chrome/product_logo_256.png
/opt/google/chrome/product_logo_32.png
/opt/google/chrome/product_logo_32.xpm
/opt/google/chrome/product_logo_48.png
/opt/google/chrome/product_logo_64.png
/opt/google/chrome/resources.pak
/opt/google/chrome/swiftshader
/opt/google/chrome/swiftshader/libEGL.so
/opt/google/chrome/swiftshader/libGLESv2.so
/opt/google/chrome/v8_context_snapshot.bin
/opt/google/chrome/xdg-mime
/opt/google/chrome/xdg-settings
/usr/bin/google-chrome
/usr/bin/google-chrome-stable
/usr/share/appdata/google-chrome.appdata.xml
/usr/share/applications/google-chrome.desktop
/usr/share/gnome-control-center/default-apps/google-chrome.xml
/usr/share/man/man1/google-chrome-stable.1.gz
/usr/share/man/man1/google-chrome.1.gz

 

保持更新,轉載請註明出處。


您的分享是我們最大的動力!

-Advertisement-
Play Games
更多相關文章
  • 一、先看看效果 二、原理 雖然效果很簡單,但是網上的一些資料涉及的代碼量非常可觀,而且效果也不是很理想,滾動的時候沒有一個順滑感。我這裡提供的源碼一共120多行,就能實現上圖的效果。 本質上我們只要接管ScrollViewer的滾動邏輯,並且把這個邏輯替換成帶有慣性的即可,那麼如何去接管呢?這裡的關 ...
  • C# 結構(Struct) 在 C# 中,結構是值類型數據結構。它使得一個單一變數可以存儲各種數據類型的相關數據。struct 關鍵字用於創建結構。 結構是用來代表一個記錄。假設您想跟蹤圖書館中書的動態。您可能想跟蹤每本書的以下屬性: Title Author Subject Book ID 在 C ...
  • 1 public Form1() 2 { 3 InitializeComponent(); 4 treeView1.AllowDrop = true; 5 treeView1.ItemDrag += new ItemDragEventHandler(treeView1_ItemDrag); 6 tr... ...
  • //獲取時間戳 .net framework /* DateTime dt = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1)); int time = (int)(DateTime.Now - dt).TotalSecon... ...
  • 版權聲明:本文為博主原創文章,未經允許不得轉載。 在平常的工作中經常在兩個伺服器之間傳輸文件,而且經常從本地遠程登錄伺服器,每次都要輸入密碼顯然很沒效率,這時候該怎麼辦呢? 首先假設伺服器A和B,要想實現從A向B複製文件或者從B獲取文件,也就是: scp -r "some files in A" B ...
  • 第一步、網路模式設置為橋接模式 第二步、設置ip和掩碼      ens33為當前機器的網卡名稱   在文件尾部添加   [填寫自己的IP地址]         &ems ...
  • 參考 ...
  • 進程調度程式是多任務操作系統的基礎,它是確保進程能有效工作的一個內核子系統,負責決定哪個進程投入運行、何時運行以及運行多長時間。只有通過進程調度程式的合理調度,系統資源才能夠最大限度地發揮作用,多進程才會有併發執行的效果。在一組處於可運行狀態的進程中選擇一個來執行,是調度程式所需完成的基本工作。 在 ...
一周排行
    -Advertisement-
    Play Games
  • 示例項目結構 在 Visual Studio 中創建一個 WinForms 應用程式後,項目結構如下所示: MyWinFormsApp/ │ ├───Properties/ │ └───Settings.settings │ ├───bin/ │ ├───Debug/ │ └───Release/ ...
  • [STAThread] 特性用於需要與 COM 組件交互的應用程式,尤其是依賴單線程模型(如 Windows Forms 應用程式)的組件。在 STA 模式下,線程擁有自己的消息迴圈,這對於處理用戶界面和某些 COM 組件是必要的。 [STAThread] static void Main(stri ...
  • 在WinForm中使用全局異常捕獲處理 在WinForm應用程式中,全局異常捕獲是確保程式穩定性的關鍵。通過在Program類的Main方法中設置全局異常處理,可以有效地捕獲並處理未預見的異常,從而避免程式崩潰。 註冊全局異常事件 [STAThread] static void Main() { / ...
  • 前言 給大家推薦一款開源的 Winform 控制項庫,可以幫助我們開發更加美觀、漂亮的 WinForm 界面。 項目介紹 SunnyUI.NET 是一個基於 .NET Framework 4.0+、.NET 6、.NET 7 和 .NET 8 的 WinForm 開源控制項庫,同時也提供了工具類庫、擴展 ...
  • 說明 該文章是屬於OverallAuth2.0系列文章,每周更新一篇該系列文章(從0到1完成系統開發)。 該系統文章,我會儘量說的非常詳細,做到不管新手、老手都能看懂。 說明:OverallAuth2.0 是一個簡單、易懂、功能強大的許可權+可視化流程管理系統。 有興趣的朋友,請關註我吧(*^▽^*) ...
  • 一、下載安裝 1.下載git 必須先下載並安裝git,再TortoiseGit下載安裝 git安裝參考教程:https://blog.csdn.net/mukes/article/details/115693833 2.TortoiseGit下載與安裝 TortoiseGit,Git客戶端,32/6 ...
  • 前言 在項目開發過程中,理解數據結構和演算法如同掌握蓋房子的秘訣。演算法不僅能幫助我們編寫高效、優質的代碼,還能解決項目中遇到的各種難題。 給大家推薦一個支持C#的開源免費、新手友好的數據結構與演算法入門教程:Hello演算法。 項目介紹 《Hello Algo》是一本開源免費、新手友好的數據結構與演算法入門 ...
  • 1.生成單個Proto.bat內容 @rem Copyright 2016, Google Inc. @rem All rights reserved. @rem @rem Redistribution and use in source and binary forms, with or with ...
  • 一:背景 1. 講故事 前段時間有位朋友找到我,說他的窗體程式在客戶這邊出現了卡死,讓我幫忙看下怎麼回事?dump也生成了,既然有dump了那就上 windbg 分析吧。 二:WinDbg 分析 1. 為什麼會卡死 窗體程式的卡死,入口門檻很低,後續往下分析就不一定了,不管怎麼說先用 !clrsta ...
  • 前言 人工智慧時代,人臉識別技術已成為安全驗證、身份識別和用戶交互的關鍵工具。 給大家推薦一款.NET 開源提供了強大的人臉識別 API,工具不僅易於集成,還具備高效處理能力。 本文將介紹一款如何利用這些API,為我們的項目添加智能識別的亮點。 項目介紹 GitHub 上擁有 1.2k 星標的 C# ...