LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-08-2006, 09:32 AM   #1
karuci
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
How to install gcc without internet?


Hi,

i just installed version 6 of ubuntu and i have some problems. First of all i can use internet only with windows partition...in ubuntu i dont have gcc, so i can't use many things without c-compiler...can someone tell me how to install gcc with no internet support?

Thx in advance for ur answers
karuci
 
Old 07-08-2006, 09:56 AM   #2
tgo
Member
 
Registered: Dec 2004
Posts: 125

Rep: Reputation: 15
I am not 100% sure why you need gcc to access the internet, all the binaries you should need come preinstalled. Why are you thinking that you need gcc for the internet?

And to answer your question ... someone mentioned this in another post yesterday, but you could download the .deb files while on windows. then mount your windows drive while in ubuntu and install it from there.
 
Old 07-08-2006, 10:03 AM   #3
karuci
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tgo
I am not 100% sure why you need gcc to access the internet, all the binaries you should need come preinstalled. Why are you thinking that you need gcc for the internet?
well a friend told me i have to use 'apt-get' and download files from internet(he sad if my ubuntu is not connected to internet i will have a lot of problem will installing applications)... i just created a FAT32 partition and mounted.. so now what are the files i should download so i can have gcc in my ubuntu?

Last edited by karuci; 07-08-2006 at 10:05 AM.
 
Old 07-08-2006, 11:01 AM   #4
tgo
Member
 
Registered: Dec 2004
Posts: 125

Rep: Reputation: 15
go to http://ring.nict.go.jp/archives/linu...n/pool/main/g/ find the version of gcc you want. download the .deb for your arch ( probably i386 ) then when you get the .deb file do:

dpkg --install gcc-x-whatever.deb
 
Old 07-08-2006, 11:42 AM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
The build-essential package is on both Ubuntu CDs--Desktop and Alternate.

Just pop the CD in and
Code:
sudo apt-cdrom add
sudo aptitude update
sudo aptitude install build-essential
 
Old 07-08-2006, 11:42 AM   #6
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
How do you use to connect to the web using Windows? Getting internet access on Ubuntu shouldn't be the hardest exercise...
 
Old 07-09-2006, 09:16 AM   #7
karuci
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by robbbert
How do you use to connect to the web using Windows? Getting internet access on Ubuntu shouldn't be the hardest exercise...
well i use wireless orinoco usb client, and i need to install drivers..so allmost 3 days that i installed ubuntu i can't access the internet...so belive me its very very hard
 
Old 07-09-2006, 09:18 AM   #8
karuci
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tgo
go to http://ring.nict.go.jp/archives/linu...n/pool/main/g/ find the version of gcc you want. download the .deb for your arch ( probably i386 ) then when you get the .deb file do:

dpkg --install gcc-x-whatever.deb
thx for the link...i'll see if ti works


Quote:
Originally Posted by aysiu
The build-essential package is on both Ubuntu CDs--Desktop and Alternate.

Just pop the CD in and
Code:
sudo apt-cdrom add
sudo aptitude update
sudo aptitude install build-essential
ok i will check this later..thx for ur help



Quote:
Originally Posted by robbbert
How do you use to connect to the web using Windows? Getting internet access on Ubuntu shouldn't be the hardest exercise...
well i use wireless orinoco usb client, and i need to install drivers..so allmost 3 days that i installed ubuntu i can't access the internet...so belive me its very very hard...with windows i just installed the drivers from CD and in 1 minute i had internet..
 
Old 07-09-2006, 09:57 AM   #9
karuci
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by aysiu

Just pop the CD in and
Code:
sudo apt-cdrom add
sudo aptitude update
sudo aptitude install build-essential
Ok i did this and i got a "question" if i want to remove the system(some 80% of the ubuntu, not 100%)..so i dont get it y i need to remove the system?
 
Old 07-09-2006, 10:28 AM   #10
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Hm. Maybe aptitude is trying to be a bit too "smart" here.

Try this instead, then:
Code:
sudo apt-get update
sudo apt-get install build-essential
 
Old 07-09-2006, 01:47 PM   #11
karuci
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Thx Aysiu now it worked..after i put my CD i got the chance to install the applications that i wanted..now i will try to find some drivers for my Orinoco USB CLIENT SILVER..thx everybody for ur help
 
  


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
Help me install GCC today! <-- 1yr without gcc :( nectron101 Linux - Newbie 4 04-17-2006 07:57 PM
install new gcc v3.4.5 over gcc v3.2.2 on red hat 9 mlaich Linux - Newbie 2 01-01-2006 08:52 PM
Mplayer,GCC caused Internet go down. jared78 Linux - Networking 2 05-31-2005 11:13 PM
Ubuntu: GCC, PPPOE, and vain attempts to connect to the internet trevorv Linux - Newbie 11 02-04-2005 07:57 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:42 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