LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2014, 06:52 AM   #1
rahulvishwakarma
Member
 
Registered: Aug 2010
Posts: 138

Rep: Reputation: 2
Unhappy how to install gcc-4.8.3 offline?


hi to all,
I have installed centos 6.4 on my desktop PC. Now I have no internet connection. I've downloaded gcc-4.8.3 recently but it requires some prerequisites. I've downloaded these from cybercafe. now how can I install gcc-4.8.3? Please somebody guide me.
 
Old 07-09-2014, 03:33 PM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 38
Put all the files in a directory and use rpm

rpm -ivh gcc-4.8.3-xxxxx.rpm file.rpm file.rpm file.rpm

if it asks for file2.rpm then add it to the list until it stops asking and installs.

You could use a for loop but then if a file is not required then that would be installed also.
 
Old 07-09-2014, 05:04 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you are going to have many almost unsolvable problems getting gcc 4.8 built on CentOS 6.5
it would be VERY difficult if you had a network connection and almost impossible with out

the DEFAULT version of gcc that centos 6.5 is built on and uses is 4.4
getting 4.8 to build will require you to build a "ghost" operating system that is newer that centos 6.5

if you MUST!! 100% must use 4.8
install Fedora 19
or for gcc 4.9 install fedora 20
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Offline LXDE install on minimal debian install sycho123321 Linux - Newbie 2 06-04-2014 05:47 PM
Getting all RPMs needed by 'yum install pkg1 pkg2 pkg3' to install on offline system veeruk101 Linux - Newbie 10 06-14-2011 01:51 AM
offline installation of gcc and drivers for vodafone internet key K3715 on fedora 10 Muryan Linux - Newbie 0 05-19-2009 03:59 AM
offline installing gcc to fedora 10 amira77e Linux - Newbie 1 01-27-2009 03:00 PM
how to install gcc offline because my computer is not connected to internet sumeet inani Linux - Newbie 4 10-29-2008 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration