LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux with complete GCC already installed on CD without need for internet ? (https://www.linuxquestions.org/questions/linux-newbie-8/linux-with-complete-gcc-already-installed-on-cd-without-need-for-internet-930758/)

paulbmann 02-22-2012 04:15 PM

Linux with complete GCC already installed on CD without need for internet ?
 
I'm looking for a distritution of Linux on a CD for installation to my hard disk that already has GCC (gcc and g++) installed and I don't want to be required to issue the command:

sudo agt-get install "Deveopment Tools" or
sudo apt-get install build-essential or
sudo apt-get install gcc or
sudo apt-get install g++ or
anything else

because I don't have internet at home.

I have seen answers to this question, but the answers say that GCC is already installed on 90% of the distros already. This is simply not true. Here's what happened after installing PCLinuxOS to my hard disk:
I typed:

gcc lrstar.cpp -lstdc++ -olrstar

I got a response:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

The usually response is that I have to issue one of the above commands such as:

sudo agt-get install "Deveopment Tools"

Well I don't have internet at home and I don't want it at home.
If Linux is so great, tell my where to get a download of the GCC development tools that I can install.

I have tried many Linux distros and I'm not really impressed. Please
convince me that Linux is good, because I'm getting more dissatisfied with Windows since Windows 7 came out.

Is there a Linux disto CD that has the complete GCC developer tools already installed that I can download and install without having access to the internet ?

This is something I can do with Visual Studio Express C++.

Janus_Hyperion 02-22-2012 04:26 PM

If I recall correctly, Linux Mint has gcc installed by default. As I said, I am not sure about this ... unfortunately.

TobiSGD 02-22-2012 04:27 PM

Actually, Linux is not here to impress you, and the default packages on a distribution have no impact on its greatness.
Having said that, try Slackware, it has all you need.

snowday 02-22-2012 04:31 PM

Off the top of my head, both Debian and Slackware have large DVD/multi-CD collections with tons of packages, perfect for users such as yourself without internet connection.

It is not Linux's fault you don't have Internet. ;)

paulbmann 02-22-2012 04:38 PM

"Actually, Linux is not here to impress you" ...

and neither are you, but I appreciate your answer.

Dark_Helmet 02-22-2012 04:42 PM

I can't speak for every distribution, but Debian (and probably Ubuntu) installation DVDs will "ship" with the compiler on the DVD but not necessarily installed along with the system.

Specifically, when I install Debian, the installer asks if I want to add an internet mirror for packages. If none is given, then apt-get should only look for packages in the DVD entries found in /etc/apt.sources (which corresponds to the installation DVD(s)).

Debian provides (excuse my language) a crap-ton of installation DVD images to download. I will not presume to tell you what is on each, but that information should be "out there" on the Debian website somewhere. If you were to force me to guess, I would feel safe that gcc, g++, make, etc. would be included in the first DVD image.

Keep in mind though, that you will still need to use the "apt-get install" command, but like I said, if you do not provide a network mirror, your installation DVD(s) will be scanned for the packages.


As a side note...
Quote:

If Linux is so great, tell my ...
Please convince me that Linux is good
That's not the right approach. There are some linux zealots/fanboys out there that will rip their shirts off and climb into a cage for a deathmatch with anyone that dares insinuate that Linux is inferior in any way to any other OS.

Then there are normal people that realize a computer's OS is just a tool. I like to consider myself a "normal" person. Use whatever OS works/makes sense for you. Understand though, you will encounter time-consuming frustration during your use of Linux. This is because you will have to unlearn habits you picked up while using Windows.

EDIT:
As I mentioned earlier. There is a Debian FAQ answer that directs users to a search engine to find which image contains a particular package. Be aware that if you use the "substring search" search (which is the default), the search will take a while.

EDIT2:
And I did a search myself for make. According to the results, make version 3.81 is included in the first installation CD and first installation DVD. Also, gcc version 4.4 in located on the first installation CD and first installation DVD.

