LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2010, 01:50 PM   #1
Critohuitzi
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Unhappy Don't have internet connection: need to install g++ command to use C++ and start coding


I am a Linux newbie...

I don't have an internet connection, therefore I can't use yum to install g++. What I am looking for is a way to install the compiler g++ on my machine, which runs Fedora12, without using the internet. I am currently using internet access from my school account.

...please help...

Last edited by Critohuitzi; 11-01-2010 at 01:51 PM. Reason: bad spelling
 
Old 11-01-2010, 02:17 PM   #2
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
You might try getting the RPMs for gcc and all needed dependencies while you're at school, and burn them to a CD/DVD. Then install them at your home computer. This link might help:
http://unclean.org/howto/gcchowto.html
 
Old 11-01-2010, 02:21 PM   #3
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Download GCC at school (http://www.gnu.org/software/gcc/). Put it on a flash drive or cd, and install it on your offline machine. Of course, you will have to download any dependencies also.
 
Old 11-01-2010, 02:42 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
If the computer does not have an internet connection, I assume you installed Fedora using a burned CD/DVD?

If so, check the installation disc(s). I would be shocked if the installation discs did not have a RPM for gcc on them.

I don't use Fedora, so I can't say where those RPMs would be stored or what commands to use for installing from a file. Those answers could be found with some Google searching.
 
  


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
opengl on fedora how to start coding? ashjas Fedora 1 01-17-2008 06:41 AM
LXer: Why I Stopped Coding and Why I'd Start Again LXer Syndicated Linux News 0 01-19-2007 06:54 AM
viewing command coding. dr_zayus69 Linux - Software 4 12-16-2004 11:17 PM
Shell coding, multi-command prompt maniac01 Programming 3 03-02-2004 10:48 AM
I need information on a place to start coding C++ in Linux Manyguns Programming 1 06-06-2001 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 AM.

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