First, there are two ways to install Linux software:
1, through the Linux Resource Services (similar to APP Shop) installed directly
2, download the tar, extract installation.
Two, Linux software installation service resources
1 Tip: Before a general installation software will look at whether the machine has been installed the software
PS -ef | grep application name
2 to see if there are resources to service our application to be installed
yum Search All | grep nginx: View yum resources, there are no nginx RedHat system apt -cache Search All | grep nginx: View apt resources, there are no nginx Debian system
Generally known linux system is basically divided into two categories:
RedHat series: Redhat,
Centos
, Fedora, etc.
Debian Series: Debian,
Ubuntu
, etc.
RedHat series
Common installation package rpm package format, command to install the rpm package is "rpm - Parameters"
Package management tool
yum
Support tar package
Debian Series
Common installation package format deb package, install deb package is a command "dpkg - Parameters"
Package management tool
apt-get
Support tar package
yum rpm package can be used to operate, such as the management of software on a Fedora system:
Installation: yum install
Uninstall: yum remove
Updated: yum update
apt-get can be used to operate deb package, such as the management of a software on the Ubuntu system:
Installation: apt-get install
Uninstall: apt-get remove
更新:apt-get update
Third, download the tar package is installed
Download Linux need to use the command wget. wget is not the installation, it is a download tool, similar to the Thunder.
Via HTTP, HTTPS, FTP the three most common TCP / IP protocol to download, and can use an HTTP proxy, the name is a combination World Wide Web "and" get "if you want to download a software that can be run directly:
wget Download: such as downloading redis
wget http://download.redis.io/releases/redis-5.0.5.tar.gz
If the current is not ubuntu wget, following installation can be assembled and tested successfully installed if:
sudo apt-get update sudo apt-get install wget wget --version