How to install a specific version of a Debian package?

How to install a specific version of a Debian package?

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. Along with the backported Subversion package is a package that contains a number of useful hook scripts called subversion-tools.

Which is the best way to install a package?

Then, with one of the two commands, you can decide to check the available version of a package with the releases versions on the official site or on the official GitHub. 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.

How to list and filter installed packages on Debian?

In this guide, we’ll explain how to list and filter installed packages on Debian. We will also show you how to check whether a specific package is installed, count installed packages and find out the version of an installed package.

How to install specific version of package using apt-get?

Install a specific version of a package can be useful to avoid the bugs when you know which version of a package is concerned and make sure to disable a specific package from updating by holding the packages so it won’t get automatically updated when you run ‘apt-get upgrade’. To handle Debian-based system packages, we use the apt-get command.

Which is the best tool to install deb packages?

dpkg is a low-level package manager for Debian-based systems. Use the -i (or –install) option to install deb packages with dpkg. Unlike apt and gdebi, dpkg doesn’t resolve dependencies. If you get any dependency errors when installing deb packages, you can use the following apt command to resolve and install all package dependencies:

How do I install a deb file in Apt?

To install local deb packages with apt you need to provide the full path to the deb file. If the file is located in your current working directory instead of typing the absolute path, you can prepend./ before the package name. Otherwise, apt will try to retrieve and install the package from Ubuntu’s repositories.

How to install deb files from the command line?

If you prefer the terminal, you can download the deb file with wget or curl : When it comes to installing deb packages from the command line you have several tools at your disposal. In the following sections, we will show you how to use apt, gdebi, and dpkg utilities to install deb packages.

What does the version number in Debian mean?

This part of the version number specifies the version of the Debian package based on the upstream version. It may contain only alphanumerics and the characters + . ~ (plus, full stop, tilde) and is compared in the same way as the upstream-version is. It is optional; if it isn’t present then the upstream-version may not contain a hyphen.

Which is the version number of the deb file?

It is usually the version number of the original (“upstream”) package from which the .deb file has been made, if this is applicable. Usually this will be in the same format as that specified by the upstream author (s); however, it may need to be reformatted to fit into the package management system’s format and comparison scheme.

How to check package name in Debian archive?

The Debian binary package file names conform to the following convention: _ – _ .deb Note that foo is supposed to be the package name. Checking the package name associated with a particular Debian archive file (.deb file) can be done in one of these ways:

Is it possible to run Debian on a stable system?

In /etc/apt/preferences: Note that for most of the lifetime of a Debian release, it’s not practical to install most packages from unstable on a stable system, because they’ll pull in a lot of libraries from unstable, and you’ll end up with an unstable system. If you want to run unstable, it’ll save you trouble to just target unstable (or testing).

Can you install Ruby 2.3 on Debian 10?

I understand there is no Ruby 2.3 package for Debian 10, but I can use rvm. I installed rvm using the website instructions. But I cannot install Ruby 2.3: $ rvm install 2.3 Warning, new version of rvm available ‘1.29.9’, you are using older version ‘1.29.9-next’.

How to install the latest version of chromium in Debian?

Since Chromium/Chrome development is very fast, version 6.x has sort of become outdated. Is there a way to install the latest version of Chromium to Debian Squeeze without changing the system from stable to testing/unstable? The preferred way to do this is to use apt pinning.