LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02: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 02:51 PM. Reason: bad spelling
 
Old 11-01-2010, 03:17 PM   #2
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

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, 03:21 PM   #3
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 431

Rep: Reputation: 33
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, 03:42 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 01:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration