You are not logged in.

#1 2006-07-19 16:33:02

tafsen
Member
Registered: 2006-05-03
Posts: 141

How do I check software version?

how do I check if i have a software isntalled and what version of taht software I have installed?

How do I heck if I have installed GCC, and version I have installed?

Offline

#2 2006-07-19 16:36:20

Titus
Member
From: Izmir
Registered: 2006-05-11
Posts: 120
Website

Re: How do I check software version?

this suffix is just for your want: 

-v, --version       display the current version and exit

example

gcc -v

and this is my gcc version:

[titus@archroom ~]$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.1/configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1


In a world without walls,who need windows?

Offline

#3 2006-07-19 17:40:30

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: How do I check software version?

To check for a package, you might for example try looking for one of the executables belonging to that package (for example type "gcc" into a terminal to check if it's installed - it should be by default on arch) or use pacman

To check version, this works with everything:

pacman -Qi package-name

If you don't know what package a program belongs to, try this:

pacman -Qo /usr/bin/program

Offline

Board footer

Powered by FluxBB