how to know the GLIBC version and update it in ubuntu?

Tom H tomh0665 at gmail.com
Sat Dec 11 18:47:14 UTC 2010


On Sat, Dec 11, 2010 at 12:58 PM, loody <miloody at gmail.com> wrote:
> 2010/12/12 Karl Larsen <klarsen1 at gmail.com>:
>> On 12/11/2010 09:36 AM, loody wrote:
>>>
>>> How could I know the version of GLIBC I used in ubuntu?
>>> ( I type gcc -v, but I only see the version of gcc)
>>> And how could I update the glibc?
>>> (sudo apt-get install glibc?)
>>
>> karl at Lucid:~$ gcc -v
>> Using built-in specs.
>> Target: x86_64-linux-gnu
>> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
>> 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
>> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
>> --enable-multiarch --enable-linker-build-id --with-system-zlib
>> --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
>> --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4
>> --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin
>> --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic
>> --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
>> --target=x86_64-linux-gnu
>> Thread model: posix
>> gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
>
> $ gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
> 4.4.1-4ubuntu9'
> --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
> --enable-shared --enable-multiarch --enable-linker-build-id
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
> --program-suffix=-4.4 --enable-nls --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all
> --disable-werror --with-arch-32=i486 --with-tune=generic
> --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
> --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)

aptitude search -F '%c%a%M %p %v' '?narrow(?installed,libc6)'

If you want to know whether you have the latest available, update your
package cache and add "%V" to the format list.




More information about the ubuntu-users mailing list