Sponsored Content
Top Forums Programming How to install openGL packages? Post 302379344 by TonyFullerMalv on Thursday 10th of December 2009 11:53:59 AM
Old 12-10-2009
I use Ubuntu also, to query what is installed you can do:
Code:
$ dpkg-query -i | grep -i opengl

"dpkg-query -i" lists all the installed packages.
"| grep -i opengl" will cause only those packages that mention opengl (upper or lower case) to be displayed on the screen.

If you know the exact name of the package you are interested in you can run:
Code:
$ dpkg-query -l <pkgname>

e.g.:
Code:
$ dpkg-query -l libqt4-opengl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libqt4-opengl  4.5.3really4.5 Qt 4 OpenGL module
$

 

9 More Discussions You Might Find Interesting

1. Solaris

how to install packages into specific dirs!!!

Hi all, Am a newbie and would like to know how to install packages into specific directories of my choice , rather than the defaults!!! Thanks (4 Replies)
Discussion started by: wrapster
4 Replies

2. AIX

Need to install opengl for GXT4500.

Hi, I try to install opengl bat it give a error that i need the opengl base level fileset 5.3.0.0 I use AIX 5.3 and my oslevel is now 5300-03. Where can i find the opengl files i need (5.3.0.0)? Thanks Peter. (1 Reply)
Discussion started by: xeonbb
1 Replies

3. UNIX for Dummies Questions & Answers

how to install new packages when disk space is full

during installation i created four partitions mainly / 5GB /home 1GB /boot 100MB swap 2GB now since i didnt make the /usr partition all of the packages were being installed in the / partition ..now all the space in the / partition is filled ...i ran du -h... (3 Replies)
Discussion started by: tarunicon
3 Replies

4. Solaris

error during install jdk 5.0.11 packages

hi all i tried to install jdk on solaris 10 2008 and i used these packages in installation pkgadd -d SUNWj5cfg SUNWj5dmo SUNWj5dev SUNWj5rt SUNWj5jmp SUNWj5man all was good except one (SUNWj5rt) some of the output ERROR: attribute verification of... (3 Replies)
Discussion started by: maxim42
3 Replies

5. Ubuntu

i am new to opengl , how to work opengl in ubuntu

Hi, i am new to opengl, how to work openGL in ubuntu ,, i am not getting which packages as to be install and how to install those packages. and how to work with small programs.. Please guide me ,,, it will appriceated ... (7 Replies)
Discussion started by: Ravikishore
7 Replies

6. Solaris

Help required to install packages

Hi All, I was told to install multiple packages on my solaris server. Is it possible to install multiple packages from a directory or CD. Or I need to install one by one. Please suggest. Thanks, Deepak (1 Reply)
Discussion started by: naw_deepak
1 Replies

7. Red Hat

Install Fedora core 10.0 packages

Hello All, I hv installed fedora 10 on my PC. At the time of installation, i skipped some of the other packages. Now i wanted to install the other packages from the DVD. How sholud i install the other packages. My DVD is bootable one which i got thru software magazines. So it contains FC 10 and... (1 Reply)
Discussion started by: phpalerts
1 Replies

8. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

9. Solaris

How to install .p51 packages in Solaris 11.4?

