Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-18-2008, 11:55 PM   #1
sumeet inani
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
how to install gcc offline because my computer is not connected to internet

I have installed opensuse 10.3 from iso image available on website burnt on cd.
(1)First i searched my only single hard disk for gcc as follows
#find / -name gcc

(2)added these folders to search path & then checked search path as follows
echo $PATH

(3)Then i tried to install gstreamer ugly plugin as follows
linux-nude:/home/lxuser/Desktop/gst-plugins-ugly-0.10.9 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

i have
(1)gcc-gij(4.2)the system GNU JAVA bytecode interpreter
(2)Gcc42-gij(4.2.1_20070724) Java bytecode interpreter for gcc
(3)local-gcc(2.95.3)built to /usr/local
(4)libgcj42(4.2.1_20070724) java runtime library for gcc
(5)cpp42(4.2.1_20070724)the gcc preprocessor
(6)glibc(2.6.1)standard shared libraries(from GNU C library)
(7)libgcc42(4.2.1_20070724)C compiler runtime library in my package selector-Yast when I search for gcc.

If i arrange available software in pattern then there is base technology,desktop function,graphical environment nothing like development.

(2)I also downloaded gcc-4.3.2-6.i386.rpm from
It gave the following error
linux-nude:/home/lxuser/Desktop/gst-plugins-ugly-0.10.9 # rpm -i /media/SOURABH/gcc-4.3.2-6.i386.rpm
error: Failed dependencies:
cpp = 4.3.2-6 is needed by gcc-4.3.2-6.i386
glibc-devel >= 2.2.90-12 is needed by gcc-4.3.2-6.i386
libgcc >= 4.3.2-6 is needed by gcc-4.3.2-6.i386
libgomp = 4.3.2-6 is needed by gcc-4.3.2-6.i386 is needed by gcc-4.3.2-6.i386

# rpm -q gcc
package gcc is not installed
# rpm -q gcc-c++
package gcc-c++ is not installed
(1)my computer with open suse OS has no internet connection so I can download required files from somewhere else & install them on mine offline.
(2)machine hardware=processor type=i686 (from uname -mp),hardware platform=i386(from uname -i).
Old 10-19-2008, 01:30 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Gcc should be on your install CD/install DVD.

1. Go into YAST

2. Make sure your CD is one of the "install sources"

3. Look for GCC

4. Install it


BTW - you probably want to lose GJC. I'd strongly recommend using Sun Java, unless you had a compelling reason to do otherwise.
Old 10-22-2008, 01:26 AM   #3
sumeet inani
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
Thank you paulsm4.I will make my opensuse10.3 cd as installation source & then see if i get gcc among available softwares to install.If I get any problem I will report here.
Old 10-23-2008, 11:32 PM   #4
sumeet inani
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
i had downloaded iso image of opensuse10.3 live cd gnome(643MB) & burnt it on a cd.After adding cd drive as installation source i went to install software.Still there is no package named gcc.Also on searching for gcc the 7 things that appear are already installed & mentioned above .Now I am downloading extralanguages iso of 617 MB.Will that help?
Old 10-29-2008, 03:24 AM   #5
sumeet inani
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
To all readers
language addon cd just provides translation for programs so not meant to install software.Download the dvd iso image of corresponding version & make that iso image as source repository then install whichever software you want by searching like i searched for gcc & installed it.This is for those whose linux computer not connected to internet.As you have seen above searching for suitable rpm is also difficult.


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
Unable to verfiy or connect to network using settings from offline computer dcarsee Linux - Networking 3 08-22-2008 07:11 PM
linux 10.0 desktop connected to internet during install for updates so why not now? dicedaniels Linux - Newbie 3 11-05-2006 07:41 PM
How to install gcc without internet? karuci Ubuntu 10 07-09-2006 01:47 PM
Problem with DHCP on computer connected to the internet through a bridging firewall mullog *BSD 2 04-23-2005 08:41 AM
Tunnel all internet traffic through a ssh connected remote computer Bateman Linux - Networking 12 12-10-2004 05:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 AM.

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