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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-13-2005, 10:06 PM
|
#1
|
Member
Registered: Dec 2003
Location: So Cal
Distribution: Debian Etch
Posts: 59
Rep:
|
bash: g++: command not found
I've used g++ before, several "apt-get update"s ago, but now all I get is "bash: g++: command not found". I've tried re-installing it to no avail. Any ideas?
|
|
|
02-13-2005, 10:11 PM
|
#2
|
Member
Registered: Dec 2003
Location: So Cal
Distribution: Debian Etch
Posts: 59
Original Poster
Rep:
|
Oh, I should probably specify: Debian Sarge, KDE 3.3, kernel 2.6.8-2-686.
|
|
|
02-14-2005, 08:55 AM
|
#3
|
Member
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156
Rep:
|
AFAIK g++ is part of gcc (Gnu Compiler Collection). do u have gcc installed ?
|
|
|
02-14-2005, 09:11 AM
|
#4
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
On some distros it's gcc-c++ (or gcc-cpp), or just g++ so it maybe worthwile for you to try those out.
|
|
|
02-16-2005, 08:04 AM
|
#5
|
Member
Registered: Dec 2003
Location: So Cal
Distribution: Debian Etch
Posts: 59
Original Poster
Rep:
|
Code:
mark@m:~$ gcc
bash: gcc: command not found
mark@m:~$ g++
bash: g++: command not found
mark@m:~$ gcc-g++
bash: gcc-g++: command not found
mark@m:~$ gcc-cpp
bash: gcc-cpp: command not found
mark@m:~$ gcc-c++
bash: gcc-c++: command not found
mark@m:~$ g++
bash: g++: command not found
Synaptic shows both gcc-3.3 and g++-3.3 installed. Any other ideas?
|
|
|
02-18-2005, 12:20 AM
|
#6
|
Member
Registered: Dec 2003
Location: So Cal
Distribution: Debian Etch
Posts: 59
Original Poster
Rep:
|
OK, a friend suggested I type "g <TAB><TAB>" in the console, and I found that my "g++" command is now, mysteriously, "g++-3.3". So it's still there, just annoyingly longer. New thread: how to make it shorter.
|
|
|
06-02-2007, 05:03 AM
|
#7
|
LQ Newbie
Registered: Jun 2007
Posts: 16
Rep:
|
after updateing kernel g++ changed his name
hello i'm new to linux (half a year)
amd-64 ubuntu feisy
====================
why is when i installed the kernel updated
g++ changed names to g++-3.3
and how can i direct anjuta to use the
g++-3.3 instead of g++ ?
should i renamed it back to g++ ?
it seems so stupid to encounter such errors
is there any release notes to read before
installing other updated from ubuntu ? ?
|
|
|
06-09-2010, 10:31 PM
|
#8
|
LQ Newbie
Registered: Jun 2010
Posts: 1
Rep:
|
Quote:
Originally Posted by m_lp_ql_m
Code:
mark@m:~$ gcc
bash: gcc: command not found
mark@m:~$ g++
bash: g++: command not found
mark@m:~$ gcc-g++
bash: gcc-g++: command not found
mark@m:~$ gcc-cpp
bash: gcc-cpp: command not found
mark@m:~$ gcc-c++
bash: gcc-c++: command not found
mark@m:~$ g++
bash: g++: command not found
Synaptic shows both gcc-3.3 and g++-3.3 installed. Any other ideas?
|
Hi bud, I had that issue, I fixed it installing the package "C++ support for GCC". Hope it helps you too. Good luck!
|
|
|
All times are GMT -5. The time now is 11:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|