LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-22-2017, 09:00 AM   #1
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Rep: Reputation: 5
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
 
Old 07-22-2017, 09:28 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
Old 07-22-2017, 10:35 AM   #3
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
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.
Old 07-22-2017, 11:26 AM   #4
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
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.
 
Old 07-22-2017, 12:29 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
Old 07-22-2017, 12:37 PM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Most programs will give you version information if you call them with the --version option.
 
1 members found this post helpful.
Old 07-22-2017, 12:47 PM   #7
Harshit_24
Member
 
Registered: Jul 2014
Location: India
Distribution: CentOS
Posts: 75

Original Poster
Rep: Reputation: 5
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.
 
Old 07-22-2017, 12:59 PM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by Harshit_24 View Post
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
 
  


Reply



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
Checking versions of applications? tcv Linux - Newbie 3 06-17-2007 10:40 AM
Checking for new versions of software introuble Programming 9 04-23-2006 06:10 PM
checking versions of apps bigeeguy Linux - Newbie 4 04-08-2004 05:32 PM
Checking software versions cav Linux - General 2 06-09-2003 01:24 PM
Checking Software? AMDPwred Linux - General 5 01-20-2002 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:53 AM.

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
Open Source Consulting | Domain Registration