用yum安装基本软件

2022-10-25 19:32:21 浏览数 (1)

代码语言:javascript复制
yum install -y gcc* 
yum install -y zlib* 
yum install -y glibc* 
yum install -y boost-* --skip-broken
yum install -y lib* --skip-broken
yum install -y compat-* 
yum install -y java-*  --skip-broken
yum install -y pip* 
yum install -y python2-pip.noarch python34-pip.noarch
yum install -y cmake3.x86_64 cmake.x86_64
yum install -y ncurses-devel.i686 ncurses-devel.x86_64 
yum install -y root.x86_64
yum install -y libcurl-devel.i686 libcurl-devel.x86_64 libcurl.i686 libcurl.x86_64
yum install -y libXScrnSaver.i686 libXScrnSaver.x86_64
yum  install -y argtable.x86_64  argtable-devel.x86_64
yum install -y openssl-devel
yum install -y libstdc  .i686 libstdc  .x86_64 libstdc  -devel.i686 libstdc  -devel.x86_64 libstdc  -static.i686 libstdc  -static.x86_64 compat-libstdc  -33.i686 compat-libstdc  -33.x86_64
yum install -y tbb-devel.x86_64
yum install -y gsl-devel.i686   gsl-devel.x86_64 gsl.i686 gsl.x86_64
yum install -y perl-Sys-SigAction.noarch
yum install -y build-essentials
yum install -y swig-doc.noarch
yum install -y swig.x86_64
yum install -y libcurl-devel.i686
yum install -y libcurl-devel.x86_64
yum install -y libcurl.i686
yum install -y libcurl.x86_64
yum install -y glibc-devel.i686
yum install -y glibc-devel.x86_64
yum install -y libXtst-devel.i686
yum install -y libXtst-devel.x86_64
yum install -y openssl-devel.i686
yum install -y openssl-devel.x86_64
yum install -y xmlsec1.x86_64
yum install -y xmlsec1.i686
yum install -y xmlsec1-nss.x86_64 
yum install -y xmlsec1-nss.i686
yum install -y xmlsec1-openssl.x86_64
yum install -y xmlsec1-openssl.i686
yum install -y xmlsec1-openssl-devel.x86_64
yum install -y libquadmath.i686
yum install -y libquadmath.x86_64
yum install -y libquadmath-devel.i686
yum install -y libquadmath-devel.x86_64
yum install -y libstdc  -static
yum install -y pandoc.x86_64
yum install -y pcre2.x86_64
yum install -y pcre.x86_64
yum install -y pcre2.x86_64
yum install -y ImageMagick* --skip-broken

安装python模块

代码语言:javascript复制
yum install -y python3-* --skip-broken

安装perl模块

代码语言:javascript复制
yum install -y perl-* --skip-broken

perl这一块的安装包找不到,可以用conda来安装,还有cpanm来安装

代码语言:javascript复制
(base) xiehs 09:45:56 ~
$ cpanm XML::Parser
--> Working on XML::Parser
Fetching http://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz ... OK
Configuring XML-Parser-2.46 ... OK
Building and testing XML-Parser-2.46 ... OK
Successfully installed XML-Parser-2.46 (upgraded from 2.41)
1 distribution installed

其他应用

代码语言:javascript复制
yum install -y dnf
yum install -y git 
yum install -y tree 
yum install -y htop 
yum install -y screen
yum install -y lftp
yum install -y iftop
yum install -y tmux
yum install -y podman-docker.noarch
yum install -y pbzip2 nethogs

检查更新

代码语言:javascript复制
yum check-update

更新

代码语言:javascript复制
yum update

升级centos-stream

代码语言:javascript复制
#默认腾讯云centos8.2系统
#升级到centos-stream
dnf swap centos-linux-repos centos-stream-repos 
dnf distro-sync

完成后查看下当前系统

代码语言:javascript复制
Complete!
root 10:07:45 ~
$ cat /etc/centos-release
CentOS Stream release 8

写在最后:有时间我们会努力更新的。大家互动交流可以前去论坛,地址在下面,复制去浏览器即可访问,弥补下公众号没有留言功能的缺憾。原地址暂未启用(bioinfoer.com)。

代码语言:javascript复制
sx.voiceclouds.cn

有些板块也可以预设为大家日常趣事的分享等,欢迎大家来提建议。

0 人点赞