Home  >  Q&A  >  body text

centos7 - linux命令行下怎样下载软件呢?

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

阿神阿神2744 days ago973

reply all(9)I'll reply

  • 怪我咯

    怪我咯2017-04-17 13:31:37

    The original command methods are: wget, curl

    reply
    0
  • 黄舟

    黄舟2017-04-17 13:31:37

    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?

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:31:37

    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

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:31:37

    It must be wget

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 13:31:37

    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

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 13:31:37

    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

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 13:31:37

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

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:31:37

    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.

    reply
    0
  • 阿神

    阿神2017-04-17 13:31:37

    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

    reply
    0
  • Cancelreply