Download software directly from GitHub to Linux(Redhat)

1) Install the git package.

yum -y install git

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.uhost.hk
 * extras: centos.uhost.hk
 * updates: centos.uhost.hk
Package git-1.8.3.1-6.el7_2.1.x86_64 already installed and latest version

2) Clone the package using the URL.

[root@replication extension]# git clone https://github.com/EnterpriseDB/mysql_fdw.git
Cloning into ‘mysql_fdw’…
remote: Counting objects: 399, done.
remote: Total 399 (delta 0), reused 0 (delta 0), pack-reused 399
Receiving objects: 100% (399/399), 211.40 KiB | 134.00 KiB/s, done.
Resolving deltas: 100% (240/240), done.
[root@replication extension]# cd mysql_fdw/
[root@replication mysql_fdw]# ls -ltr
total 180
-rw-r–r– 1 root root  8965 Oct 25 12:05 README.md
-rw-r–r– 1 root root  1155 Oct 25 12:05 META.json
-rw-r–r– 1 root root  1558 Oct 25 12:05 Makefile
-rw-r–r– 1 root root  1038 Oct 25 12:05 LICENSE
….
….
….

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s