A revision number for a particular piece of software in a specific state.

learn more… | top users | synonyms

142
votes
3answers
170k views

Check package version using apt-get/aptitude?

Before I install a package I'd like to know what version i would get. How do I check the version before installing using apt-get or aptitude on debian or ubuntu?
31
votes
1answer
62k views

How to upgrade Debian stable (Wheezy) to testing (Jessie)? [duplicate]

I downloaded and installed Debian 7 Wheezy, the stable version, but I would like more recent apps and libs so I'd like to switch to testing version (aka Jessie). How do I proceed?
25
votes
5answers
22k views

How can I tell what version of linux I'm using?

Often times I will ssh into a new client's box to make changes to their website configuration without knowing much about the server configuration. I have seen a few ways to get information about the ...
21
votes
5answers
10k views

How can I tell what version of OS X I'm on from the command line?

I frequently find myself SSHing into various OS X machines, and it'd be useful if I could tell what version of OS X I was on when I'm doing that. uname -a doesn't quite work, since Darwin kernel ...
19
votes
6answers
8k views

What C library version does my system use?

How can I tell for sure what userland C library my system uses? Possible reasons to need this information include: There's a gigantic source package I am considering downloading which I'm sure will ...
14
votes
2answers
563 views

Why do package names contain version numbers?

While working with Ubuntu and other Debian-based distros, I've noticed that packages in the software repos often contain the major version number. For example, Apache: apache2 Tomcat: tomcat7 PHP: ...
9
votes
3answers
2k views

How to install multiple versions of the same package in Gentoo?

I would like to install two (or more) versions of the same packages on my Gentoo system. I know for sure there won't be any file clash, since there very few files installed and each of them is named ...
8
votes
5answers
18k views

How to know which Linux and which version I am using

