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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-22-2017, 09:00 AM
|
#1
|
Member
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75
Rep:
|
Checking the versions of the software
Suppose, I need to check the latest version of VLC present in the repository for Debian stretch, how could I view that?
After, I can view the version, then I will download according to the requirement present in the version or not.
Thanks
|
|
|
07-22-2017, 09:28 AM
|
#2
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
If the repository is in your software sources, then
Code:
apt-cache policy vlc
should provide you with that info. You can ignore the priority details (e.g. 500) in the output.
I don't understand the second line of your question, sorry. Could you possibly phrase it in another way?
|
|
1 members found this post helpful.
|
07-22-2017, 10:35 AM
|
#3
|
Member
Registered: Jul 2004
Location: Chennai, India
Posts: 952
|
What you want used to be called as release notes and they tell you the new version numbers, features, patches, changes applied.
BUT
They usually expect that all earlier version should have been installed in sequence.
You cant expect to skip or pick and choose which version to install. That is the surest way to have a broken programme.
You should install the sequentially version from the same source. (For example don't mix stable, beta etc).
OK
|
|
1 members found this post helpful.
|
07-22-2017, 11:26 AM
|
#4
|
Member
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75
Original Poster
Rep:
|
Thanks for the reply
I am asking this as if I install Debian stretch & I want to work on Java 8, so whether will it be available in the default repository of Debian stable or the earlier version.
|
|
|
07-22-2017, 12:29 PM
|
#5
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Java 8 is the default Java in Debian Stretch and is available in the repositories.
Debian's Java page:
https://wiki.debian.org/Java
Some additional installation instructions if you need to install Oracle's Java:
https://linoxide.com/debian/install-...nux-9-stretch/
|
|
1 members found this post helpful.
|
07-22-2017, 12:37 PM
|
#6
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,903
|
Most programs will give you version information if you call them with the --version option.
|
|
1 members found this post helpful.
|
07-22-2017, 12:47 PM
|
#7
|
Member
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75
Original Poster
Rep:
|
Thanks hydrurga for the clarification.
@hazel, I would like to know the versions of the softwares which are not installed on the system i.e. which I want to install. So, before installing using apt-get, I wanted to know that which version of the software will get install.
|
|
|
07-22-2017, 12:59 PM
|
#8
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,903
|
Quote:
Originally Posted by Harshit_24
Thanks hydrurga for the clarification.
@hazel, I would like to know the versions of the softwares which are not installed on the system i.e. which I want to install. So, before installing using apt-get, I wanted to know that which version of the software will get install.
|
apt-cache --version show packagename
|
|
|
All times are GMT -5. The time now is 03:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|