How to install software on CentOS7

angryTom
Release: 2020-03-17 09:46:18
Original
9761 people have browsed it

There are many ways to install software on CentOS. Below we will introduce the two simplest software installation methods. I hope it will be helpful to you!

How to install software on CentOS7

How to install software in CentOS7

Method 1: Use yum package manager to install software online

1. Install gcc as an example

yum install gcc
Copy after login

or (recommended learning: jquery video tutorial)

yum -y install gcc
Copy after login

-y means if asked during the installation process, the default input y .

Method 2:Download the source code, use compile and install

1, compile and install Python3.7 as an example

wget https://www.openssl.org/source/
tar zxvf Python-3.7.0.tgz    # 解压
cd Python-3.7.0              # 切换到刚才解压出的 Python-3.7.0路径
./configure                  # 自动配置一些路径之类。
make                         # 编译代码
make install                 #将编译生成的安装文件,拷贝到对应的目录去
Copy after login

2, Compile and install openssl as an example

wget https://www.openssl.org/source/openssl-1.0.2r.tar.gz # 下载
tar zxvf openssl-1.0.2r.tar.gz
cd openssl-1.0.2r
./config
make && make install
Copy after login

This article comes from the PHP Chinese website, CentOS usage tutorial column, please pay attention to this column for more related tutorials!

The above is the detailed content of How to install software on CentOS7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template