When I run cat /proc/version command in terminal, I got below output: Linux version 2.6.18-348.1.1.0.1.el5 (mockbuild@ca-build56.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP ...
7
votes
3answers
22k views

How do I identify which Linux distro is running? [duplicate]

We have some new hardware in our office which runs its own customized Linux OS. How do I go about figuring which distro it's based on?
7
votes
2answers
6k views

Where to download Linux Kernel source code of a specific version?

Is there a resource to download a specific kernel version source? For example, I want to get 2.6.36.2 sources to compare with this package and see what changes were introduced?
7
votes
3answers
5k views

How do I tell what version of Gentoo & Linux is running?

Is there a way to tell from Bash what distro version # I'm running and also what Kernel version is included?
7
votes
2answers
617 views

Which sed version is not GNU sed 4.0?

I'm trying to figure out which version of sed that I've got on BusyBox 1.18.3. The --version output is cryptic. $ sed --version This is not GNU sed version 4.0 The following code is from the ...
6
votes
2answers
125 views

What is the rationale behind using non-numeric package component for the version?

In ubuntu (and not only in ubuntu) default repository you could see a package version like 2.2.14-5ubuntu8.12. Why do the maintainers give such a weird version in the central package repository? ...
6
votes
3answers
20k views

Viewing Linux Library / Executable version info

In Windows, EXE and DLL have version info, including at least the following fields: file version product version internal name product name copyright In Linux Library / Executable: Which fields ...
6
votes
2answers
594 views

Meaning of “rc5” in “linux kernel 2.6.37-rc5”

When I visited the kernel.org website to download the latest Linux kernel, I noticed a package named 2.6.37-rc5 in the repository. What is the meaning of the "rc5" at the end?
6
votes
1answer
1k views

Multiple installed versions of git - centos

I manually installed git 1.6 a year or two ago. I noticed today that the 1.7 version is available in yum, and installed it (package git-all) I now get the following output: [root@ovz5197 ~]# git ...
5
votes
3answers
9k views

How to know CentOS version?

How to know version of a CentOS server without access to any graphical interface? I've tried several commands: # cat /proc/version Linux version 2.6.18-128.el5 (mockbuild@hs20-bc1-7.build.redhat.com) ...
5
votes
2answers
58 views

Using Linux kernel config file from version to version

I have currently Linux Kernel 2.6, which works for my hardware. Now I want to compile Linux kernel 3.2 for the same hardware. Can I use the same .config of 2.6 directly for v3.2? Is there any ...
5
votes
3answers
4k views

How to programmatically determine the highest version kernel RPM installed?

What I want to script is something along the lines of: if [ uname -r is not == highest version of kernel RPM installed ] then echo "You need to reboot to use the latest kernel" fi The problem is, ...
5
votes
1answer
53 views

What are the numbers after the version in the output of apt-cache policy?

This is the output of apt-cache policy firefox firefox: Installed: 26.0~linuxmint1+lmde Candidate: 26.0~linuxmint1+lmde Version table: *** 26.0~linuxmint1+lmde 0 500 ...
4
votes
3answers
1k views

Why doesn't uname -a return a useful identifier

I typed the command uname -a into my college's server and got this: 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 20:14:03 EDT 2011 i686 i686 i386 GNU/Linux Are they trying to hide the version of Linux that ...
4
votes
2answers
387 views

How to understand linux versioning

I am just a newbie in Linux. Can anyone please help me to understand the Linux versioning system and distribution concepts? what are public, stable or final terms for versions? Give me a little bit of ...
4
votes
5answers
243 views

How can I safely get the version of ksh?

How can I safely get the version of ksh from within a ksh script? I have seen the following solutions: ksh --version echo ${.sh.version} echo $KSH_VERSION And if the circumstances are perfect, ...
4
votes
3answers
2k views

What distribution still supports the 2.6.x kernel?

I'm trying to use a Khepera III robot. The documentation says I need a Linux OS with kernel 2.6.x. An Ubuntu 8 image was provided at the website. When I created a virtual machine with that image, I ...
4
votes
2answers
113 views

How to install a specific debian package

I want to install a particular version which is not available from apt-get utility but is available from https://packages.debian.org (like https://packages.debian.org/wheezy-backports/exfat-fuse for ...
4
votes
2answers
5k views

How can I find which version of libmysqlclient is installed in Centos?

I have a custom exe provided to me but to install it I need an older version of libmysqlclient. How can I check which version is installed?
4
votes
1answer
2k views

How can I revert a package to a specific version on Gentoo?

I'm a Debian user pretty much new to Gentoo. I wanted to install a specific version of a package namely the 1.39.0 version of dev-libs/boost, http://packages.gentoo.org/package/dev-libs/boost. But I ...
3
votes
2answers
478 views

What does LTR kernel mean?

I was reading some sites and came across (LTR) by the number of kernel. Can somebody explain what is means?
3
votes
3answers
271 views

What is the preferred way to install new versions of software?

I have installed Ubuntu Server 10.10 and now I want to install some software like PostgreSQL, Nginx and PHP. But what is the preferred way to get the latest stable version of the software? E.g I ...
3
votes
6answers
261 views

What I can I do to make the transition to some new computer hardware safe and smooth?

I normally use machine A, and I make backups of A onto a fileserver B. Sooner or later, I will lose machine A for one reason or another. Its hard drive wears out, or it gets hit by lightening, or some ...
3
votes
2answers
122 views

Which version of NFS is my NFS server using?

I'm mounting a NFS filesystem on my machine. How do I figure out what version of the NFS protocol the server uses? I don't have access to the NFS server machine, but I do have root on my client ...
3
votes
2answers
289 views

How can I get the version of the pgrep & pkill commands?

I looked at the manpages and there is no -v or --version argument for pgrep or pkill. How can i get some info on the version? I'm asking because on my version of Ubuntu man pgrep is giving me a ...
3
votes
2answers
366 views

How to get Debian codename without lsb-release

I am trying to create a script that requires me to print the debian codename so that I may echo it into the sources.list file. I am trying to make this script work across any version of Debian, so I ...
3
votes
2answers
2k views

What does file version mean: lsattr -v

lsattr -v gives me the "version number" of given file(s). What does this mean? On Redhat 7.3, I could've sworn all the version numbers were 1 except those I changed with chattr -v. On Fedora 11, ...
3
votes
3answers
200 views

What is the difference between all of these Debian version numbers?

In attempting to find the version of Debian I am running, I have run several commands; the confusing thing is, nearly all of these commands return different results. For instance, in /proc/version I ...
2
votes
4answers
122 views

Is there a structured format of version info for OS-level executables?

I am looking for a structured format of version info for OS-level executables, such as in /usr/bin and /usr/local/bin. The problem we are having is the inconsistent architecture between our PROD and ...
2
votes
1answer
638 views

Which version of unix from a shell?

I recently started a new job, and was told that I need to log on (Via shell) to a particular unix system. I'm trying to figure out a few peculiarities with the system, but first I need to know what ...
2
votes
2answers
80 views

How can I find out which version of screen I am using?

Further to my previous question on screen not splitting my terminal , I got to the point where I can split my terminal horizontally but not vertically . This documentation says that vertical splitting ...
2
votes
1answer
315 views

How do I know which version of Debian I'm running?

In a tutorial, I'm prompted "If you are running Squeeze, follow these instructions..." and "If you are running Wheezy, follow these other instructions..." When I run uname, I get the following ...
2
votes
3answers
2k views

Requires: perl(Compress::Raw::Zlib) = 2.052

Im trying to run a yum update but getting stopped by dependencies. I have installed rpmforge el6 which i need for other packages. Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch ...
2
votes
2answers
2k views

Numbering convention for the linux kernel?

What is the convention for numbering the linux kernels? AFAIK, the numbers never seem to decrease. However, i think I've seen three kinds of schemes 2.6.32-29 2.6.32-29.58 2.6.11.10 Can anybody ...
2
votes
1answer
3k views

How to upgrade OpenSSL to 1.0.1h

I'm currently running Ubuntu 13.10 and my OpenSSL version is 1.0.1e. As per latest security warning, I'd like to upgrade it to 1.0.1h. I've tried apt-get upgrade openssl (don't want to upgrade ...
2
votes
1answer
14 views

Is it possible to use multiple branch of the same library to make multiple sofware which require different version of this Library work?

Newbie question, I know, but I can't find any acceptable answer on the internet. I was wondering if it's possible to have multiple instances of a library in Linux. Example : Software A need the ...
2
votes
2answers
90 views

Library version, API version and soname how should it be done?

When I've a library called libfoo and its version is 0.4.2 where 0.4 is the API version and 2 the release number which may add new API functions. Should the soname be libfoo.so.0.4, libfoo.so.0.4.2 ...
2
votes
1answer
227 views

What do all the letters and numbers in a Red Hat RPM version number mean e.g. openssl-devel-0.9.8e-27.el5_10.1?

What do all the letters and numbers in the rpm name openssl-devel-0.9.8e-27.el5_10.1 mean? I recognize the openssl-devel-0.9.8e part because that's the same number applied by the developement team at ...
2
votes
1answer
2k views

Why I got error: `error while loading shared libraries: libmpich.so.3`?

I installed mpich-3.0.4 not in a default location. I installed it based on the mpich installer's guidance. However when I try to run: mpiexec -n 4 -f machinefile ./mpich-3.0.4/examples/cpi It ...
2
votes
2answers
3k views

Java version for Tomcat

I want to run my Tomcat with Java 7 but all I found about configuring it doesn't work. The management interface of Tomcat shows 1.6.0_24-b24 as Java version. The JAVA_HOME variable is empty. % echo ...
2
votes
8answers
873 views

Oldest Linux machine you still run [closed]

What is your oldest machine you ever installed Linux on and currently still run? What are the specs, kernel version or distro, and for what purpose?
2
votes
1answer
168 views

Bash script to verify that an rpm is at least at a given version

I need to write a script to verify that an RPM is at least a given version in Linux. QUESTION 1: How can I get the RPM version in a variable $RPM_VERSION, so that it contains the version all the way ...
2
votes
1answer
2k views

set default g++ on CentOS?

I'm a linux virgin and have only been programming c++ for 2 weeks, so please bear with me. I'm trying to set the default g++ to 4.7.2 which I'm told by my host is installed (I'm also told that c++11 ...