How can I check the available version of a package in the repositories?


Answer #: 1

Use the command:

apt-cache policy

This gives you information of all available package versions.


alaa@aa-lu:~$ apt-cache policy vlc vlc: Installed: 2.0.8-0ubuntu0.13.04.1 Candidate: 2.0.8-0ubuntu0.13.04.1 Version table: *** 2.0.8-0ubuntu0.13.04.1 0 500 raring-updates/universe i386 Packages 500 raring-security/universe i386 Packages 100 /var/lib/dpkg/status 2.0.6-1 0 500 raring/universe i386 Packages

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

0 0

Today, a friend of mine asked me how to check the latest available version of a package in the Ubuntu repositories. He just wanted to know the package’s version without installing it. I never knew that before, so I immediately went to askubuntu forums, and search for the answer. This is my first preference site where I regularly search for Ubuntu related help. Luckily, someone has already asked the same question. So, I wanted to share those instructions for the OSTechNix readers, and keep it myself for future reference.

If you wanted to check available version of a package in Ubuntu repositories, read on. It’s not that difficult.

We can do it two methods.

The command line way Graphical way

1. Check available version of a package in Ubuntu repositories from command line

This is the easiest and quickest way to find a package version from command line.

Open your Terminal, and run the following command:

apt-cache policy

For example, let us...

0 0

The Arch User Repository (AUR) is a community-driven repository for Arch users. It contains package descriptions (PKGBUILDs) that allow you to compile a package from source with makepkg and then install it via pacman. The AUR was created to organize and share new packages from the community and to help expedite popular packages' inclusion into the community repository. This document explains how users can access and utilize the AUR.

A good number of new packages that enter the official repositories start in the AUR. In the AUR, users are able to contribute their own package builds (PKGBUILD and related files). The AUR community has the ability to vote for or against packages in the AUR. If a package becomes popular enough — provided it has a compatible license and good packaging technique — it may be entered into the community repository (directly accessible by pacman or abs).

Getting started

Users can search and download PKGBUILDs from the AUR Web Interface....

0 0

In 2015.8.0 and later, the Windows Software Repository cache is compiled on the Salt Minion, which enables pillar, grains and other things to be available during compilation time. To support this new functionality, a next-generation (ng) package repository was created. See See the Changes in Version 2015.8.0 for details.

The SaltStack Windows Software Repository provides a package manager and software repository similar to what is provided by yum and apt on Linux. This repository enables the installation of software using the installers on remote Windows systems.

In many senses, the operation is similar to that of the other package managers salt is aware of:

the pkg.installed and similar states work on Windows. the pkg.install and similar module functions work on Windows.

High level differences to yum and apt are:

The repository metadata (SLS files) is hosted through either salt or git. Packages can be downloaded from within the salt repository, a git...
0 0

In this article, we will learn how to install, update, remove, find packages, manage packages and repositories on Linux systems using YUM (Yellowdog Updater Modified) tool developed by RedHat. The example commands shown in this article are practically tested on our CentOS 6.3 server, you can use these material for study purpose, certifications or just to explore ways to install new packages and keep your system up-to-date. The basic requirement of this article is, you must have a basic understanding of commands and a working Linux operating system, where you can explore and practice all the commands listed below.

20 Linux Yum Commands

What is YUM?

YUM (Yellowdog Updater Modified) is an open source command-line as well as graphical based package management tool for RPM (RedHat Package Manager) based Linux systems. It allows users and system administrator to easily install, update, remove or search software packages on a systems. It was developed and released...

0 0
0 0

…where value is one of:

0 — yum should prompt for confirmation of critical actions it performs. This is the default.

1 — Do not prompt for confirmation of critical yum actions. If assumeyes=1 is set, yum behaves in the same way that the command-line option -y does.


…where directory is an absolute path to the directory where Yum should store its cache and database files. By default, Yum's cache directory is /var/cache/yum/$basearch/$releasever.


…where value is an integer between 1 and 10. Setting a higher debuglevel value causes yum to display more detailed debugging output. debuglevel=0 disables debugging output, while debuglevel=2 is the default.


…where value is one of:

0 — Do not take into account the exact architecture when updating packages.

1 — Consider the exact architecture when updating packages. With this setting, yum will not...

0 0


Last update : 2015-06-02

Link with my job ?

There is absolutely no link between the repository or blog content and my current employer.

Opinions expressed here are only mine and doesn't imply any community, project or society (Fedora, PHP, Red Hat, CentOS, ...).

Which are the goals of this repository ?

Providing the latest versions of the PHP stack, full featured, and some other software, to the Fedora and Enterprise Linux (RHEL, CentOS, Oracle, Scientific Linux, ...) users. It mainly contains :

packages I also maintains in Fedora backports of packages available in Fedora development version some packages incompatible with Fedora policy some packages in progress before being submitted to Fedora repository (nearly) vanilla versions

This is quite away from backporting fixes policy of Enterprise Linux.

Where to ask ? How to contact Remi ?

Blog comments are not designed to launch discussion....

0 0

Before you begin, you should have installed Miniconda or Anaconda, and gone through the previous Managing environments section. That means you have already installed a few packages when you created a new environment.

NOTE: There are many options available for each of these commands. See the Command reference for more detail.

List all of your packages in the active environment:

To list all of your packages installed into a non-active environment named snowflakes:

To see if a specific package is available for conda to install:

conda search beautiful-soup

This displays the package name, so we know it is available.

Install a package such as “Beautiful Soup” into the current environment, using conda install as follows:

conda install --name bunnies beautiful-soup

NOTE: If you do not specify the name of the environment where you want it installed (–name bunnies) it will install in the current environment.

Activate the bunnies...

0 0
0 0
Search field
Type here the search string. So doing, the list of packages shrinks to show the package names containing the entered string only. : Click this button to use the search history. : Click this button to clear the search field. Package This area shows the list of packages residing in the accessible remote repositories. For each package you can view its name and repository. Additional information (description and versions) is displayed to the right. Description For any selected package this field displays brief description, the latest version, author names, web site and email address. Specify version If this check box is selected, the specified version of a package will be downloaded and installed. If this check box is not selected, then the latest version will be installed. Options Select this check box to enter the option of the pip install command.

One can explore the possible options by...

0 0

Synaptic is a graphical front-end to apt, the package management system in Ubuntu. It combines the point-and-click simplicity of the graphical user interface with the power of the apt-get command line tool. You can install, remove, configure, or upgrade software packages, browse, sort and search the list of available software packages, manage repositories, or upgrade the whole system. You can queue up a number of actions before you execute them. Synaptic will inform you about dependencies (additional packages required by the software package you have chosen) as well as conflicts with other packages that are already installed on your system.

Synaptic's sibling on the Kubuntu desktop is Adept. If you prefer to use the command line instead of a graphical user interface, apt-get and aptitude are available. For information on these alternatives see InstallingSoftware.

Synaptic is no longer installed by default in Ubuntu 11.10, however it is still useful in some...

0 0

Another one,

apt-cache madison

It also gives information about all avilabe package verions in the repositories.This command output had the syntax like below,

packageName | Verion | Repository madison pkg... 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).


avi@avi-Lenovo-IdeaPad-Z500:~$ apt-cache madison chromium-browser chromium-browser | 32.0.1700.102-0ubuntu0.13.10.1~20140128.970.1 | saucy-updates/universe amd64 Packages chromium-browser | 32.0.1700.102-0ubuntu0.13.10.1~20140128.970.1 | saucy-security/universe amd64 Packages chromium-browser |...
0 0

There are literally thousands of Ubuntu programs available to meet the needs of Ubuntu users. Many of these programs are stored in software archives commonly referred to as repositories. Repositories make it easy to install new software, while also providing a high level of security, since the software is thoroughly tested and built specifically for each version of Ubuntu.

Ubuntu distinguishes between software that is "free" and software that is not free. For details of Ubuntu's Free Software Philosophy please see here.

The four main repositories are:

Main - Canonical-supported free and open-source software.

Universe - Community-maintained free and open-source software.

Restricted - Proprietary drivers for devices.

Multiverse - Software restricted by copyright or legal issues.

The Ubuntu Install CDs contain software from the "Main" and "Restricted" repositories, so if you have no internet connection you can still install...

0 0

A software repository is a storage location from which software packages may be retrieved and installed on a computer.


Many software publishers and other organizations maintain servers on the Internet for this purpose, either free of charge or for a subscription fee. Repositories may be solely for particular programs, such as CPAN for the Perl programming language, or for an entire operating system. Operators of such repositories typically provide a package management system, tools intended to search for, install and otherwise manipulate software packages from the repositories. For example, many Linux distributions use Advanced Packaging Tool (APT), commonly found in Debian based distributions, or yum found in Red Hat based distributions. There are also multiple independent package management systems, such as pacman, used in Arch Linux and equo, found in Sabayon Linux.

As software repositories are designed to include useful packages, major...

0 0

Browse to There, you can search for any package within any Ubuntu version. That will tell you what version of a specific package is available in what Ubuntu version.

There is no release schedule, as packages are added or updated when ready/necessary.

However, there is a changelog that you can check. For instance, if you go to: Ubuntu – Details for package redmine in raring, you will find a Changelog link at the right under Ubuntu Resources.

Within your particular Ubuntu version, you can check which versions of a particular package are available, and which one will be installed, using the command apt-cache policy. For instance:

$ apt-cache policy redmine redmine: Installed: (none) Candidate: 2.3.1-1 Version table: 2.3.1-1 0 500 saucy/universe amd64...
0 0
R: Download Packages from CRAN-like repositories

Download Packages from CRAN-like repositories


These functions can be used to automatically compare the version numbers of installed packages with the newest available version on the repositories and update outdated packages on the fly.


update.packages(lib.loc = NULL, repos = CRAN, contriburl = contrib.url(repos, type), CRAN = getOption("repos"), method, instlib = NULL, ask = TRUE, available = NULL, destdir = NULL, installWithVers = FALSE, checkBuilt = FALSE, type = getOption("pkgType")) available.packages(contriburl = contrib.url(getOption("repos")), method) CRAN.packages(CRAN = getOption("repos"), method, contriburl = contrib.url(CRAN)) old.packages(lib.loc = NULL, repos = CRAN, contriburl = contrib.url(repos), CRAN = getOption("repos"), method, available = NULL, checkBuilt = FALSE) new.packages(lib.loc =...
0 0
R: Compare Installed Packages with CRAN-like Repositories

Compare Installed Packages with CRAN-like Repositories


old.packages indicates packages which have a (suitable) later version on the repositories whereas update.packages offers to download and install such packages.

new.packages looks for (suitable) packages on the repositories that are not already installed, and optionally offers them for installation.


update.packages(lib.loc = NULL, repos = getOption("repos"), contriburl = contrib.url(repos, type), method, instlib = NULL, ask = TRUE, available = NULL, oldPkgs = NULL, ..., checkBuilt = FALSE, type = getOption("pkgType")) old.packages(lib.loc = NULL, repos = getOption("repos"), contriburl = contrib.url(repos, type), instPkgs = installed.packages(lib.loc = lib.loc), method, available = NULL, checkBuilt = FALSE, type = getOption("pkgType"))...
0 0

You can find the version number of a package in your repositories with the yum info command.

# yum info rabbitmq-server Available Packages Name : rabbitmq-server Arch : noarch Version : 2.6.1 Release : 1.fc16 Size : 1.1 M Repo : updates Committer : Peter Lemenkov Committime : Tue Nov 8 13:00:00 2011 Buildtime : Tue Nov 8 10:31:03 2011 Summary : The RabbitMQ server URL : License : MPLv1.1 Description : RabbitMQ is an implementation of AMQP, the emerging standard for high : performance enterprise messaging. The RabbitMQ server is a robust and : scalable implementation of an AMQP broker.

To find the version numbers of installed packages, you can use rpm with the -q option.

# rpm -q kernel kernel-3.3.1-5.fc16.x86_64 kernel-3.3.2-1.fc16.x86_64...
0 0

yum commands are typically run as yum . By default, yum will automatically attempt to check all configured repositories to resolve all package dependencies during an installation/upgrade.

The following is a list of the most commonly-used yum commands. For a complete list of available yum commands, refer to man yum.

yum install

Used to install the latest version of a package or group of packages. If no package matches the specified package name(s), they are assumed to be a shell glob, and any matches are then installed.

yum update

Used to update the specified packages to the latest available version. If no package name/s are specified, then yum will attempt to update all installed packages.

If the --obsoletes option is used (i.e. yum --obsoletes , yum will process obsolete packages. As such, packages that are obsoleted accross updates will be removed and...

0 0