{"id":22977,"date":"2023-10-31T07:04:33","date_gmt":"2023-10-31T07:04:33","guid":{"rendered":"https:\/\/linuxways.net\/?p=22977"},"modified":"2023-10-31T07:14:12","modified_gmt":"2023-10-31T07:14:12","slug":"install-specific-version-some-packages-linux-ubuntu","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/install-specific-version-some-packages-linux-ubuntu\/","title":{"rendered":"How to Install a Specific Version of Some Packages in Linux\/Ubuntu?"},"content":{"rendered":"<p>In some cases, Installing Specific Versions of some packages is useful in order to avoid ruining the dependency tree in a System. As some packages in our Ubuntu System are installed as a dependency for another Application or Package, this may lead to version conflicts between multiple packages or applications. Also, some users require the use of a specific version of a package according to their liking or their needs. Thus, with useful commands in Ubuntu, a specific version of an Application or Package can easily be installed.<\/p>\n<p>This article elaborates on the procedures of installing a specific version of an Application or Package in Ubuntu.<\/p>\n<h2><strong>How to Install a Specific Version of Some Packages in Linux\/Ubuntu?<\/strong><\/h2>\n<p>Specific Versions of a Package can easily be installed in Ubuntu through various commands and also from the GUI. The various approaches to installing specific Package Versions of a Package are:<\/p>\n<ul>\n<li>Install a Specific Version of a Package through the \u201capt-get\u201d Command<\/li>\n<li>Install a Specific Version of a Package through the \u201capt\u201d Command.<\/li>\n<li>Install a Specific Version of a Package through the GUI.<\/li>\n<li>Install a Specific Version of a Package through the Synaptic Tool.<\/li>\n<\/ul>\n<p>Each listed command and approach is discussed below.<\/p>\n<h2><strong>Install Specific Package Version using the \u201capt-get\u201d Command<\/strong><\/h2>\n<p>The \u201capt-get\u201d is a useful command in Ubuntu that handles the packages and can be used to retrieve packages. These packages can then be installed on your Ubuntu System with the \u201capt-get install\u201d command. Apart from only installing the Packages, the \u201capt-get\u201d command can also be used to update the packages with the \u201capt-get update\u201d command and remove any packages from your Ubuntu System using the \u201capt-get remove\u201d command. Also, the \u201capt-get\u201d command can be used to install a specific version of an Application or a Specified Package in Ubuntu. Install a specific version of an Application or Package with the \u201capt-get\u201d command having the syntax:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">apt-get install<\/span> <span class=\"sy0\">&lt;<\/span>packageName<span class=\"sy0\">&gt;<\/span>=<span class=\"sy0\">&lt;<\/span>packageVersion<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>Before installing a specific version of a package, retrieve all the versions of the package using the \u201c&#8211;all-versions\u201d command along with the \u201capt\u201d command and the package name:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt list <span class=\"re5\">--all-versions<\/span> <span class=\"sy0\">&lt;<\/span>packageName<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>In our case, we listed all the versions of the \u201cvlc\u201d package using the \u201capt\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt list <span class=\"re5\">--all-versions<\/span> vlc<\/div><\/div>\n<p>The Command line displays the versions of the \u201cvlc\u201d package that can be installed:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"957\" height=\"206\" class=\"wp-image-22978\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-1.png 957w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-1-300x65.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-1-768x165.png 768w\" sizes=\"auto, (max-width: 957px) 100vw, 957px\" \/><\/strong><\/p>\n<p>Among the versions, we will install the \u201cvlc 3.0.16-1build7\u201d version:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"207\" class=\"wp-image-22979\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-2.png 960w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-2-300x65.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-2-768x166.png 768w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/p>\n<p>Now, to install the specified versions of \u201cvlc\u201d, the \u201capt-get\u201d command in our case will be:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-get install<\/span> <span class=\"re2\">vlc<\/span>=3.0.16-1build7<\/div><\/div>\n<p>This will start downloading the 3.0.16 Version of the package \u201cvlc\u201d. Once the download is completed, the package will be extracted to our Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"952\" height=\"462\" class=\"wp-image-22980\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-3.png 952w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-3-300x146.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-3-768x373.png 768w\" sizes=\"auto, (max-width: 952px) 100vw, 952px\" \/><\/p>\n<p>To verify if the specific version of the \u201cvlc\u201d package was installed, use the package name along with the \u201c&#8211;version\u201d command in the Terminal. In our case, we will use the \u201cvlc\u201d package name along with the \u201c&#8211;version\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">vlc <span class=\"re5\">--version<\/span><\/div><\/div>\n<p>As you can see in the Terminal, the VLC version 3.0.16 is installed on our Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"959\" height=\"193\" class=\"wp-image-22981\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-4.png 959w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-4-300x60.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-4-768x155.png 768w\" sizes=\"auto, (max-width: 959px) 100vw, 959px\" \/><\/p>\n<h2><strong>Install Specific Package Version using the \u201capt\u201d Command<\/strong><\/h2>\n<p>The \u201capt\u201d is another useful command utility that manages the packages of your Ubuntu System. With the \u201capt\u201d command, you can install specific packages, update those packages, and even remove specific packages when necessary. Also, the \u201capt\u201d command can be used to install a specific version of an Application or Specific Package. To install a specific version of an Application or a Specified Package in Ubuntu, the \u201capt\u201d command will be:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">apt <span class=\"kw2\">install<\/span> <span class=\"sy0\">&lt;<\/span>packageName<span class=\"sy0\">&gt;<\/span>=<span class=\"sy0\">&lt;<\/span>packageVersion<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>Before installing a specific version of a package, use the \u201capt list\u201d command along with the \u201c&#8211;all-versions\u201d command to retrieve all the versions of the specified package:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt list <span class=\"re5\">--all-versions<\/span> <span class=\"sy0\">&lt;<\/span>packageName<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>In our case, to list all the available versions of the package \u201crolldice\u201d in Ubuntu, the \u201capt list\u201d command will be:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt list <span class=\"re5\">--all-versions<\/span> rolldice<\/div><\/div>\n<p>The Terminal will display all the versions of the \u201crolldice\u201d package that can be installed:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"172\" class=\"wp-image-22982\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-5.png 956w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-5-300x54.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-5-768x138.png 768w\" sizes=\"auto, (max-width: 956px) 100vw, 956px\" \/><\/p>\n<p>We will install the \u201crolldice\u201d Version 1.16-1build1 on our Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"959\" height=\"181\" class=\"wp-image-22983\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-6.png 959w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-6-300x57.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-6-768x145.png 768w\" sizes=\"auto, (max-width: 959px) 100vw, 959px\" \/><\/p>\n<p>Now, to install the specific version of \u201crolldice\u201d, in our case, version 1.16, the \u201capt\u201d command will be:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> <span class=\"re2\">rolldice<\/span>=<span class=\"nu0\">1.16<\/span>-1build1<\/div><\/div>\n<p>The \u201capt\u201d command will start downloading the \u201crolldice\u201d packages. Wait for the packages to be downloaded with the \u201capt install\u201d command and then extracted on your Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"953\" height=\"385\" class=\"wp-image-22984\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-7.png 953w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-7-300x121.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-7-768x310.png 768w\" sizes=\"auto, (max-width: 953px) 100vw, 953px\" \/><\/p>\n<p>Once the packages are installed, you can verify the installed package with the \u201c&#8211;version\u201d command. In our case, to verify the \u201crolldice\u201d version, the \u201c&#8211;version\u201d command will be:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">rolldice <span class=\"re5\">--version<\/span><\/div><\/div>\n<p>As you can see, the \u201crolldice\u201d version 1.16 is Installed on our Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"86\" class=\"wp-image-22985\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-8.png 950w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-8-300x27.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-8-768x70.png 768w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/p>\n<h2><strong>Install Specific Package Version through the GUI<\/strong><\/h2>\n<p>Specific Versions of a Package can also be installed through the GUI by downloading the DEB Package from their official website. To download a package through the GUI method, open your Web Browser. In our case, we will click on the Firefox Application to start it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1058\" class=\"wp-image-22986\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-9.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-9-300x165.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-9-1024x564.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-9-768x423.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-9-1536x846.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>In the URL Bar, search for \u201cdownload Virtualbox\u201d. Once the websites appear, click on the Official Website of Virtual Box to open the web page:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1314\" height=\"730\" class=\"wp-image-22987\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-10.png 1314w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-10-300x167.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-10-1024x569.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-10-768x427.png 768w\" sizes=\"auto, (max-width: 1314px) 100vw, 1314px\" \/><\/p>\n<p>The Virtual Box Download web page will open:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1474\" height=\"720\" class=\"wp-image-22988\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-11.png 1474w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-11-300x147.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-11-1024x500.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-11-768x375.png 768w\" sizes=\"auto, (max-width: 1474px) 100vw, 1474px\" \/><\/p>\n<p>In the Download Page, scroll down and find the \u201cVirtualBox older builds\u201d section:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1515\" height=\"593\" class=\"wp-image-22989\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-12.png 1515w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-12-300x117.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-12-1024x401.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-12-768x301.png 768w\" sizes=\"auto, (max-width: 1515px) 100vw, 1515px\" \/><\/p>\n<p>In the Older Build Section, click on the \u201cVirtualBox older builds\u201d link that will redirect you to the Older Builds Page of the Virtual Box:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1105\" height=\"186\" class=\"wp-image-22990\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-13.png 1105w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-13-300x50.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-13-1024x172.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-13-768x129.png 768w\" sizes=\"auto, (max-width: 1105px) 100vw, 1105px\" \/><\/p>\n<p>The Older Builds of the VirtualBox will appear where you can download the version of your own choice:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1269\" height=\"486\" class=\"wp-image-22991\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-14.png 1269w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-14-300x115.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-14-1024x392.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-14-768x294.png 768w\" sizes=\"auto, (max-width: 1269px) 100vw, 1269px\" \/><\/p>\n<p>In our case, we will download the VirtualBox 7.0 Version by clicking on it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1262\" height=\"414\" class=\"wp-image-22992\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-15.png 1262w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-15-300x98.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-15-1024x336.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-15-768x252.png 768w\" sizes=\"auto, (max-width: 1262px) 100vw, 1262px\" \/><\/p>\n<p>Once you click on the Version you wish to install, you will be redirected to the releases Page where you will select the Operating System for which you wish to install VirtualBox. As we are using Ubuntu 22.04, we will click the Ubuntu 22.04 Host:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1427\" height=\"714\" class=\"wp-image-22993\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-16.png 1427w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-16-300x150.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-16-1024x512.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-16-768x384.png 768w\" sizes=\"auto, (max-width: 1427px) 100vw, 1427px\" \/><\/p>\n<p>The VirtualBox Deb Package will start downloading:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"544\" height=\"128\" class=\"wp-image-22994\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-17.png 544w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-17-300x71.png 300w\" sizes=\"auto, (max-width: 544px) 100vw, 544px\" \/><\/p>\n<p>Once the download is completed, click on the File Location option to open the File Download Directory:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"547\" height=\"118\" class=\"wp-image-22995\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-18.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-18.png 547w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-18-300x65.png 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/p>\n<p>After clicking the File Location icon, the File Download Directory will open, in our case, the Downloads Directory:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1119\" height=\"204\" class=\"wp-image-22996\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-19.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-19.png 1119w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-19-300x55.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-19-1024x187.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-19-768x140.png 768w\" sizes=\"auto, (max-width: 1119px) 100vw, 1119px\" \/><\/p>\n<p>Right-click on the Deb File to extract it in the Current Directory. Among the list of drop-menu options, click on the \u201cExtract Here\u201d option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1033\" height=\"541\" class=\"wp-image-22997\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-20.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-20.png 1033w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-20-300x157.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-20-1024x536.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-20-768x402.png 768w\" sizes=\"auto, (max-width: 1033px) 100vw, 1033px\" \/><\/p>\n<p>The Extraction Process will start and once the extraction is completed, a window will pop up informing about the success of the process. Click on the \u201cShow the Files\u201d option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"359\" height=\"154\" class=\"wp-image-22998\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-21.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-21.png 359w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-21-300x129.png 300w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><\/p>\n<p>The Extracted Files can be seen in the Directory. In our case, Three files are extracted:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1113\" height=\"190\" class=\"wp-image-22999\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-22.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-22.png 1113w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-22-300x51.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-22-1024x175.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-22-768x131.png 768w\" sizes=\"auto, (max-width: 1113px) 100vw, 1113px\" \/><\/p>\n<p>Now, to install the Virtual Machine Package, select both the extracted \u201ctar.xz\u201d files and right-click to open the drop-down options menu. In the drop-down option menu of the files, click on the \u201cExtract\u201d option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"578\" class=\"wp-image-23000\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-23.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-23.png 971w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-23-300x179.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-23-768x457.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/p>\n<p>The Files will start extracting and you can see the progress:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"471\" height=\"153\" class=\"wp-image-23001\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-24.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-24.png 471w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-24-300x97.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/p>\n<p>Once the Files are extracted, you can then use the package.<\/p>\n<h2><strong>Install Specific Package Version through Synaptic<\/strong><\/h2>\n<p>The Synaptic is a Third Party Package Manager Application in Ubuntu that can be used to install specific packages from the Official Repository. The Synaptic is not pre-installed in Ubuntu. To install the Synaptic application on your Ubuntu System, use the \u201capt\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> synaptic <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>The Synaptic Package will start downloading:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"953\" height=\"346\" class=\"wp-image-23002\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-25.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-25.png 953w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-25-300x109.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-25-768x279.png 768w\" sizes=\"auto, (max-width: 953px) 100vw, 953px\" \/><\/p>\n<p>Once the Synaptic Command is installed, you can start the Synaptic Application by running the \u201csynaptic\u201d command in the Terminal:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">synaptic<\/div><\/div>\n<p>The Synaptic Package Manager Application will start and you will see the Default Home Window of the Application:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"519\" class=\"wp-image-23003\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-26.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-26.png 703w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-26-300x221.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/p>\n<p>To Install a Specific Version of an Application or a Specific Package, you have to search for that package first in the Synaptic Package Manager. To search for a Package, click on the \u201cSearch\u201d option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1100\" height=\"513\" class=\"wp-image-23004\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-27.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-27.png 1100w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-27-300x140.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-27-1024x478.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-27-768x358.png 768w\" sizes=\"auto, (max-width: 1100px) 100vw, 1100px\" \/><\/p>\n<p>A new \u201cFind\u201d window will appear where you can search for Specific Packages:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"301\" height=\"187\" class=\"wp-image-23005\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-28.png\" \/><\/p>\n<p>In our case, we will search for the \u201cchrome\u201d package:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"298\" height=\"177\" class=\"wp-image-23006\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-29.png\" \/><\/p>\n<p>Once you add the Package Name to search for, you can filter your search as well. Click on the \u201cLook in\u201d option and choose an option to either find the Package in the Package Name, Find the Package according to the Description and Name, or choose any other option for searching. In our case, we will select the Name option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"306\" height=\"266\" class=\"wp-image-23007\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-30.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-30.png 306w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-30-300x261.png 300w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/><\/p>\n<p>Once you have added the Package Name and selected the Filter option, click on the Search button to start searching for the required packages in the Synaptic Package Manager:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"301\" height=\"184\" class=\"wp-image-23008\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-31.png\" \/><\/p>\n<p>All the Packages whether they are the dependency of the specified package or not, will be listed in the Synaptic Package Manager:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1101\" height=\"402\" class=\"wp-image-23009\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-32.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-32.png 1101w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-32-300x110.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-32-1024x374.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-32-768x280.png 768w\" sizes=\"auto, (max-width: 1101px) 100vw, 1101px\" \/><\/p>\n<p>Now, to install a specific version of an Application or a specific package, click on the package from the list. In our case, we clicked on the \u201cchrome-gnome-shell\u201d package:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"954\" height=\"218\" class=\"wp-image-23010\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-33.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-33.png 954w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-33-300x69.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-33-768x175.png 768w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/p>\n<p>Once you click on the Package, a drop menu will appear consisting of multiple options. Click on the \u201cMark for Installation\u201d option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"241\" class=\"wp-image-23011\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-34.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-34.png 723w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-34-300x100.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<p>In some cases, a pop-up window will appear after you Mark the Package for Installation. The pop-up window will inform you about the changes that will be made in other packages by installing the selected package or the pop-up window will inform you about the installation of other dependency packages for the required selected package to work. Click on the Mark Button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"458\" height=\"395\" class=\"wp-image-23012\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-35.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-35.png 458w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-35-300x259.png 300w\" sizes=\"auto, (max-width: 458px) 100vw, 458px\" \/><\/p>\n<p>Now, to apply the changes and start the Installation of the Marked Packages, click on the \u201cApply\u201d button from the Menu:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1136\" height=\"175\" class=\"wp-image-23013\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-36.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-36.png 1136w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-36-300x46.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-36-1024x158.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-36-768x118.png 768w\" sizes=\"auto, (max-width: 1136px) 100vw, 1136px\" \/><\/p>\n<p>A Summary Window will appear where you can see the changes that will be applied to your Ubuntu System during the addition of the Package. Click on the Apply Button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"447\" class=\"wp-image-23014\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-37.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-37.png 723w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-37-300x185.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<p>The Synaptic Package Manager will now start downloading the Packages. Wait for the Download to complete:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"445\" class=\"wp-image-23015\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-38.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-38.png 648w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-38-300x206.png 300w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/p>\n<p>Once the Packages are downloaded, the Synaptic Package Manager will start installing the Packages onto your Ubuntu System:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"293\" class=\"wp-image-23016\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-39.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-39.png 681w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-39-300x129.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/p>\n<p>After the Packages are Installed and the Changes are Applied, you will see the Successful Message Window:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"270\" class=\"wp-image-23017\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-40.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-40.png 649w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-40-300x125.png 300w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/p>\n<p>Thus, the selected package will be installed onto your Ubuntu system. Similarly, you can install other packages through the Synaptic Package Manager.<\/p>\n<h2><strong>Hold on Packages Using the \u201capt-mark\u201d Command<\/strong><\/h2>\n<p>The \u201capt-mark\u201d is a useful command in Ubuntu that can hold the packages or a specific package from updating or upgrading. As you have installed a specific version of a Package, the \u201capt update\u201d command will update all the packages in the Ubuntu Repository every time the command is executed which will lead to the upgrade of the specific version of the Package that you installed earlier. Thus, to avoid accidental upgrades with the \u201capt update\u201d command, the \u201capt-mark\u201d command is used having the syntax:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-mark<\/span> hold <span class=\"sy0\">&lt;<\/span>packageName<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>When we use the update command, the specified packages on hold won&#8217;t update. In our case, to hold the updates of the package \u201cvlc\u201d, the \u201capt-mark\u201d command will be:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-mark<\/span> hold vlc<\/div><\/div>\n<p>The Terminal will display that the specified Package is set to be \u201con hold\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"147\" class=\"wp-image-23018\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-41.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-41.png 951w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-41-300x46.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-41-768x119.png 768w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><\/p>\n<p>Thus, every time you run the \u201capt update\u201d command, you don\u2019t have to worry about the system updating the specific version applications or packages.<\/p>\n<p>Now, to un-hold the already on-hold package, the \u201capt-mark\u201d command along with the \u201cunhold\u201d command is used:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-mark<\/span> unhold <span class=\"sy0\">&lt;<\/span>packageName<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>In our case, to un-hold the \u201cvlc\u201d command, the \u201capt-mark\u201d command will be:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-mark<\/span> unhold vlc<\/div><\/div>\n<p>The Terminal will display that the specified Package is not on hold anymore:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"949\" height=\"168\" class=\"wp-image-23019\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-42.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-42.png 949w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-42-300x53.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22977-42-768x136.png 768w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>For some users, the need to install a specific version of a package may be due to their liking or their needs, but for others, installing a specific version of the package may resolve a lot of Version and Dependency Conflicts. This article explains the procedure of each, the \u201capt-get\u201d, the \u201capt\u201d, the GUI method, and the Synaptic Method for installing a specific version in Ubuntu.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>In Ubuntu, the \u201capt-get\u201d, the \u201capt\u201d, the GUI method, and the Synaptic method can all be useful in installing a specific version of a package. <\/p>","protected":false},"author":110,"featured_media":23020,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-22977","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=22977"}],"version-history":[{"count":1,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22977\/revisions"}],"predecessor-version":[{"id":23052,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22977\/revisions\/23052"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/23020"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=22977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=22977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=22977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}