LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2003, 12:35 AM   #1
s9722
Member
 
Registered: May 2003
Location: shannon IL
Distribution: slackware 9.1
Posts: 132

Rep: Reputation: 15
Gcc


could I get some step by step instruction to installing GCC I really dont want to mess this up...
 
Old 06-11-2003, 12:40 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Fire up gnorpm and install it from your cds. Or, better yet, install apt4rpm and install with that.

# Redhat links
RedHat Linux Manuals
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
 
Old 06-11-2003, 12:51 AM   #3
s9722
Member
 
Registered: May 2003
Location: shannon IL
Distribution: slackware 9.1
Posts: 132

Original Poster
Rep: Reputation: 15
I have apt-get I guess I shall try that...but its a source file will it configure it for me? or do I have to do it and how?
 
Old 06-11-2003, 01:03 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Open an x terminal and
Code:
[phil@uilleann phil]$ su -
Password: 
[root@uilleann root]#  apt-get update
<output sniped>
[root@uilleann root]#  apt-get update
Get:1 http://ayo.freshrpms.net redhat/7.3/i386 release [1178B]
Fetched 1178B in 1s (803B/s)
Hit http://ayo.freshrpms.net redhat/7.3/i386/os pkglist
Hit http://ayo.freshrpms.net redhat/7.3/i386/os release
Hit http://ayo.freshrpms.net redhat/7.3/i386/updates pkglist
Hit http://ayo.freshrpms.net redhat/7.3/i386/updates release
Hit http://ayo.freshrpms.net redhat/7.3/i386/freshrpms pkglist
Hit http://ayo.freshrpms.net redhat/7.3/i386/freshrpms release
Hit http://ayo.freshrpms.net redhat/7.3/i386/os srclist
Get:1 http://ayo.freshrpms.net redhat/7.3/i386/updates srclist [29.8kB]        
Hit http://ayo.freshrpms.net redhat/7.3/i386/freshrpms srclist                 
Fetched 29.8kB in 12s (2382B/s)                                                
Reading Package Lists... Done
Building Dependency Tree... Done
[root@uilleann root]#  apt-get install synaptic
<output snipped>
[root@uilleann root]#  synaptic
Yes, do update twice, it's not a typo.

Now you can point and click to install if you want a pretty face for it. Now watch it resolve those depencencies you have had so much trouble with.

Last edited by fancypiper; 06-11-2003 at 01:11 AM.
 
Old 06-11-2003, 01:11 AM   #5
s9722
Member
 
Registered: May 2003
Location: shannon IL
Distribution: slackware 9.1
Posts: 132

Original Poster
Rep: Reputation: 15
WOW... what else do I need to install to put in my sound card driver?

my sound card is a audigy 2 platium
 
Old 06-11-2003, 01:13 AM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
A Linux Google or a board search will probably turn up something for your sound card.
 
Old 06-11-2003, 01:14 AM   #7
s9722
Member
 
Registered: May 2003
Location: shannon IL
Distribution: slackware 9.1
Posts: 132

Original Poster
Rep: Reputation: 15
.........yeah I need to know the dependancys...
 
Old 06-11-2003, 01:19 AM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
If it's not in apt-get, you can always search rpmfind

After you get gcc installed, you can compile source code as well.
 
Old 06-11-2003, 01:27 AM   #9
s9722
Member
 
Registered: May 2003
Location: shannon IL
Distribution: slackware 9.1
Posts: 132

Original Poster
Rep: Reputation: 15
ok... I shall try hope I dont mess it up...
 
Old 06-11-2003, 01:34 AM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
How to learn Linux:

1. Break it
2. Fix it
 
Old 06-11-2003, 01:36 AM   #11
s9722
Member
 
Registered: May 2003
Location: shannon IL
Distribution: slackware 9.1
Posts: 132

Original Poster
Rep: Reputation: 15
lol ok how do I unpack a tar.bz2 file is it bzip2 -d:filename then tar -xvf:filename?
 
Old 06-11-2003, 01:41 AM   #12
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
tar should handle it IIRC

Another answer. Don't you just hate those?

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

Last edited by fancypiper; 06-11-2003 at 01:46 AM.
 
Old 06-11-2003, 02:50 AM   #13
s9722
Member
 
Registered: May 2003
Location: shannon IL
Distribution: slackware 9.1
Posts: 132

Original Poster
Rep: Reputation: 15
how do I find my kernel source?

when I tried to configure (you do so by typing make...it says so in the instructions....then type make again then make install)

anyway it cant find my kernel source I have to change config to point to it....

anyhelp?
 
Old 06-11-2003, 03:05 AM   #14
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
/usr/src/linux-<version number>

Try this and make sure you installed it:

cd /usr/src
ls -alc

If you have it installed, the compile will probably find it if you make a symbolic link named linux that points to that directory.

cd /usr/src
ln -s linux-<version number> linux

Last edited by fancypiper; 06-11-2003 at 03:08 AM.
 
Old 06-11-2003, 07:08 AM   #15
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Quote:
Originally posted by fancypiper
Yes, do update twice, it's not a typo.
That is a good point. However it is no longer necessary for those people using RH8 or 9 it was a bug that has since been fixed in newer versions of apt4rpm. Just wanted to let people know.

Take care FancyP!
 
  


Reply



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
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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