Installing GCC on Debian

rwechter at liberatortime.com rwechter at liberatortime.com
Tue Nov 11 13:41:19 EST 2003


Mark,

Thanks for all of the input - using apt-select and updating my CD
information in apt-setup, running

apt-get install gcc

fixed my issue.  My curiosity is why is this different form dpkg - but as
long as it work thats fine.  Its almost like dpkg doesn't configure the
package, it just installs it.

My next challenge will be to get gcc v3.x running in Debian.  If anyone has
any pre pointers they would be appreciated.

ONWARD and UPWARD

Today's Personal Microsoft'ism
------------------------------
Today I spent half the work day installing and reinstalling SQL to test
settings and install options -- Reinstalling packages in linux 20-30
different times did not require me to reboot.  Think about the time that was
saved learning and not rebooting in linux as compared to Windows :)

Ron

-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org]On Behalf Of
Mark T. Valites
Sent: Monday, November 10, 2003 1:50 PM
To: nflug at nflug.org
Subject: RE: Installing GCC on Debian


On Mon, 10 Nov 2003 rwechter at liberatortime.com wrote:

> One issue with using the apt-get prog...I dont have a network connection -
> hence the reason why Im trying to recompile the kernel.  Is there a way to
> tell apt-get to get the packages from my cds.  I installed GCC via dpkg -
> Isnt that supposed to make all the necessary links and questions the
> dependancies?
>
> This stirs two more questions:
> What exactly does apt-get do vs. dpkg?

apt fetches packages from a list of specified sources. Mostly these are
ftp or http urls, but they can also be local disks or removeable media.
By running apt-setup, you can tell apt to look to the cds. (Or you can
manually edit /etc/apt/sources.list) But if you're using dpkg pointed at
files on the cd, you probably don't need to even bother...

The beauty of apt is its ability to get automatically fetch any additional
dependencies for what ever you're trying to install. dpkg will just tell
you package X is required and expect you to manually satisfy the
dependencies.

Other than that, apt actually uses dpkg once it fetches debs.

> What does one do if no internet connection is available?

Give up and cry - the network is the computer? or use those cds like you
mentioned above...

But perhaps this begs a simpler question - why isn't your networking
working?

1. Do you have a network connection available?
2. Is the module for your NIC/I-hope-you're-not-stuck-on-a-modem loaded?

'modconf' will handle module loading & dependencies in Debian. If you have
a NIC and a broadband connection, odds are pretty good Debian has a module
for the NIC.

--
Mark T. Valites
Unix Systems Analyst
CIT - SUNY Geneseo
>--))> >--))>





More information about the nflug mailing list