Apt Get Check Version

  1. Apt-get Check Latest Version Of Package
  2. Apt Get Download
  3. Apt Get Check Version In Firefox
Active2 years, 7 months ago

How can I check the version of the available package in the Ubuntu repositories without installing it?

2) Install a specific version of a package. When you have listed the versions to choose the specific one, you can install it with the apt-get install command followed by the name and the version of the package. So, you need to follow the syntax as below: apt-get install package=version -V. You often have to install it, but then can run apt-show-versions -a and it will show you the version number, the distribution (i.e. Testing, stable, unstable, backports, etc.) where that can be found, and finally tell you if the version you have installed is up to date or not.

In this article, we will explain how to install a particular or specific package version in CentOS and Ubuntu using Yum and APT front-end package managers, respectively. Install Specific Package Version in CentOS/RHEL/Fedora. First, you need to check for all the available versions of a package, whether installed or not. How to install a specific version of a Debian package using apt-get At work we use a backported version of Subversion as the stable package is 1.1.4 and I wanted to install the latest one we could get a package for which was version 1.3.2. Oct 03, 2018  How do you check package version using apt-get/aptitude on Debian or Ubuntu Linux server? There are various commands or options that can tell you about the version number on Debian or Ubuntu Linux based system. Let us see commands to check package version using apt-get command or apt command or aptitude command on a Debian or Ubuntu Linux server. Apt-cache policy will show the version details. It also shows which version is currently installed and which versions are available to install. For example, apt-cache policy hylafax+ share improve this answer. I’ve covered most of the available options with apt-get and apt-cache commands, but still there are more options available, you can check them out using ‘man apt-get‘ or ‘man apt-cache‘ from the terminal. I hope you enjoyed reading this article, If I’ve missed anything and you would like me to add to the list.

Braiam
54.4k21 gold badges146 silver badges230 bronze badges
rɑːdʒɑrɑːdʒɑ
62.5k88 gold badges223 silver badges306 bronze badges

7 Answers

Use the command:

The book is accessible to students from all backgrounds and uses hundreds of figures to visually represent concepts.The new edition has been completely updated to reflect the constantly changing world of network technologies. The book has also improved its coverage of high speed access to the internet with more on DSL, Cable TV, and SONET.The third edition has transitioned from using the 7-layer OSI model to the 5-layer Internet Model. Computer networks forouzan pdf download. Enhanced coverage of bluetooth, wireless, satellites, as well as four new chapters on security have been added. More time is spent on TCP/IP in the new organization.Forouzan’s book continues to be supported by an On-line Learning Center (OLC) that contains many extra resources for students and instructors.

This gives you information of all available package versions.

Example:

  • From the output, you can see that there are two versions available: 2.0.8-0ubuntu0.13.04.1 and 2.0.6-1. It also tells you which repositories they are coming from.

  • Installed: tells you the version you have installed. If you don't have the package installed, you'll see (none).

  • Candidate: is the version that will be installed if you use apt-get install vlc. If you want to install the other version, you would do apt-get install vlc=2.0.6-1.

Alaa AliAlaa Ali
23.7k9 gold badges73 silver badges95 bronze badges

Go to packages.ubuntu.com, fill in the search form and get a nice view of the package including the version.

Apt-get Check Latest Version Of Package

Hit search, then:

Apt Get Download

Additional benefits

  • Will also list versions of packages for other versions of Ubuntu. Eg. if you want to know about the version of the package in Raring (13.04), but your system still has Precise (12.04), then this will provide a way to find it out.
  • You don't even need Ubuntu to be installed.

Biggest downside is that it won't list the versions of other repositories you possible have installed, such as PPAs. You will then need the apt-cache policy approach as already posted.

Pro tip

Take the shortcut - just browse to http://packages.ubuntu.com/packagename and replace packagename with the name of the package you want to query.

Community
gertvdijkgertvdijk
53.4k18 gold badges150 silver badges246 bronze badges

It also gives information about all available package versions in the repositories. This command output had the syntax like this:

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).

Example:

To see more matches, use our custom search engine to.Tech Tip: If you are having trouble deciding which is the right driver, try the. It is a software utility that will find the right driver for you - automatically.DriverGuide maintains an extensive archive of Windowsdrivers available for free download. We employ a team from around the world. Ati radeon x300/x550/x1050 drivers. Browse the list below to find the driver that meets your needs.

Zanna
53.4k15 gold badges150 silver badges251 bronze badges
Avinash RajAvinash Raj
55.4k44 gold badges177 silver badges227 bronze badges

Open your terminal with CTRL+ALT+T and then type as

Then it will give you information about whats the available version.

for example:

rɑːdʒɑrɑːdʒɑ
62.5k88 gold badges223 silver badges306 bronze badges

apt-cache show or aptitude show gives you a lot of information about a package from your repositories (even if this is installed or not), including the version. If you are interested only about version, use:

Get

or

If a package is available in several versions, you will see this. To see only the last version, use:

You can not have any doubts with the above command.

Radu RădeanuRadu Rădeanu
127k37 gold badges270 silver badges335 bronze badges
Eric Carvalho
44.2k17 gold badges120 silver badges151 bronze badges
munsinghmunsingh

Here's another way:

The above method only works if run with sudo.

anonymous2
3,5474 gold badges24 silver badges52 bronze badges

Apt Get Check Version In Firefox

Jerry HoffmeisterJerry Hoffmeister

Not the answer you're looking for? Browse other questions tagged package-management or ask your own question.

Active3 years, 6 months ago

Using APT, you can install a specific version of a package using:

But you can't do

So, how can I find out which versions are avaliable for package on a specific repository, or in all repositories in my /etc/apt/sources.list?

Camilo MartinCamilo Martin
1,5134 gold badges22 silver badges40 bronze badges

4 Answers

Just as an addendum

will list the versions available from all your sources.

madison is an apt-cache subcommand, man apt-cache says:

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).

lornixlornix
9,2481 gold badge24 silver badges33 bronze badges

The apt-cache show <Package> shows the package descriptions of all the versions your debian installation can install (i.e. from cached list of packages available from the repos listed in sources.list). So I guess you could try something like (for e.g.):

The apt-cache show would give you much more info than just versions.

AnilAnil

Sample output:

So we see that there are two versions of GDB available:

  • 7.7.1-0ubuntu5~14.04.2
  • 7.7-0ubuntu3

Meaning of the output:

Community
Ciro Santilli 新疆改造中心法轮功六四事件Ciro Santilli 新疆改造中心法轮功六四事件
4,9632 gold badges34 silver badges40 bronze badges

A command that is specifically intended for this is apt-show-versions. You often have to install it, but then can run apt-show-versions -a and it will show you the version number, the distribution (i.e. testing, stable, unstable, backports, etc.) where that can be found, and finally tell you if the version you have installed is up to date or not.

It does not give you as much information as apt-cache, but gives you pretty much what you need, as you can then install from the correct repository (using aptitude / apt-get -t) or simply install using the correct version number in the form you noted.

ShankarGShankarG
5061 gold badge6 silver badges18 bronze badges

Not the answer you're looking for? Browse other questions tagged linuxdebianpackage-managementrepositoryapt-get or ask your own question.