How to get to know the information about a package before installation in terminalHow to inspect and validate a deb package before installation?How can I analyze this debian package before installing it?How to determine if a package is a meta-package from the command line?How to make apt-get known the imported deb package in apt-cacherHow do package files .deb files that are installed outside the package tree get put into the normal package tree?How to install version 4.11 of the package texinfo?How to install suggested package after installation main package?How to inspect and validate a deb package before installation?How can I get a useful and detailed description of the purpose of a package?
Is it safe to drive from Prague to Salzburg during winter?
Contraction of a family of loops simultaneously
Are generation ships inherently implausible?
C++ Leak detection simple class
Is it OK for a Buddhist teacher to charge their students an hourly rate for their time?
What's that in front of the overhead panel?
Probability of pushing buttons in elevator
Brainfuck compressor in Python
Pros and cons of playing correspondence chess
Why are adjacent breakers for unrelated circuits ganged?
How to get to these nuts
Why should you have travel insurance?
Who's next to me in the queue?
New manager unapproved PTO my old manager approved
Are lances and nets and versatile weapons considered one-handed weapons?
Can any number of squares sum to a square?
Do sine waves (pure tones) have overtones?
Is concept of entropy really indispensable? Especially when the concept of potential energy can serve the purpose?
Is this medieval picture of hanging 5 royals showing an historical event?
Round up my number
Is lens flare shot organically, or added in post-production?
Who owns copyright on works found in a storage unit/attic?
femme - why pronounced but not spelt as "famme"
Meaning and use of またと
How to get to know the information about a package before installation in terminal
How to inspect and validate a deb package before installation?How can I analyze this debian package before installing it?How to determine if a package is a meta-package from the command line?How to make apt-get known the imported deb package in apt-cacherHow do package files .deb files that are installed outside the package tree get put into the normal package tree?How to install version 4.11 of the package texinfo?How to install suggested package after installation main package?How to inspect and validate a deb package before installation?How can I get a useful and detailed description of the purpose of a package?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I was wondering how to get the information about a package in terminal, before installation with apt-get install
so that I can decide whether to install it, based on the description.
Thanks and regards!
package-management
add a comment
|
I was wondering how to get the information about a package in terminal, before installation with apt-get install
so that I can decide whether to install it, based on the description.
Thanks and regards!
package-management
add a comment
|
I was wondering how to get the information about a package in terminal, before installation with apt-get install
so that I can decide whether to install it, based on the description.
Thanks and regards!
package-management
I was wondering how to get the information about a package in terminal, before installation with apt-get install
so that I can decide whether to install it, based on the description.
Thanks and regards!
package-management
package-management
edited Jun 9 '11 at 15:28
Oxwivi
14k45 gold badges123 silver badges188 bronze badges
14k45 gold badges123 silver badges188 bronze badges
asked Jun 9 '11 at 15:13
TimTim
17.1k44 gold badges113 silver badges193 bronze badges
17.1k44 gold badges113 silver badges193 bronze badges
add a comment
|
add a comment
|
3 Answers
3
active
oldest
votes
Use
apt-cache show PACKAGE
to see the description and some other information about package after its installed
dpkg -L package_name
to see what files the package contains.
1
The second hint with listing the package content ie. files doesn't work for me. It always saysdpkg-query: package 'package_name' is not installed
so it can't be used for inspecting the file before installing it. Theapt-file
utility seems to be a more viable option for that, although I can't refer from my own experience yet.
– Huge
Mar 2 '16 at 16:05
dpkg -L won't always work for example aide-xen will report not installed.
– Mike Q
Jul 18 at 19:35
add a comment
|
For similar tasks, the package management system ATP (the Advanced Package Tool) provide several solutions (https://en.wikipedia.org/wiki/Advanced_Packaging_Tool).
apt-cache showpkg package_name
Description taken from here https://linux.die.net/man/8/apt-cache
showpkg displays information about the packages listed on the command
line. Remaining arguments are package names. The available versions
and reverse
dependencies of each package listed are listed, as well as forward dependencies for each version. Forward (normal) dependencies
are those packages upon
which the package in question depends; reverse dependencies are those packages that depend upon the package in question. Thus,
forward dependencies must
be satisfied for a package, but reverse dependencies need not be. For instance, apt-cache showpkg libreadline2 would produce
output similar to the
following
$ apt-cache showpkg javacc
Package: javacc
Versions:
5.0-5 (/var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages) (/var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_main_binary-am)
Description Language:
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages
MD5: 61505d89a764133cbd782b370c93fe98
Description Language: en
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_i18n_Translation-en
MD5: 61505d89a764133cbd782b370c93fe98
Reverse Depends:
ant-optional,javacc
ant-optional,javacc
libjavacc-maven-plugin-java,javacc
javacc-doc,javacc
ant-optional,javacc
Dependencies:
5.0-5 - default-jre-headless (16 (null)) java1-runtime-headless (16 (null)) java2-runtime-headless (0 (null)) javacc-doc (0 (null))
Provides:
5.0-5 -
Reverse Provides:
apt-cache show package_name
Displays the package records for the named packages.
$ apt-cache show javacc
Package: javacc
Version: 5.0-5
Installed-Size: 380
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless
Suggests: javacc-doc
Description-en: Parser generator for use with Java
Java Compiler-Compiler (JavaCC) is (according to sun)
"the most popular parser generator" for use with Java [tm]
applications.
.
A parser generator is a tool that reads a grammar specification
and converts it to a Java program that can recognize matches to
the grammar. In addition to the parser generator itself, JavaCC
provides other standard capabilities related to parser
generation such as tree building (via a tool called JJTree
included with JavaCC), actions, debugging, etc.
Description-md5: 61505d89a764133cbd782b370c93fe98
Homepage: http://javacc.java.net
Tag: devel::code-generator, devel::lang:java, implemented-in::java,
interface::commandline, role::program, scope::utility
Section: java
Priority: optional
Filename: pool/main/j/javacc/javacc_5.0-5_all.deb
Size: 284722
MD5sum: b1efd2defeba45cd97a48541235e6255
SHA1: c5e4b1991be06ec56e6d1a5b916c714068e5bf6b
SHA256: 757f9566d488858285c23c2ac12e05168af38953cf034f6e44123c2a88cb7c83
apt-cache policy package_name
This is meant to help debug issues relating to the preferences file.
With no arguments it will print out the priorities of each source.
Otherwise it prints out detailed information about the priority
selection of the named package.
$ apt-cache policy javacc
javacc:
Installed: (none)
Candidate: 5.0-5
Version table:
5.0-5 0
500 http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
apt-cache madison package_name
apt-cache's madison command attempts to mimic the output format and
a subset of the functionality of the Debian archive management
tool, madison. It displays available versions of a package in a
tabular format. Unlike the original madison, it can only display
information for the architecture for which APT has retrieved
package lists (APT::Architecture).
$ apt-cache madison javacc
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://httpredir.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main Sources
apt-cache showsrc package_name
Displays all the source package records that match the given package
names. All versions are shown, as well as all records that declare the
name to be a Binary.
$ apt-cache showsrc javacc
Package: javacc
Binary: javacc, javacc-doc
Version: 5.0-5
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Emmanuel Bourg <ebourg@apache.org>
Build-Depends: ant, debhelper (>= 7), cdbs (>= 0.4.5.3), default-jdk
Build-Depends-Indep: ant-optional, libxalan2-java, docbook-to-man, junit, maven-repo-helper
Architecture: all
Standards-Version: 3.9.4
Format: 3.0 (quilt)
Files:
6715506605c7a4e750309b7ef645ec86 1397 javacc_5.0-5.dsc
edf47d357c6f36458474a1b537b88a12 711183 javacc_5.0.orig.tar.gz
b3308a9aefeca4318a0838b2a3213cea 7893 javacc_5.0-5.debian.tar.gz
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/javacc
Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/javacc
Checksums-Sha1:
f4a4ea175ce87af588c713eaab8caeaefc64183f 1397 javacc_5.0-5.dsc
f6e12a183579a67528f351282251560faf4737db 711183 javacc_5.0.orig.tar.gz
4aebf3cadecd96f304f80786f07473574569dc02 7893 javacc_5.0-5.debian.tar.gz
Checksums-Sha256:
4a61f89f984809964e3d63d159998ff29c951765a046ac87dca32b21eb54f99b 1397 javacc_5.0-5.dsc
aab2c3e2f37648b9e708e6bad4c8b544cba63b66f1791907e6e3f89609b27150 711183 javacc_5.0.orig.tar.gz
66418d91dc6c6d45d941181d08150d272d3db57a944f3ce61847e5e1ec7c0659 7893 javacc_5.0-5.debian.tar.gz
Homepage: http://javacc.java.net
Package-List:
javacc deb java optional
javacc-doc deb doc optional
Directory: pool/main/j/javacc
Priority: source
Section: java
apt-cache depends package_name
Shows a listing of each dependency a package has and all the possible
other packages that can fulfill that dependency.
$ apt-cache depends javacc
javacc
|Depends: default-jre-headless
|Depends: <java1-runtime-headless>
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
Depends: <java2-runtime-headless>
default-jre-headless
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
openjdk-7-jre-headless
openjdk-8-jre-headless
Suggests: javacc-doc
Testing environment
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
Codename: jessie
setivolkylany$/media/setivolkylany/WorkDisk/Private$ uname -a
Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Based on https://linux.die.net/man/8/apt-cache and http://manpages.ubuntu.com/manpages/zesty/man8/apt-cache.8.html
add a comment
|
For those just looking for a basic summary of the package :
apt-cache search ^package-name$
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f47856%2fhow-to-get-to-know-the-information-about-a-package-before-installation-in-termin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use
apt-cache show PACKAGE
to see the description and some other information about package after its installed
dpkg -L package_name
to see what files the package contains.
1
The second hint with listing the package content ie. files doesn't work for me. It always saysdpkg-query: package 'package_name' is not installed
so it can't be used for inspecting the file before installing it. Theapt-file
utility seems to be a more viable option for that, although I can't refer from my own experience yet.
– Huge
Mar 2 '16 at 16:05
dpkg -L won't always work for example aide-xen will report not installed.
– Mike Q
Jul 18 at 19:35
add a comment
|
Use
apt-cache show PACKAGE
to see the description and some other information about package after its installed
dpkg -L package_name
to see what files the package contains.
1
The second hint with listing the package content ie. files doesn't work for me. It always saysdpkg-query: package 'package_name' is not installed
so it can't be used for inspecting the file before installing it. Theapt-file
utility seems to be a more viable option for that, although I can't refer from my own experience yet.
– Huge
Mar 2 '16 at 16:05
dpkg -L won't always work for example aide-xen will report not installed.
– Mike Q
Jul 18 at 19:35
add a comment
|
Use
apt-cache show PACKAGE
to see the description and some other information about package after its installed
dpkg -L package_name
to see what files the package contains.
Use
apt-cache show PACKAGE
to see the description and some other information about package after its installed
dpkg -L package_name
to see what files the package contains.
edited Apr 13 '17 at 15:33
Scott Stensland
7,5676 gold badges31 silver badges49 bronze badges
7,5676 gold badges31 silver badges49 bronze badges
answered Jun 9 '11 at 15:32
Florian DieschFlorian Diesch
70.1k17 gold badges184 silver badges197 bronze badges
70.1k17 gold badges184 silver badges197 bronze badges
1
The second hint with listing the package content ie. files doesn't work for me. It always saysdpkg-query: package 'package_name' is not installed
so it can't be used for inspecting the file before installing it. Theapt-file
utility seems to be a more viable option for that, although I can't refer from my own experience yet.
– Huge
Mar 2 '16 at 16:05
dpkg -L won't always work for example aide-xen will report not installed.
– Mike Q
Jul 18 at 19:35
add a comment
|
1
The second hint with listing the package content ie. files doesn't work for me. It always saysdpkg-query: package 'package_name' is not installed
so it can't be used for inspecting the file before installing it. Theapt-file
utility seems to be a more viable option for that, although I can't refer from my own experience yet.
– Huge
Mar 2 '16 at 16:05
dpkg -L won't always work for example aide-xen will report not installed.
– Mike Q
Jul 18 at 19:35
1
1
The second hint with listing the package content ie. files doesn't work for me. It always says
dpkg-query: package 'package_name' is not installed
so it can't be used for inspecting the file before installing it. The apt-file
utility seems to be a more viable option for that, although I can't refer from my own experience yet.– Huge
Mar 2 '16 at 16:05
The second hint with listing the package content ie. files doesn't work for me. It always says
dpkg-query: package 'package_name' is not installed
so it can't be used for inspecting the file before installing it. The apt-file
utility seems to be a more viable option for that, although I can't refer from my own experience yet.– Huge
Mar 2 '16 at 16:05
dpkg -L won't always work for example aide-xen will report not installed.
– Mike Q
Jul 18 at 19:35
dpkg -L won't always work for example aide-xen will report not installed.
– Mike Q
Jul 18 at 19:35
add a comment
|
For similar tasks, the package management system ATP (the Advanced Package Tool) provide several solutions (https://en.wikipedia.org/wiki/Advanced_Packaging_Tool).
apt-cache showpkg package_name
Description taken from here https://linux.die.net/man/8/apt-cache
showpkg displays information about the packages listed on the command
line. Remaining arguments are package names. The available versions
and reverse
dependencies of each package listed are listed, as well as forward dependencies for each version. Forward (normal) dependencies
are those packages upon
which the package in question depends; reverse dependencies are those packages that depend upon the package in question. Thus,
forward dependencies must
be satisfied for a package, but reverse dependencies need not be. For instance, apt-cache showpkg libreadline2 would produce
output similar to the
following
$ apt-cache showpkg javacc
Package: javacc
Versions:
5.0-5 (/var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages) (/var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_main_binary-am)
Description Language:
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages
MD5: 61505d89a764133cbd782b370c93fe98
Description Language: en
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_i18n_Translation-en
MD5: 61505d89a764133cbd782b370c93fe98
Reverse Depends:
ant-optional,javacc
ant-optional,javacc
libjavacc-maven-plugin-java,javacc
javacc-doc,javacc
ant-optional,javacc
Dependencies:
5.0-5 - default-jre-headless (16 (null)) java1-runtime-headless (16 (null)) java2-runtime-headless (0 (null)) javacc-doc (0 (null))
Provides:
5.0-5 -
Reverse Provides:
apt-cache show package_name
Displays the package records for the named packages.
$ apt-cache show javacc
Package: javacc
Version: 5.0-5
Installed-Size: 380
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless
Suggests: javacc-doc
Description-en: Parser generator for use with Java
Java Compiler-Compiler (JavaCC) is (according to sun)
"the most popular parser generator" for use with Java [tm]
applications.
.
A parser generator is a tool that reads a grammar specification
and converts it to a Java program that can recognize matches to
the grammar. In addition to the parser generator itself, JavaCC
provides other standard capabilities related to parser
generation such as tree building (via a tool called JJTree
included with JavaCC), actions, debugging, etc.
Description-md5: 61505d89a764133cbd782b370c93fe98
Homepage: http://javacc.java.net
Tag: devel::code-generator, devel::lang:java, implemented-in::java,
interface::commandline, role::program, scope::utility
Section: java
Priority: optional
Filename: pool/main/j/javacc/javacc_5.0-5_all.deb
Size: 284722
MD5sum: b1efd2defeba45cd97a48541235e6255
SHA1: c5e4b1991be06ec56e6d1a5b916c714068e5bf6b
SHA256: 757f9566d488858285c23c2ac12e05168af38953cf034f6e44123c2a88cb7c83
apt-cache policy package_name
This is meant to help debug issues relating to the preferences file.
With no arguments it will print out the priorities of each source.
Otherwise it prints out detailed information about the priority
selection of the named package.
$ apt-cache policy javacc
javacc:
Installed: (none)
Candidate: 5.0-5
Version table:
5.0-5 0
500 http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
apt-cache madison package_name
apt-cache's madison command attempts to mimic the output format and
a subset of the functionality of the Debian archive management
tool, madison. It displays available versions of a package in a
tabular format. Unlike the original madison, it can only display
information for the architecture for which APT has retrieved
package lists (APT::Architecture).
$ apt-cache madison javacc
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://httpredir.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main Sources
apt-cache showsrc package_name
Displays all the source package records that match the given package
names. All versions are shown, as well as all records that declare the
name to be a Binary.
$ apt-cache showsrc javacc
Package: javacc
Binary: javacc, javacc-doc
Version: 5.0-5
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Emmanuel Bourg <ebourg@apache.org>
Build-Depends: ant, debhelper (>= 7), cdbs (>= 0.4.5.3), default-jdk
Build-Depends-Indep: ant-optional, libxalan2-java, docbook-to-man, junit, maven-repo-helper
Architecture: all
Standards-Version: 3.9.4
Format: 3.0 (quilt)
Files:
6715506605c7a4e750309b7ef645ec86 1397 javacc_5.0-5.dsc
edf47d357c6f36458474a1b537b88a12 711183 javacc_5.0.orig.tar.gz
b3308a9aefeca4318a0838b2a3213cea 7893 javacc_5.0-5.debian.tar.gz
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/javacc
Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/javacc
Checksums-Sha1:
f4a4ea175ce87af588c713eaab8caeaefc64183f 1397 javacc_5.0-5.dsc
f6e12a183579a67528f351282251560faf4737db 711183 javacc_5.0.orig.tar.gz
4aebf3cadecd96f304f80786f07473574569dc02 7893 javacc_5.0-5.debian.tar.gz
Checksums-Sha256:
4a61f89f984809964e3d63d159998ff29c951765a046ac87dca32b21eb54f99b 1397 javacc_5.0-5.dsc
aab2c3e2f37648b9e708e6bad4c8b544cba63b66f1791907e6e3f89609b27150 711183 javacc_5.0.orig.tar.gz
66418d91dc6c6d45d941181d08150d272d3db57a944f3ce61847e5e1ec7c0659 7893 javacc_5.0-5.debian.tar.gz
Homepage: http://javacc.java.net
Package-List:
javacc deb java optional
javacc-doc deb doc optional
Directory: pool/main/j/javacc
Priority: source
Section: java
apt-cache depends package_name
Shows a listing of each dependency a package has and all the possible
other packages that can fulfill that dependency.
$ apt-cache depends javacc
javacc
|Depends: default-jre-headless
|Depends: <java1-runtime-headless>
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
Depends: <java2-runtime-headless>
default-jre-headless
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
openjdk-7-jre-headless
openjdk-8-jre-headless
Suggests: javacc-doc
Testing environment
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
Codename: jessie
setivolkylany$/media/setivolkylany/WorkDisk/Private$ uname -a
Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Based on https://linux.die.net/man/8/apt-cache and http://manpages.ubuntu.com/manpages/zesty/man8/apt-cache.8.html
add a comment
|
For similar tasks, the package management system ATP (the Advanced Package Tool) provide several solutions (https://en.wikipedia.org/wiki/Advanced_Packaging_Tool).
apt-cache showpkg package_name
Description taken from here https://linux.die.net/man/8/apt-cache
showpkg displays information about the packages listed on the command
line. Remaining arguments are package names. The available versions
and reverse
dependencies of each package listed are listed, as well as forward dependencies for each version. Forward (normal) dependencies
are those packages upon
which the package in question depends; reverse dependencies are those packages that depend upon the package in question. Thus,
forward dependencies must
be satisfied for a package, but reverse dependencies need not be. For instance, apt-cache showpkg libreadline2 would produce
output similar to the
following
$ apt-cache showpkg javacc
Package: javacc
Versions:
5.0-5 (/var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages) (/var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_main_binary-am)
Description Language:
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages
MD5: 61505d89a764133cbd782b370c93fe98
Description Language: en
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_i18n_Translation-en
MD5: 61505d89a764133cbd782b370c93fe98
Reverse Depends:
ant-optional,javacc
ant-optional,javacc
libjavacc-maven-plugin-java,javacc
javacc-doc,javacc
ant-optional,javacc
Dependencies:
5.0-5 - default-jre-headless (16 (null)) java1-runtime-headless (16 (null)) java2-runtime-headless (0 (null)) javacc-doc (0 (null))
Provides:
5.0-5 -
Reverse Provides:
apt-cache show package_name
Displays the package records for the named packages.
$ apt-cache show javacc
Package: javacc
Version: 5.0-5
Installed-Size: 380
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless
Suggests: javacc-doc
Description-en: Parser generator for use with Java
Java Compiler-Compiler (JavaCC) is (according to sun)
"the most popular parser generator" for use with Java [tm]
applications.
.
A parser generator is a tool that reads a grammar specification
and converts it to a Java program that can recognize matches to
the grammar. In addition to the parser generator itself, JavaCC
provides other standard capabilities related to parser
generation such as tree building (via a tool called JJTree
included with JavaCC), actions, debugging, etc.
Description-md5: 61505d89a764133cbd782b370c93fe98
Homepage: http://javacc.java.net
Tag: devel::code-generator, devel::lang:java, implemented-in::java,
interface::commandline, role::program, scope::utility
Section: java
Priority: optional
Filename: pool/main/j/javacc/javacc_5.0-5_all.deb
Size: 284722
MD5sum: b1efd2defeba45cd97a48541235e6255
SHA1: c5e4b1991be06ec56e6d1a5b916c714068e5bf6b
SHA256: 757f9566d488858285c23c2ac12e05168af38953cf034f6e44123c2a88cb7c83
apt-cache policy package_name
This is meant to help debug issues relating to the preferences file.
With no arguments it will print out the priorities of each source.
Otherwise it prints out detailed information about the priority
selection of the named package.
$ apt-cache policy javacc
javacc:
Installed: (none)
Candidate: 5.0-5
Version table:
5.0-5 0
500 http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
apt-cache madison package_name
apt-cache's madison command attempts to mimic the output format and
a subset of the functionality of the Debian archive management
tool, madison. It displays available versions of a package in a
tabular format. Unlike the original madison, it can only display
information for the architecture for which APT has retrieved
package lists (APT::Architecture).
$ apt-cache madison javacc
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://httpredir.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main Sources
apt-cache showsrc package_name
Displays all the source package records that match the given package
names. All versions are shown, as well as all records that declare the
name to be a Binary.
$ apt-cache showsrc javacc
Package: javacc
Binary: javacc, javacc-doc
Version: 5.0-5
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Emmanuel Bourg <ebourg@apache.org>
Build-Depends: ant, debhelper (>= 7), cdbs (>= 0.4.5.3), default-jdk
Build-Depends-Indep: ant-optional, libxalan2-java, docbook-to-man, junit, maven-repo-helper
Architecture: all
Standards-Version: 3.9.4
Format: 3.0 (quilt)
Files:
6715506605c7a4e750309b7ef645ec86 1397 javacc_5.0-5.dsc
edf47d357c6f36458474a1b537b88a12 711183 javacc_5.0.orig.tar.gz
b3308a9aefeca4318a0838b2a3213cea 7893 javacc_5.0-5.debian.tar.gz
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/javacc
Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/javacc
Checksums-Sha1:
f4a4ea175ce87af588c713eaab8caeaefc64183f 1397 javacc_5.0-5.dsc
f6e12a183579a67528f351282251560faf4737db 711183 javacc_5.0.orig.tar.gz
4aebf3cadecd96f304f80786f07473574569dc02 7893 javacc_5.0-5.debian.tar.gz
Checksums-Sha256:
4a61f89f984809964e3d63d159998ff29c951765a046ac87dca32b21eb54f99b 1397 javacc_5.0-5.dsc
aab2c3e2f37648b9e708e6bad4c8b544cba63b66f1791907e6e3f89609b27150 711183 javacc_5.0.orig.tar.gz
66418d91dc6c6d45d941181d08150d272d3db57a944f3ce61847e5e1ec7c0659 7893 javacc_5.0-5.debian.tar.gz
Homepage: http://javacc.java.net
Package-List:
javacc deb java optional
javacc-doc deb doc optional
Directory: pool/main/j/javacc
Priority: source
Section: java
apt-cache depends package_name
Shows a listing of each dependency a package has and all the possible
other packages that can fulfill that dependency.
$ apt-cache depends javacc
javacc
|Depends: default-jre-headless
|Depends: <java1-runtime-headless>
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
Depends: <java2-runtime-headless>
default-jre-headless
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
openjdk-7-jre-headless
openjdk-8-jre-headless
Suggests: javacc-doc
Testing environment
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
Codename: jessie
setivolkylany$/media/setivolkylany/WorkDisk/Private$ uname -a
Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Based on https://linux.die.net/man/8/apt-cache and http://manpages.ubuntu.com/manpages/zesty/man8/apt-cache.8.html
add a comment
|
For similar tasks, the package management system ATP (the Advanced Package Tool) provide several solutions (https://en.wikipedia.org/wiki/Advanced_Packaging_Tool).
apt-cache showpkg package_name
Description taken from here https://linux.die.net/man/8/apt-cache
showpkg displays information about the packages listed on the command
line. Remaining arguments are package names. The available versions
and reverse
dependencies of each package listed are listed, as well as forward dependencies for each version. Forward (normal) dependencies
are those packages upon
which the package in question depends; reverse dependencies are those packages that depend upon the package in question. Thus,
forward dependencies must
be satisfied for a package, but reverse dependencies need not be. For instance, apt-cache showpkg libreadline2 would produce
output similar to the
following
$ apt-cache showpkg javacc
Package: javacc
Versions:
5.0-5 (/var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages) (/var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_main_binary-am)
Description Language:
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages
MD5: 61505d89a764133cbd782b370c93fe98
Description Language: en
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_i18n_Translation-en
MD5: 61505d89a764133cbd782b370c93fe98
Reverse Depends:
ant-optional,javacc
ant-optional,javacc
libjavacc-maven-plugin-java,javacc
javacc-doc,javacc
ant-optional,javacc
Dependencies:
5.0-5 - default-jre-headless (16 (null)) java1-runtime-headless (16 (null)) java2-runtime-headless (0 (null)) javacc-doc (0 (null))
Provides:
5.0-5 -
Reverse Provides:
apt-cache show package_name
Displays the package records for the named packages.
$ apt-cache show javacc
Package: javacc
Version: 5.0-5
Installed-Size: 380
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless
Suggests: javacc-doc
Description-en: Parser generator for use with Java
Java Compiler-Compiler (JavaCC) is (according to sun)
"the most popular parser generator" for use with Java [tm]
applications.
.
A parser generator is a tool that reads a grammar specification
and converts it to a Java program that can recognize matches to
the grammar. In addition to the parser generator itself, JavaCC
provides other standard capabilities related to parser
generation such as tree building (via a tool called JJTree
included with JavaCC), actions, debugging, etc.
Description-md5: 61505d89a764133cbd782b370c93fe98
Homepage: http://javacc.java.net
Tag: devel::code-generator, devel::lang:java, implemented-in::java,
interface::commandline, role::program, scope::utility
Section: java
Priority: optional
Filename: pool/main/j/javacc/javacc_5.0-5_all.deb
Size: 284722
MD5sum: b1efd2defeba45cd97a48541235e6255
SHA1: c5e4b1991be06ec56e6d1a5b916c714068e5bf6b
SHA256: 757f9566d488858285c23c2ac12e05168af38953cf034f6e44123c2a88cb7c83
apt-cache policy package_name
This is meant to help debug issues relating to the preferences file.
With no arguments it will print out the priorities of each source.
Otherwise it prints out detailed information about the priority
selection of the named package.
$ apt-cache policy javacc
javacc:
Installed: (none)
Candidate: 5.0-5
Version table:
5.0-5 0
500 http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
apt-cache madison package_name
apt-cache's madison command attempts to mimic the output format and
a subset of the functionality of the Debian archive management
tool, madison. It displays available versions of a package in a
tabular format. Unlike the original madison, it can only display
information for the architecture for which APT has retrieved
package lists (APT::Architecture).
$ apt-cache madison javacc
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://httpredir.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main Sources
apt-cache showsrc package_name
Displays all the source package records that match the given package
names. All versions are shown, as well as all records that declare the
name to be a Binary.
$ apt-cache showsrc javacc
Package: javacc
Binary: javacc, javacc-doc
Version: 5.0-5
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Emmanuel Bourg <ebourg@apache.org>
Build-Depends: ant, debhelper (>= 7), cdbs (>= 0.4.5.3), default-jdk
Build-Depends-Indep: ant-optional, libxalan2-java, docbook-to-man, junit, maven-repo-helper
Architecture: all
Standards-Version: 3.9.4
Format: 3.0 (quilt)
Files:
6715506605c7a4e750309b7ef645ec86 1397 javacc_5.0-5.dsc
edf47d357c6f36458474a1b537b88a12 711183 javacc_5.0.orig.tar.gz
b3308a9aefeca4318a0838b2a3213cea 7893 javacc_5.0-5.debian.tar.gz
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/javacc
Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/javacc
Checksums-Sha1:
f4a4ea175ce87af588c713eaab8caeaefc64183f 1397 javacc_5.0-5.dsc
f6e12a183579a67528f351282251560faf4737db 711183 javacc_5.0.orig.tar.gz
4aebf3cadecd96f304f80786f07473574569dc02 7893 javacc_5.0-5.debian.tar.gz
Checksums-Sha256:
4a61f89f984809964e3d63d159998ff29c951765a046ac87dca32b21eb54f99b 1397 javacc_5.0-5.dsc
aab2c3e2f37648b9e708e6bad4c8b544cba63b66f1791907e6e3f89609b27150 711183 javacc_5.0.orig.tar.gz
66418d91dc6c6d45d941181d08150d272d3db57a944f3ce61847e5e1ec7c0659 7893 javacc_5.0-5.debian.tar.gz
Homepage: http://javacc.java.net
Package-List:
javacc deb java optional
javacc-doc deb doc optional
Directory: pool/main/j/javacc
Priority: source
Section: java
apt-cache depends package_name
Shows a listing of each dependency a package has and all the possible
other packages that can fulfill that dependency.
$ apt-cache depends javacc
javacc
|Depends: default-jre-headless
|Depends: <java1-runtime-headless>
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
Depends: <java2-runtime-headless>
default-jre-headless
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
openjdk-7-jre-headless
openjdk-8-jre-headless
Suggests: javacc-doc
Testing environment
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
Codename: jessie
setivolkylany$/media/setivolkylany/WorkDisk/Private$ uname -a
Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Based on https://linux.die.net/man/8/apt-cache and http://manpages.ubuntu.com/manpages/zesty/man8/apt-cache.8.html
For similar tasks, the package management system ATP (the Advanced Package Tool) provide several solutions (https://en.wikipedia.org/wiki/Advanced_Packaging_Tool).
apt-cache showpkg package_name
Description taken from here https://linux.die.net/man/8/apt-cache
showpkg displays information about the packages listed on the command
line. Remaining arguments are package names. The available versions
and reverse
dependencies of each package listed are listed, as well as forward dependencies for each version. Forward (normal) dependencies
are those packages upon
which the package in question depends; reverse dependencies are those packages that depend upon the package in question. Thus,
forward dependencies must
be satisfied for a package, but reverse dependencies need not be. For instance, apt-cache showpkg libreadline2 would produce
output similar to the
following
$ apt-cache showpkg javacc
Package: javacc
Versions:
5.0-5 (/var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages) (/var/lib/apt/lists/httpredir.debian.org_debian_dists_jessie_main_binary-am)
Description Language:
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_binary-amd64_Packages
MD5: 61505d89a764133cbd782b370c93fe98
Description Language: en
File: /var/lib/apt/lists/ftp.ru.debian.org_debian_dists_jessie_main_i18n_Translation-en
MD5: 61505d89a764133cbd782b370c93fe98
Reverse Depends:
ant-optional,javacc
ant-optional,javacc
libjavacc-maven-plugin-java,javacc
javacc-doc,javacc
ant-optional,javacc
Dependencies:
5.0-5 - default-jre-headless (16 (null)) java1-runtime-headless (16 (null)) java2-runtime-headless (0 (null)) javacc-doc (0 (null))
Provides:
5.0-5 -
Reverse Provides:
apt-cache show package_name
Displays the package records for the named packages.
$ apt-cache show javacc
Package: javacc
Version: 5.0-5
Installed-Size: 380
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless
Suggests: javacc-doc
Description-en: Parser generator for use with Java
Java Compiler-Compiler (JavaCC) is (according to sun)
"the most popular parser generator" for use with Java [tm]
applications.
.
A parser generator is a tool that reads a grammar specification
and converts it to a Java program that can recognize matches to
the grammar. In addition to the parser generator itself, JavaCC
provides other standard capabilities related to parser
generation such as tree building (via a tool called JJTree
included with JavaCC), actions, debugging, etc.
Description-md5: 61505d89a764133cbd782b370c93fe98
Homepage: http://javacc.java.net
Tag: devel::code-generator, devel::lang:java, implemented-in::java,
interface::commandline, role::program, scope::utility
Section: java
Priority: optional
Filename: pool/main/j/javacc/javacc_5.0-5_all.deb
Size: 284722
MD5sum: b1efd2defeba45cd97a48541235e6255
SHA1: c5e4b1991be06ec56e6d1a5b916c714068e5bf6b
SHA256: 757f9566d488858285c23c2ac12e05168af38953cf034f6e44123c2a88cb7c83
apt-cache policy package_name
This is meant to help debug issues relating to the preferences file.
With no arguments it will print out the priorities of each source.
Otherwise it prints out detailed information about the priority
selection of the named package.
$ apt-cache policy javacc
javacc:
Installed: (none)
Candidate: 5.0-5
Version table:
5.0-5 0
500 http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
apt-cache madison package_name
apt-cache's madison command attempts to mimic the output format and
a subset of the functionality of the Debian archive management
tool, madison. It displays available versions of a package in a
tabular format. Unlike the original madison, it can only display
information for the architecture for which APT has retrieved
package lists (APT::Architecture).
$ apt-cache madison javacc
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://httpredir.debian.org/debian/ jessie/main amd64 Packages
javacc | 5.0-5 | http://ftp.ru.debian.org/debian/ jessie/main Sources
apt-cache showsrc package_name
Displays all the source package records that match the given package
names. All versions are shown, as well as all records that declare the
name to be a Binary.
$ apt-cache showsrc javacc
Package: javacc
Binary: javacc, javacc-doc
Version: 5.0-5
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Emmanuel Bourg <ebourg@apache.org>
Build-Depends: ant, debhelper (>= 7), cdbs (>= 0.4.5.3), default-jdk
Build-Depends-Indep: ant-optional, libxalan2-java, docbook-to-man, junit, maven-repo-helper
Architecture: all
Standards-Version: 3.9.4
Format: 3.0 (quilt)
Files:
6715506605c7a4e750309b7ef645ec86 1397 javacc_5.0-5.dsc
edf47d357c6f36458474a1b537b88a12 711183 javacc_5.0.orig.tar.gz
b3308a9aefeca4318a0838b2a3213cea 7893 javacc_5.0-5.debian.tar.gz
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/javacc
Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/javacc
Checksums-Sha1:
f4a4ea175ce87af588c713eaab8caeaefc64183f 1397 javacc_5.0-5.dsc
f6e12a183579a67528f351282251560faf4737db 711183 javacc_5.0.orig.tar.gz
4aebf3cadecd96f304f80786f07473574569dc02 7893 javacc_5.0-5.debian.tar.gz
Checksums-Sha256:
4a61f89f984809964e3d63d159998ff29c951765a046ac87dca32b21eb54f99b 1397 javacc_5.0-5.dsc
aab2c3e2f37648b9e708e6bad4c8b544cba63b66f1791907e6e3f89609b27150 711183 javacc_5.0.orig.tar.gz
66418d91dc6c6d45d941181d08150d272d3db57a944f3ce61847e5e1ec7c0659 7893 javacc_5.0-5.debian.tar.gz
Homepage: http://javacc.java.net
Package-List:
javacc deb java optional
javacc-doc deb doc optional
Directory: pool/main/j/javacc
Priority: source
Section: java
apt-cache depends package_name
Shows a listing of each dependency a package has and all the possible
other packages that can fulfill that dependency.
$ apt-cache depends javacc
javacc
|Depends: default-jre-headless
|Depends: <java1-runtime-headless>
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
Depends: <java2-runtime-headless>
default-jre-headless
gcj-4.8-jre-headless
gcj-4.9-jre-headless
gcj-jre-headless
openjdk-7-jre-headless
openjdk-8-jre-headless
Suggests: javacc-doc
Testing environment
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.6 (jessie)
Release: 8.6
Codename: jessie
setivolkylany$/media/setivolkylany/WorkDisk/Private$ uname -a
Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Based on https://linux.die.net/man/8/apt-cache and http://manpages.ubuntu.com/manpages/zesty/man8/apt-cache.8.html
answered Feb 16 '17 at 9:34
PADYMKOPADYMKO
2933 silver badges6 bronze badges
2933 silver badges6 bronze badges
add a comment
|
add a comment
|
For those just looking for a basic summary of the package :
apt-cache search ^package-name$
add a comment
|
For those just looking for a basic summary of the package :
apt-cache search ^package-name$
add a comment
|
For those just looking for a basic summary of the package :
apt-cache search ^package-name$
For those just looking for a basic summary of the package :
apt-cache search ^package-name$
answered Jul 18 at 19:35
Mike QMike Q
1214 bronze badges
1214 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f47856%2fhow-to-get-to-know-the-information-about-a-package-before-installation-in-termin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown