Apt Get Check Version
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.
Braiam7 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
and2.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 useapt-get install vlc
. If you want to install the other version, you would doapt-get install vlc=2.0.6-1
.
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.
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.
ZannaOpen 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ʒɑ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:
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ădeanuHere's another way:
The above method only works if run with sudo.
anonymous2Apt Get Check Version In Firefox
Not the answer you're looking for? Browse other questions tagged package-management or ask your own question.
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
?
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).
lornixlornixThe 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.
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:
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