And for reference, your /etc/apt.sources file should have a like that looks like this, but all other lines without "cdrom" should be commented (i.e. have a '#' at the beginning of the line):
Code:

deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official amd64 DVD Binary-1 20110626-16:33]/ squeeze contrib main
Again, your line will look different based on the version of Debian you installed, your processor type, etc.

polinux 02-22-2012 04:53 PM

My choice would go to OpenSuSE prepared through free Suse Studio. You can edit everything before building your own *.iso.

I did it that way with all needed packages for my servers and wallpapers and company logos. It's amazing tool.

Registration is free. And you can choose whatever flavour of desktop you like. I did choose XFCE as its fast. :)

Anyway do your own research but I do recomend it that way.

paulbmann 02-22-2012 05:25 PM

SuseStudio.com looks good at first until you find out that the Developers Sofware has about 10,000 programs (choices).
I don't have a PhD in GNU software packages, so ... I will look for something else.

Slackware looks good at first, maybe I'll try the DVD version of Slackware.

polinux 02-22-2012 05:36 PM

It's true that it's overwhelming before you actually login into the actual panel. If you would survive that far you will be able to create your own iso.

But I can understand its not that easy.

If you want I can create u one. Just send me pm with the exact list of needed packages and I'll build it for you. :).

paulbmann 02-22-2012 05:45 PM

Well, that is the problem. I don't know the list of needed packages for Linux.
With Windows I just download the Visual Studio C++ Express ISO file and install it.
With Linux I select GCC and it may require MAKE, then GDB, then EMACS, then something else.
It could take weeks before I know what I need to be completely set up. That is the problem
I am having with Linux distros. You can have anything that you want, but you don't know what
you need until you have a PhD in Linux packages.

I will get there eventually, I hope, because people are asking for a Linux version of my
software.

polinux 02-22-2012 05:51 PM

I see.

Usually when you install packages through something like zypper or yum, all dependencies are sorted and all packages are installed. So in Suse Studio I think is the same.
What you would need to know the main packages that are needed.

snowday 02-22-2012 06:03 PM

In Slackware "D series" has the development tools. They will be installed automatically if you do the default full DVD install.

In Debian based distros you want "build-essential" and as Dark Helmet rightly points out it is on DVD/CD 1.

These questions are easily answered, there is no need to throw up your hands in frustration. :)

John VV 02-22-2012 08:11 PM

any major distro will have the autotools and all the needed development tools on the dvd
now a live CD is SMALL only 600 meg
most "live" cd's do mot have much .There is NO ROOM .

a dvd with 4.6 Gig of space ,has room

install a dvd install and not a "live CD"

suicidaleggroll 02-22-2012 09:52 PM

Like has been said before, use the DVD iso, not the CD iso. It should include the vast majority of packages available, which you can install as needed without an internet connection. Fedora even lets you select any packages you want at install time, no need to go through the post-install apt-get/yum to grab the packages you need off of the DVD.

paulbmann 02-29-2012 11:05 AM

OpenSUSE (DVD) did not install on my computer. It got hung up and the monitor went black for 10 minutes, then I turned off the computer.

Slackware is ancient and hard to install according to the very experienced computer geek at the local computer store. He recommended CentOS.

CentOS was not able to mount any of my Windows partitions (hard drives), complained about not being able to read NTFS file system.

Ubuntu (live CD) is hostile toward programmers -- seems made for end users only.

PCLinuxOS was the most impressive so far -- might go with that.
Only PCLinuxOS allowed me to easily change the boot order.
PCLinuxOS had the best hard disk install procedure.

Fedora (live CD) was unable to shutdown my computer.

Knoppix (live CD) was unable to shutdown my computer.

LinuxMint (CD) was unable to shutdown my computer (couldn't even find a "shutdown" button anywhere (weird)).

All of the Linux file managers are ugly compared to the Windows file manager. Most of the fonts in the Terminal
window are compromised, some characters being fuzzy, gives me headaches.

Whoever said "Linux does not exist to impress me" was correct, so I probably won't use it, except when forced to.


All times are GMT -5. The time now is 03:19 PM.