LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-01-2004, 07:57 PM   #1
farkmischer
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Rep: Reputation: 0
installing gcc with debian packages


I downloaded all these packages and split them so I could transfer them to my laptop and install them.
gcc-3.0_3.0.4-7_i386.deb
cpp-3.0_3.0.4-7_i386.deb
gcc-3.0-base_3.0.4-7_i386.deb
libgcc1_3.0.4-7_i386.deb
libc6_2.2.5-11.5_i386.deb
debconf_1.0.32_all.deb
binutils_2.12.90.0.1-4_i386.deb

Once they were all on my laptop I used cat to put them back together and used dpkg -i to install them.
It seemed to run smoothly. Each said something like:
(Reading database ... 6444 files and directories currently installed
Unpacking gcc-3.0 1:3.0.4-7 (using gcc-3.0_3.0.4-7_i386.deb)
Setting up gcc-3.0 (3.0.4-7)
(blank line)
(command prompt)

Has this program install correctly? How do I tell? I tried typing in gcc and it says:
bash: gcc: command not found

I'm not sure where to go from this point. I tried searching for an answer but am not sure what I'm looking for. Thanks for your help. Mark
 
Old 12-01-2004, 08:39 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Use 'dpkg -L gcc' to see what files that package installed, then make sure the directory the gcc binary is in is in your PATH variable.
Code:
cromagnon@box:~$ dpkg -L gcc
/.
/usr
/usr/bin
/usr/bin/c89
/usr/bin/c99
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/c89.1.gz
/usr/share/man/man1/c99.1.gz
/usr/share/doc
/usr/share/doc/cpp
/usr/bin/gcov
/usr/bin/gccbug
/usr/bin/i386-linux-gcc
/usr/bin/gcc
/usr/share/man/man1/gcov.1.gz
/usr/share/man/man1/gccbug.1.gz
/usr/share/man/man1/i386-linux-gcc.1.gz
/usr/share/man/man1/gcc.1.gz
/usr/share/doc/cpp/README.Bugs
/usr/share/doc/cpp/FAQ.gz
/usr/share/doc/cpp/cpp
/usr/share/doc/gcc
 
Old 12-01-2004, 08:52 PM   #3
farkmischer
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Original Poster
Rep: Reputation: 0
When I executed 'dpkg -L gcc' I got:
Package 'gcc' is not installed.

To get the file on my laptop I used HJSplit running on my win xp machine to split the files to put on a floppy. Then I used cat file.001 file.002 file.003 > file to join them back together on my debian laptop. Is this the correct method for joining the files back together. Did I damage the file with moving it over? Is it possible to run a test on the rejoined file to see if it is valid? Thanks, Mark.
 
Old 12-01-2004, 09:41 PM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
You might need to use a more complete name, like "dpkg -L gcc-3.0". I don't think you damaged the file - you would have seen an error if that were the case.
 
Old 12-03-2004, 12:07 PM   #5
farkmischer
LQ Newbie
 
Registered: Nov 2004
Posts: 8

Original Poster
Rep: Reputation: 0
'dpkg -L gcc-3.0' worked just fine!!! Thanks, MUCH.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing GCC from The Online Debian Package Archive Erik_the_Red Ubuntu 1 05-30-2005 11:11 PM
installing devel-packages and gcc-compiler supersucker Linux - Software 1 08-30-2004 11:18 PM
installing woody packages in unstable debian? (java3D) bronko Debian 3 01-04-2004 08:15 AM
gcc 3.2.3 packages ivanatora Slackware 2 09-21-2003 12:47 PM
Installing Debian Packages eForce Linux - Distributions 4 07-12-2002 11:05 AM

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

All times are GMT -5. The time now is 10:35 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