Does anyone know how to install a package that comes in a p5i file in Solaris 11.4? The first thing the Oracle documentation says is to "launch packagemanager". Well they removed packagemanager from 11.4 (and you can't install it yourself). I want a package from... (7 Replies)
Discussion started by: Michele31416
7 Replies
dpkg-query(1)							    dpkg suite							     dpkg-query(1)

NAME
dpkg-query - a tool to query the dpkg database SYNOPSIS
dpkg-query [option...] command DESCRIPTION
dpkg-query is a tool to show information about packages listed in the dpkg database. COMMANDS
-l, --list [package-name-pattern...] List packages matching given pattern. If no package-name-pattern is given, list all packages in /var/lib/dpkg/status, excluding the ones marked as not-installed (i.e. those which have been previously purged). Normal shell wildchars are allowed in package-name-pat- tern. Please note you will probably have to quote package-name-pattern to prevent the shell from performing filename expansion. For example this will list all package names starting with "libc6": dpkg-query -l 'libc6*' The first three columns of the output show the desired action, the package status, and errors, in that order. Desired action: u = Unknown i = Install h = Hold r = Remove p = Purge Package status: n = Not-installed c = Config-files H = Half-installed U = Unpacked F = Half-configured W = Triggers-awaiting t = Triggers-pending i = Installed Error flags: <empty> = (none) R = Reinst-required An uppercase status or error letter indicates the package is likely to cause severe problems. Please refer to dpkg(1) for informa- tion about the above states and flags. The output format of this option is not configurable, but varies automatically to fit the terminal width. It is intended for human readers, and is not easily machine-readable. See -W (--show) and --showformat for a way to configure the output format. -W, --show [package-name-pattern...] Just like the --list option this will list all packages matching the given pattern. However the output can be customized using the --showformat option. The default output format gives one line per matching package, each line having the name (extended with the architecture qualifier for Multi-Arch same packages) and installed version of the package, separated by a tab. -s, --status package-name... Report status of specified package. This just displays the entry in the installed package status database. When multiple package- name are listed, the requested status entries are separated by an empty line, with the same order as specified on the argument list. -L, --listfiles package-name... List files installed to your system from package-name. When multiple package-name are listed, the requested lists of files are sepa- rated by an empty line, with the same order as specified on the argument list. However, note that files created by package-specific installation-scripts are not listed. --control-list package-name List control files installed to your system from package-name. These can be used as input arguments to --control-show. --control-show package-name control-file Print the control-file installed to your system from package-name to the standard output. -c, --control-path package-name [control-file] List paths for control files installed to your system from package-name. If control-file is specified then only list the path for that control file if it is present. Warning: this command is deprecated, please switch to use --control-list and --control-show instead. -S, --search filename-search-pattern... Search for packages that own files corresponding to the given pattern. Standard shell wildchars can be used in the pattern. This command will not list extra files created by maintainer scripts, nor will it list alternatives. -p, --print-avail package-name... Display details about package-name, as found in /var/lib/dpkg/available. When multiple package-name are listed, the requested avail- able entries are separated by an empty line, with the same order as specified on the argument list. Users of APT-based frontends should use apt-cache show package-name instead as the available file is only kept up-to-date when using dselect. -?, --help Show the usage message and exit. --version Show the version and exit. OPTIONS
--admindir=dir Change the location of the dpkg database. The default location is /var/lib/dpkg. --load-avail Also load the available file when using the --show and --list commands, which now default to only querying the status file. -f, --showformat=format This option is used to specify the format of the output --show will produce. The format is a string that will be output for each package listed. In the format string, "" introduces escapes: newline carriage return tab "" before any other character suppresses any special meaning of the following character, which is useful for "" and "$". Package information can be included by inserting variable references to package fields using the syntax "${field[;width]}". Fields are printed right-aligned unless the width is negative in which case left alignment will be used. The following fields are recog- nized but they are not necessarily available in the status file (only internal fields or fields stored in the binary package end up in it): Architecture Bugs Conffiles (internal) Config-Version (internal) Conflicts Breaks Depends Description Enhances Essential Filename (internal, front-end related) Homepage Installed-Size MD5sum (internal, front-end related) MSDOS-Filename (internal, front-end related) Maintainer Origin Package Pre-Depends Priority Provides Recommends Replaces Revision (obsolete) Section Size (internal, front-end related) Source Status (internal) Suggests Tag (usually not in .deb but in repository Packages files) Triggers-Awaited (internal) Triggers-Pending (internal) Version The following are virtual fields, generated by dpkg-query from values from other fields (note that these do not use valid names for fields in control files): binary:Package binary:Summary db:Status-Abbrev source:Package source:Version The default format string is "${binary:Package} ${Version} ". Actually, all other fields found in the status file (i.e. user defined fields) can be requested, too. They will be printed as-is, though, no conversion nor error checking is done on them. binary:Package is a special field that will print the package name with an architecture qualifier (like "libc6:amd64") if the pack- age has a Multi-Arch field with a value of same, and as such its name could be ambiguous. To get the name of the dpkg maintainer and the installed version, you could run: dpkg-query -W -f='${binary:Package} ${Version} ${Maintainer} ' dpkg EXIT STATUS
0 The requested query was successfully performed. 1 Problems were encountered while parsing the command line or performing the query, including no file or package being found (except for --control-path). ENVIRONMENT
DPKG_ADMINDIR If set and the --admindir option has not been specified, it will be used as the dpkg data directory. COLUMNS This setting influences the output of the --list option by changing the width of its output. SEE ALSO
dpkg(1). Debian Project 2012-04-03 dpkg-query(1)
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy