LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2013, 03:08 AM   #1
Gurpreet1
LQ Newbie
 
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
To find the version of ncurses installed on linux system though shell command


I have ncurses installed on my system ubuntu 13.04.
But how can i check the version of ncurses installed on my system through linux shell command.
 
Old 09-03-2013, 03:31 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

you can use your package manager. Example with dpkg:
Code:
 dpkg -l '*ncurses*' | grep '^ii'
Evo2.
 
Old 09-03-2013, 03:55 AM   #3
dickey
Member
 
Registered: Jun 2009
Posts: 43

Rep: Reputation: 18
That works for Debian/Ubuntu. Other systems may use rpm. But that's the package version,
which may not be what was requested.

Generally the utilities tic and infocmp are installed, and they give the ncurses
version itself with a "-V" option.
 
Old 09-03-2013, 04:05 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by dickey View Post
That works for Debian/Ubuntu.
the OP specified Ubuntu, so he got an Ubuntu specific answer.

Quote:
Originally Posted by dickey View Post
But that's the package version, which may not be what was requested.
The package version includes the ncurses version.

Using tic or incocmp will only report about that particular version of ncurses that they are using (ie the ncurses version of ncurses-bin, or if you want distro non-specific ncurses version they are linked against) and not the versions of all ncurses packages installed.

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find the linux operating system version in SLES/RHEL? vedam.psg Linux - Software 4 03-11-2014 08:49 AM
Linux File System. Can't find Installed pkg. Ace Blackwell Slackware 6 01-27-2013 01:08 AM
How to find the installed version of a rpm package in a system?? Arighna Linux - Newbie 10 09-21-2011 10:22 AM
Linux Command to find the OS version of remote host. jeesun Linux - General 1 12-29-2010 09:38 PM
Package ncurses-5.6-20.20080927.fc10.i386 already installed and latest version folatutor Linux - Newbie 1 02-26-2009 06:27 AM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration