03-16-2017
You can also use the eslelect tool so choose between versions of installed packages
10 More Discussions You Might Find Interesting
1. AIX
I'm a AIX novice - please bear with me..
I'm trying to install Java14_64_sdk on an Aix 5.2 server (P690)
I've copied the ff files to a separate directory:
Java14_64.ext
Java14_64.license
Java14_64.sdk
I then run smitty installp, point to the above directory and choose the Java14_64.sdk... (0 Replies)
Discussion started by: morgan_g
0 Replies
2. Solaris
dear all
there is any one can help me in a document about java install sheild in solaris (0 Replies)
Discussion started by: murad.jaber
0 Replies
3. AIX
I am not an AIX admin, but the guy that usually is has left and I am now the default person to do this stuff (scary for them). I am trying to install Java 5 on AIX 5.3, and am getting
MISSING REQUISITES: The following filesets are required by one or more
of the selected filesets listed... (5 Replies)
Discussion started by: Kirath
5 Replies
4. UNIX for Dummies Questions & Answers
I wrote a java code and compiled it using j2sdk 1.4.2 version. But i have to port those to a unix machine in which a very old version of unix has installed. say unix 264 version4.0 alpha. And the default java version that comes with that unix version is also very old and it is java version... (0 Replies)
Discussion started by: rasa_still_here
0 Replies
5. Debian
Hi all
im trying to install Java in Debian lenny with apt-get install but can find the packages...anyone can help me on this one?
thanks (2 Replies)
Discussion started by: ro0t3d
2 Replies
6. Debian
I am using VirtualBox if this helps.
btw, I am quite new, and have just started using Linux (It is pretty good I guess)
So, to use the self extracting binary-file "jre-6u22-linux-i586.bin" for Java so I can play on FICS (Free Internet Chess server) I had to use the consol command
"chmod a+x... (1 Reply)
Discussion started by: ClarkN
1 Replies
7. Solaris
What kind of required java type for installed?
which address link, i need to download the package.
i have zcat this version jdk-7-solaris-sparc.tar.Z and then installed each the packages with pkgadd -d . , but my java version still java full version "1.5.0_24-b02".is it need doanything after... (1 Reply)
Discussion started by: aagusman
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
I want to write a very short bash script for doing the following action (on Ubuntu):
First, install java
Second, launch at a specific time (e.g. 4.30 pm) a java ANT program.
How can I do this? (3 Replies)
Discussion started by: Helveticus
3 Replies
9. Solaris
Hello Everyone,
I am trying to install a new version of Java on Solaris 10 but I am unable to install. The server is a SPARC 64bit machine.
I downloaded Java SE Runtime Environment 8u101 (jre-8u101-solaris-sparcv9.tar.gz), then changed the directory to /usr/java. Copied the tar.gz... (5 Replies)
Discussion started by: dhiralall
5 Replies
10. Fedora
Hi All,
I have just downloaded fedora 27 iso and set it up in virtual box.
I want to learn Hadoop so trying to install Apache hadoop. Before all those I have to install Oracle Java 1.7.15 (as mentioned in the Apache hadoop page).
Can you please help me how to Uninstall currently installed... (6 Replies)
Discussion started by: TechGyaann
6 Replies
LEARN ABOUT DEBIAN
apt-show-versions
APT-SHOW-VERSIONS(1p) User Contributed Perl Documentation APT-SHOW-VERSIONS(1p)
NAME
apt-show-versions - Lists available package versions with distribution
DESCRIPTION
apt-show-versions parses the dpkg status file and the APT lists for the installed and available package versions and distribution and shows
upgrade options within the specific distribution of the selected package.
This is really useful if you have a mixed stable/testing environment and want to list all packages which are from testing and can be
upgraded in testing.
apt-show-versions uses caching for the status information of installed and available packages. If you run apt-show-versions as root the
cache is updated as needed. If you run as non-root uses the newest available information, but can't update the cache. If you run as root
with the option -i the cache is initialized or updated only.
SYNOPSIS
apt-show-versions [-h] [[-p] package name] [-a] [-b]
OPTIONS
If you don't give any options the status of all installed packages is printed.
-p package, --package=package
Print available and installed versions for specified package. You can also specify a package name without the option -p. If -p and a
package name are missing, all installed packages are displayed.
-r, --regex
interpret package from option -p as a regex.
-R, --regex-all
like --regex, but also show matching packages which are not installed
-u, --upgradeable
Print only upgradeable packages
-a, --allversions
Print all available versions of the selected packages
-b, --brief
Print only package_name/distribution for upgradeable packages
-v, --verbose
Prints out messages about which Package files are parsed.
-i, --initialize
Initialize or update package cache only (as root). Do this every time when the status of the installed or available packages has
changed. Initialization is done automatically on installation of the package and via a cron.daily job.
-stf file, --status-file=file
Use file as the dpkg status file instead of /var/lib/dpkg/status
-ld directory, --list-dir=directory
Use directory as path to apt's list files instead of /var/state/apt/lists/ or /var/lib/apt/lists/
-h, --help
Prints out command-line help.
EXIT CODES
0 No error
1 Wrong usage
2 apt-show-versions has been called with exactly one package and upgradeable option set, but package is uptodate. As no output has been
requested, this case gets signaled using the exit code.
255 Unspecified error
EXAMPLES
If you want to know for all your installed packages whether they are uptodate or upgradeable, use:
apt-show-versions
If you want to have a list of all upgradeable packages:
apt-show-versions -u
To get a list of all available versions of libc6:
apt-show-versions -a -p libc6
To get information about several packages:
apt-show-versions dpkg apt
apt-show-versions -r ^texlive
To upgrade all packages in testing:
apt-get install `apt-show-versions -u -b | fgrep testing`
AUTHOR
Christoph Martin, martin@uni-mainz.de
SEE ALSO
apt(8), dpkg(1)
perl v5.14.2 2012-10-26 APT-SHOW-VERSIONS(1p)