If one process of dpkg is running i.e installing package or any thing else , why can't we execute another process for dpkg in parallel, same for the apt-get, Or we can? Is there any tool that can install package in parallel? Windows installer can run in parallel why Linux's don't? What is logic behind this or it is just a design failure?

  • 4
    As far as I know dpkg can't run multiple parallel processes at once. Yes, this might be considered a limitation. – Faheem Mitha Jan 31 '16 at 18:13
  • It lock the database – 炸鱼薯条德里克 Oct 22 '18 at 13:34

dpkg/apt and rpm/yum use databases that get locked when a package is being installed. This is done on purpose; it is to avoid possible corruption of the databases. The databases are meant for tracking the installed packages on a system.

  • this database thing can be solved using database transaction techniques, Right? – user137124 Jan 31 '16 at 20:22
  • dpkg and rpm create transactions to interact with the database. But that does not mean they will or can run parallel. It's one transaction per installation/removal/search/query of a package. – Sokel Jan 31 '16 at 21:35

You can't run multiple installers on Windows (msi) but most of the ''installers'' are in fact like a script or an appimage. You can install appimages while dpkg installs something


You do not have to install AppImages. Just make them executable and run!

Before you can run an AppImage, you need to make it executable. This is a Linux security feature. There are three main ways to make an AppImage executable:

1. With the GUI

  1. Open your file manager and browse to the location of the AppImage
  2. Right-click on the AppImage and click the ‘Properties’ entry
  3. Switch to the Permissions tab and
  4. Click the ‘Allow executing file as program’ checkbox if you are using a Nautilus-based file manager (Files, Nemo, Caja), or click the ‘Is executable’ checkbox if you are using Dolphin, or change the ‘Execute’ drop down list to ‘Anyone’ if you are using PCManFM
  5. Close the dialog
  6. Double-click on the AppImage file to run


2. On the command line

chmod a+x Some.AppImage

3. Automatically with the optional appimaged daemon

If you would like to have all AppImages be executable automatically, you can install the optional appimaged daemon. It will automatically add downloaded AppImages to the menu and make them executable for you. It can be downloaded from https://github.com/AppImage/AppImageKit/releases or installed from your distribution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy