我是靠谱客的博主 激昂河马,最近开发中收集的这篇文章主要介绍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 Codenbaseurl=https://packages.microsoft.com/yumrepos/vscodenenabled=1ngpgcheck=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.
最后
以上就是激昂河马为你收集整理的Linux CentOS 8 chrome 、visual studio、lib office的全部内容,希望文章能够帮你解决Linux CentOS 8 chrome 、visual studio、lib office所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复