How do you apt-get install specific version?

How do you apt-get install specific version?

Run the following command to install a specific version of a package {Firefox in our example}. So the code becomes “sudo apt install firefox=45.0. 2+build1-0ubuntu1” which needs to be executed. -s is the parameter to simulate the installation so that no erroe is encountered during the installation process.

How do I install an older version of a package in Ubuntu?

Search for the package you want to install an older version of in Synaptic, select it, and use the Package –> Force Version option. Select the version you want to install and click Force Version. Synaptic will only show you versions available in your repositories.

How do I install a specific version of Linux?

2) Install a specific version of a package # apt-get install virtualbox=5.0. 18-dfsg-2build1 -V Reading package lists… Done Building dependency tree Reading state information… Done The following additional packages will be installed: dkms (2.2.

How do I install a specific version of a program in Ubuntu?

The procedure to update a a specific package on Ubuntu:

  1. Open the Terminal application.
  2. Fetch package index by running sudo apt update command.
  3. Now only update apache2 package by running sudo apt install apache2 command.
  4. If apache2 package already installed it will try to update to the latest version.

How do I check apt-get version?

10 Answers apt-cache policy will show the version details. It also shows which version is currently installed and which versions are available to install.

How install older packages in Linux?

How to install specific Ubuntu packages, with exact version?

  1. Copy all required *. deb to every virtual machine manually and enter: dpkg -i …
  2. Create and use a new Ubuntu repository for each setup. -> Does not work because I would need n repositories.
  3. Setup the machine once and copy the VM / create a snapshot.

How do I downgrade a Linux package?

How to Downgrade Software/Package in Linux

  1. sudo apt install firefox=60.1.
  2. cat /var/log/zypp/history | grep package_name.
  3. ls /var/cache/pacman/pkg/ | grep package_name.
  4. sudo pacman -U /var/cache/pacman/pkg/package_name-version.pkg.tar.xz.

How do I downgrade a package in Linux?

How do I download old versions of Wireshark?

I found this: but the archives do not include an installer. The installers are down further in the list; look for files with names such as Wireshark-win64-1.10. 14.exe , which is an installer executable for 1.10.

How do I install a specific version of Python in Ubuntu?

Yes we can install any specific version of Python. First install dependencies: sudo apt-get install build-essential checkinstall. sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev.

How do I check my current version of Ubuntu?

Method 1: Using apt command The apt command has an option list that you can use to check a version of the package installed on an Ubuntu or Debian system. To see all versions of the package available on the repository, pass the -a option. This includes all others packages available on the repository for installation.