Linux CentOS 8 chrome 、visual studio、lib office

安装wget下载工具

 sudo dnf -y install wget

1.安装chrome浏览器

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

sudo dnf -y localinstall google-chrome-stable_current_x86_64.rpm

如果能下载到某个软件的rpm包,直接管理员运行 dnf localinstall 软件名字 就可以了

出现打不开的情况

[root@moon bin]# /usr/bin/google-chrome
[3646:3646:1105/230728.278560:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
vi /usr/share/applications/google-chrome.desktop

Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
Exec=/usr/bin/google-chrome-stable %U -no-sandbox//加上这个

2.Visual Studio Code

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1
\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

dnf check-update

sudo dnf install code

3.安装libre office

1)下载LibreOffice_7.2.2_Linux_x86-64_rpm.tar.gz

https://www.libreoffice.org/download/download/

2)先删除已经安装的 LibreOffice

 yum remove libreoffice*

3)解压安装包

tar -xvf LibreOffice_6.0.5_Linux_x86-64_rpm.tar.gz

4) 阅读说明书

/home/user/Downloads/LibreOffice_7.2.2.2_Linux_x86-64_rpm/readmes

* Linux Kernel version 3.10 or higher;
* glibc2 version 2.17 or higher;
* FreeType version 2.8.0 or higher;
* GTK version 3.20 or higher;
* Gnome 3.18 or higher, with the at-spi2 1.32 package (required for support for assistive technology [AT] tools), or another compatible GUI (such as KDE, among others).


查看内核:uname -srm

查看glib2:ldd --version

FreeType:cat /usr/share/doc/freetype/README

gtk:cat /usr/share/doc/gtk3/README

Gnome:setting->details->about

发现/usr/share/doc中有各种程序的说明文当 

5)安装

This directory contains a subdirectory called "RPMS". Change directory to the "RPMS" directory.

Right-click within the directory and choose "Open in Terminal". A terminal window will open. From the command line of the 
terminal window, enter the following command (you will be prompted to enter your root user's password before the command w
ill execute):

For Fedora-based systems: sudo dnf install *.rpm

For Mandriva-based systems: sudo urpmi *.rpm

For other RPM-based systems (openSUSE, etc.): rpm -Uvh *.rpm

The installation process is now completed, and you should have icons for all the LibreOffice applications in your desktop'
s Applications/Office menu.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值