Though the universal Flatpak and/or Snap are getting hot today, there are still many applications provides native .deb
and .rpm
installers for Linux.
Most of them is a single package. User can simply double-click to open with system package manager (Software app) and install it. However, some (e.g., Ubuntu Mainline Kernel packages, LibreOffice’s official deb/rpm) is separated into multiple .deb/.rpm files.
For beginners, it’s hard to install an application with multiple .deb
/.rpm
packages due to dependency issue! User has to double-click and install them in the correct order one by one. In the cases, this tutorial may help!
Install Multiple .deb packages in Debian/Ubuntu/Linux Mint
For Debian and Ubuntu based systems, user can use the apt
command to install more than one local .deb
packages by selecting them all via asterisk wildcard.
For example, I downloaded the LibreOffice .deb package from its website. After extracting it, I got a bunch of .deb
packages in the same folder.
- Firstly, right click on blank area of that folder and select ‘Open in Terminal’ to open terminal and automatically navigate to the folder. Or, press Ctrl+Alt+T to open terminal in Ubuntu and use
cd
command (for examplecd ~/Downloads
) to navigate folder. - When terminal opens with that folder as working directory. Run command:
sudo apt install .if ( !!window.jQuery ) {(function($){$(document).ready(function(){if ( !!window.SLB && SLB.has_child('View.init') ) { SLB.View.init({"ui_autofit":true,"ui_animate":true,"slideshow_autostart":false,"slideshow_duration":"6","group_loop":true,"ui_overlay_opacity":"0.8","ui_title_default":false,"theme_default":"slb_default","ui_labels":{"loading":"Loading","close":"Close","nav_next":"Next","nav_prev":"Previous","slideshow_start":"Start slideshow","slideshow_stop":"Stop slideshow","group_status":"Item %current% of %total%"}}); } if ( !!window.SLB && SLB.has_child('View.assets') ) { {$.extend(SLB.View.assets, {"891726726":{"id":9349,"type":"image","internal":true,"source":"https:\/\/fostips.com\/wp-content\/uploads\/2023\/02\/open-debfolder.webp","title":"open-debfolder","caption":"","description":""},"1822822743":{"id":9350,"type":"image","internal":true,"source":"https:\/\/fostips.com\/wp-content\/uploads\/2023\/02\/apt-alldeb.webp","title":"apt-alldeb","caption":"","description":""}});} } if ( !!window.SLB && SLB.has_child('View.extend_theme') ) { SLB.View.extend_theme('slb_baseline',{"name":"Baseline","parent":"","styles":[{"handle":"base","uri":"https:\/\/fostips.com\/wp-content\/plugins\/simple-lightbox\/themes\/baseline\/css\/style.css","deps":[]}],"layout_raw":"
{{item.content}}{{ui.nav_prev}}<\/span>{{ui.nav_next}}<\/span><\/div>{{ui.close}}<\/span>