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.
|
|
10-04-2003, 07:48 PM
|
#1
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Rep:
|
bash command question
Whats the bash command to find out the software version of a program. I forgot. Thanks
|
|
|
10-04-2003, 08:11 PM
|
#2
|
Member
Registered: Aug 2003
Location: Planet Earth
Distribution: Linux Mint
Posts: 216
Rep:
|
AFAIK, there isn't a single bash command to find out the version of a program. Finding out the version of a program depends on the program! Usually a program will take a flag telling it to spit out the version (e.g. -v, -version, or --version.) For example
Code:
eric.r.turner@dijkstra:~$ gcc --version
gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
10-04-2003, 10:45 PM
|
#3
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Original Poster
Rep:
|
LOL, gcc is exactly what im trying to install. I did gcc and gcc --version but i get nothing. thanks
|
|
|
10-05-2003, 12:01 AM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
What does this question have to do with programming? Its been reported to be moved to a more appropiate forum.
Regards.
|
|
|
10-05-2003, 03:21 PM
|
#5
|
Member
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419
Rep:
|
GCC is a compiler, that is what it has to do with programming...
|
|
|
10-05-2003, 07:36 PM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by jinksys
GCC is a compiler, that is what it has to do with programming...
|
He originally didn't say anything about gcc but that is besides the point. He was originally asking what command to find out the version of software...
That's why it doesn't belong in Programming.... so reread the first question and post before making comments please. Thanks.
|
|
|
10-05-2003, 07:42 PM
|
#7
|
Member
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419
Rep:
|
Quote:
Originally posted by trickykid
so reread the first question and post before making comments please. Thanks.
|
It had already been stated he was having trouble with GCC
before either one of us commented.
|
|
|
10-05-2003, 07:47 PM
|
#8
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by jinksys
It had already been stated he was having trouble with GCC
before either one of us commented.
|
Yeah, he's created about a dozen threads regarding gcc but not in this thread and not his intention originally with his question. Even if he did ask how to find the version of gcc with a command, its still not directly a programming question. Others might not have known he was speaking of gcc, so this thread does not belong in Programming. Bottom line, so lets drop it now!
|
|
|
10-05-2003, 07:56 PM
|
#9
|
Member
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419
Rep:
|
Agreed!
|
|
|
All times are GMT -5. The time now is 04: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
|
|