I just installed SUSE 12.2 from a DVD on computer A. However, the DVD does not have gcc or make. Computer A does not have an internet connection.
I have other computers with internet (Macs) and downloaded openSUSE-12.2-DVD-x86_64.iso, which (I think) contains what I want. I could copy this file to computer A using an external drive.
What commands do I then give to the terminal on Computer A to install gcc and make?
You will need dependencies of the package as well. Then you can use yast to temporarily add a flat folder full of rpms as a repository (even if the flat folder is on a cd). Go into the software settings and view the repository and install the rpms from there. Then when done remove the folder as a repository. As long as you have all the dependencies of course. They will also need to be the correct arch. x86_64 packages will not install on a i586 system.
I am not 100% sure if the dvd image of openSUSE has gcc/make on it. If it does the easiest path might just be installing and burning one of those.
Thanks. I figured out the problem was that I was not logged in as root (even though I had root privileges). I have installed make.
But now make can’t find gcc. I’ve looked, and it seems gcc is not installed. How do I get it? I’ve tried searching the web with “suse 12.2 gcc” but nothing usable comes up. I find endless chains of links to other pages with descriptions or links, but nothing usable comes up. I will have to download some file (with my Mac) that can be carried over with an external drive to computer A, which is running suse 12.2.
Thanks again. Bear with me here, as I am no expert in Linux or Unix.
I am able to see the contents of my iso file. Yes, I find within it under suse/x86_64 the item gcc47-4.7.1(blah blah)64.rpm, occupying 6.1 meg. That sounds good! But how in the world do I install it?
Hmm. I click on these items i see listed in the iso and a box pops up “do you want to install with Yast?” I say yes, but it doesn’t work. It keeps failing. I keep getting a message about linux-glibc-devel installation failed. I hope it’s not trying to download something, as I have no internet connection! The whole point is that I need to have everything here on computer A as a file or files.
I finally go it. Eventually, reading the error messages, I figured out I needed several rpm files, but first I needed to have | |linux-glibc-devel-3.4.0-2.1.23.noarch.rpm. After that, to my astonishment, it all worked.
|—|
|
Thanks for your help.
I know the people who do Linux are mostly volunteers, and I thank them all. I do wish, however, that someone had thought of this problem. It would be nice if a single large archive could be produced having all developer tools and C compilers, requiring one click to install.
It is single click if you have correct openSUSE repository for your version. Just select gcc and yast/zypper will automatically find and install all needed dependencies. If you tried it and it did not work, this is a bug that must be reported. But as far as I understand you tried to install RPM directly.
Hi
Yes that was tried like I said new user, they found it easier to
install via rpm/zypper. The reason for the local repo iso image I’m
sure will be the subject of another thread.
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 1 day 10:08, 3 users, load average: 0.24, 0.12, 0.07
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
Have used Suse before, since version 9.3. Long time programmer, mostly on Macs, many programming languages. Use C for large projects. Know a fair amount of Unix commands, but never heard of zypper before.
Desired target Linux computer does not have internet.
Bought installation DVD for Suse 12.2. Installed it. Found no make command or gcc.
Recommend you have one large file somewhere - iso, rpm, whatever - that can be downloaded to one computer and ported to another with an external drive. It could be 100 meg or more in size, don’t care. Then one (or two clicks) will effortlessly install all development environment, C/C++ compilers, 32 bit, 64 bit, etc. (I don’t care about Fortran, but I guess some people would.)
It took me hours of puzzling over error messages and searching the internet to finally get every file I needed. Were I not experienced in Unix commands, it would have been utterly hopeless.
Am 01.10.2012 16:16, schrieb rhlewis:
> 3) Bought installation DVD for Suse 12.2. Installed it. Found no make
> command or gcc.
Where did you buy it? I looked in my 12.2 DVD downloaded from opensuse.org and it contains, make, gcc and even some not so often used
compilers like gfortran, so everything for basic development is there in
the iso.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.1 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
“Where did you buy it? I looked in my 12.2 DVD downloaded from opensuse.org and it contains, make, gcc and even some not so often used
compilers like gfortran, so everything for basic development is there in
the iso.”
Actually on the disk? Not requiring internet?
I never heard of opensuse.org before this. I found it on Amazon and bought it for around $26.00 (with grant money ).