centos7 - linux命令行下怎样下载软件呢?
阿神
阿神 2017-04-17 13:29:37
0
9
965

安装了个centos 7 mini版的,不使用yum的话不知道该怎样下载软件,想安装filezllia、mysql、php等软件的最新版,请问该怎样下载啊?

阿神
阿神

闭关修行中......

reply all(9)
刘奇

The original command methods are: wget, curl

黄舟

First go to the major official websites to find the latest version download address

Then wget, axel, curl == ... why not use yum - -

Do you have to use the command line for this? Also, isn't it the same as using filezilla directly through the browser?

洪涛

FileZilla Server only supports Windows. If you want to use an FTP server, it is recommended to use ProFTPD (simple configuration) or VSFTPD. Since there are many Linux distributions, such as PHP and other open source software, the official version generally does not provide binary version downloads. If To use the latest version, you need to download the source code and compile it yourself.

Newbies are still advised to use yum to install software, and use the version in the software source with peace of mind. You can also try to download and compile the latest version yourself. For example, I compiled and packaged PHP7 across Linux distributions on Ubuntu, which has detailed compilation and installation instructions. Steps:
http://my.oschina.net/eechen/blog/371643

洪涛

It must be wget

巴扎黑

wget usually download a file and then install it.
curl It seems that it is better to use it to download the installation script, because it returns the content of the request URL, and then > file redirects (outputs) the content to a file. Well, if you insist on using It’s not impossible to download compressed packages or something

Peter_Zhu

I don’t know if the poster wants to just download or manage software packages?
If you are just doing command line downloads, use wget cURL aria2 These are all command line download tools


If you want to do package management, there is a tool called linux under linuxbrew, which is based on homebrew's

Peter_Zhu

For downloading, wget is used more frequently and is relatively simple

小葫芦

Centos also has the rpm command, and you can also configure third-party software sources with yum. It is enough to learn to flexibly configure the yum mirror source. In addition, many niche software generally provide shell scripts for automated installation. No need to worry too much.

阿神

rpm can install remote packages, but this package is made by someone else. Another commonly used method is to download the source code package with wget and compile and install it yourself. Red Hat system also has a dnf package management, you can study it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!