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 OUTPUT /usr/local/gcc-2.95.3/bin/gcc /usr/lib/gcc /home/lxuser/Desktop/gnat/gnat-2008-i686-gnu-linux-libc2.3-bin/lib/gcc /home/lxuser/Desktop/gnat/gnat-2008-i686-gnu-linux-libc2.3-bin/lib/gcc/i686 -pc-linux-gnu/4.1.3/gcc-include/gcc /home/lxuser/Desktop/gnat/gnat-2008-i686-gnu-linux-libc2.3-bin/libexec/gcc /home/lxuser/Desktop/gnat/gnat-2008-i686-gnu-linux-libc2.3-bin/bin/gcc (2)added these folders to search path & then checked search path as follows echo $PATH OUTPUT /home/lxuser/Desktop/gnat/gnat-2008-i686-gnu-linux-libc2.3-bin/lib/gcc:/hom e/lxuser/Desktop/gnat/gnat-2008-i686-gnu-linux-libc2.3-bin/lib/gcc/i686-pc-linux-gnu/4.1.3/gcc-include/gcc:/home/lxuser/Desktop/gnat/gnat-2008-i686-gnu-linux-libc2.3-bin/libexec/gcc:/home/lxuser/Desktop/gnat/gnat-2008-i686-gnu-linux-libc2.3-bin/bin/gcc:/usr/lib/gcc:/home/lxuser/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin (3)Then i tried to install gstreamer ugly plugin as follows linux-nude:/home/lxuser/Desktop/gst-plugins-ugly-0.10.9 # ./configure OUTPUT 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 ftp://rpmfind.net/linux/fedora/devel...6/os/Packages/. 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 OUTPUT 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 libgomp.so.1 is needed by gcc-4.3.2-6.i386 (3)also # rpm -q gcc OUTPUT package gcc is not installed # rpm -q gcc-c++ OUTPUT package gcc-c++ is not installed PLEASE NOTE (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). |
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 Done! BTW - you probably want to lose GJC. I'd strongly recommend using Sun Java, unless you had a compelling reason to do otherwise. |
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.
|
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?
|
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. |
All times are GMT -5. The time now is 09:18 PM. |