Home Operation and Maintenance CentOS How to install software on CentOS7

How to install software on CentOS7

Mar 17, 2020 am 09:46 AM
centos install software

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!

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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to input Chinese in centos How to input Chinese in centos Apr 07, 2024 pm 08:21 PM

How to input Chinese in centos

How to read USB disk files in centos7 How to read USB disk files in centos7 Apr 07, 2024 pm 08:18 PM

How to read USB disk files in centos7

How to enter root permissions in centos7 How to enter root permissions in centos7 Apr 02, 2024 pm 08:57 PM

How to enter root permissions in centos7

SCP usage tips-recursively exclude files SCP usage tips-recursively exclude files Apr 22, 2024 am 09:04 AM

SCP usage tips-recursively exclude files

What to do if you forget your password to log in to centos What to do if you forget your password to log in to centos Apr 07, 2024 pm 07:33 PM

What to do if you forget your password to log in to centos

What should I do if I forget my centos username and password? What should I do if I forget my centos username and password? Apr 02, 2024 pm 08:54 PM

What should I do if I forget my centos username and password?

How to enable root permissions in centos7 How to enable root permissions in centos7 Apr 07, 2024 pm 08:03 PM

How to enable root permissions in centos7

How to install software on oppo mobile phone How to install software on oppo mobile phone Mar 26, 2024 am 08:10 AM

How to install software on oppo mobile phone

See all articles