I am a newbie so please bear with me. I ssh to centos 6.5(RHEL) and wants to upgrade gcc as nonroot user. I have downloaded gcc-8.1.0 tar.bz from mirrors but i am not able to run this download_prerequisite script .these are error i got while running it Please help anyone i also noticed that this script have il version 0.18 while at server gcc.gnu.org.... il.0.18 was not listed but 0.16 etc .i might be wrong. ./contrib/download_prerequisites --directory=home1/pb/gcc-8.1.0 error: No such directory: home1/pb/gcc-8.1.0 [pb@dendrite gcc-8.1.0]$ ./contrib/download_prerequisites --directory=/home1/pb/gcc-8.1.0 gmp-6.1.0.tar.bz2: FAILED sha512sum: WARNING: 1 of 1 computed checksum did NOT match error: Cannot verify integrity of possibly corrupted file gmp-6.1.0.tar.bz2 [pb@dendrite gcc-8.1.0]$ ./contrib/download_prerequisites --directory=/home1/pb/gcc-8.1.0 --md5 ./contrib/download_prerequisites: line 234: md5: command not found error: Cannot verify integrity of possibly corrupted file gmp-6.1.0.tar.bz2 [pb@dendrite gcc-8.1.0]$ ./contrib/download_prerequisites --md5 --directory=/home1/pb/gcc-8.1.0 ./contrib/download_prerequisites: line 234: md5: command not found error: Cannot verify integrity of possibly corrupted file gmp-6.1.0.tar.bz2 [pb@dendrite gcc-8.1.0]$ ./contrib/download_prerequisites --no-verify --directory=/home1/pb/gcc-8.1.0 tar: This does not look like a tar archive bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Function not implemented Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. tar: Child returned status 2 tar: Error is not recoverable: exiting now error: Cannot extract package from gmp-6.1.0.tar.bz2 [pb@dendrite gcc-8.1.0]$ ^C [pb@dendrite gcc-8.1.0]$ ./contrib/download_prerequisites --no-verify --directory=/home1/pb/gcc-8.1.0 tar: This does not look like a tar archive bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Function not implemented Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. tar: Child returned status 2 tar: Error is not recoverable: exiting now error: Cannot extract package from gmp-6.1.0.tar.bz2 [pb@dendrite gcc-8.1.0]$ ./contrib/download_prerequisites -tvv --directory=/home1/pb/gcc-8.1.0 error: unknown option: -tvv [pb@dendrite gcc-8.1.0]$ wget ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 --directory=/home1/pb/gcc-8.1.0 --2018-05-21 11:24:24-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Resolving gcc.gnu.org... 209.132.180.131 Connecting to gcc.gnu.org|209.132.180.131|:21... failed: Connection timed out. Retrying. --2018-05-21 11:25:28-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 (try: 2) => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Connecting to gcc.gnu.org|209.132.180.131|:21... failed: Connection timed out. Retrying. --2018-05-21 11:26:33-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 (try: 3) => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Connecting to gcc.gnu.org|209.132.180.131|:21... failed: Connection timed out. Retrying. --2018-05-21 11:27:39-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 (try: 4) => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Connecting to gcc.gnu.org|209.132.180.131|:21... failed: Connection timed out. Retrying. --2018-05-21 11:28:46-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 (try: 5) => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Connecting to gcc.gnu.org|209.132.180.131|:21... ^X^C [pb@dendrite gcc-8.1.0]$ export http_proxy=http://xxxxxxxxxxxxx_xx [pb@dendrite gcc-8.1.0]$ export http_proxy=http://xxxxxxxxxxxxx@xxxxxxxxx_xx [pb@dendrite gcc-8.1.0]$ wget ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 --directory=/home1/pb/gcc-8.1.0 --2018-05-21 11:31:24-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Resolving gcc.gnu.org... 209.132.180.131 Connecting to gcc.gnu.org|209.132.180.131|:21... failed: Connection timed out. Retrying. --2018-05-21 11:32:29-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 (try: 2) => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Connecting to gcc.gnu.org|209.132.180.131|:21... failed: Connection timed out. Retrying. --2018-05-21 11:33:34-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 (try: 3) => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Connecting to gcc.gnu.org|209.132.180.131|:21... failed: Connection timed out. Retrying. --2018-05-21 11:34:40-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 (try: 4) => “/home1/pb/gcc-8.1.0/gmp-6.1.0.tar.bz2.1” Connecting to gcc.gnu.org|209.132.180.131|:21... failed: Connection timed out. Retrying. ^C [pb@dendrite gcc-8.1.0]$