0

Is it possible to copy a specific application that is installed in another machine to my machine. That means i want to install that same application in my machine. The .deb for the specific package is not available in other system?

Rapsis
  • 143

1 Answers1

2

Yes, you can use dpkg-repack for this, which will put an already installed application back together into a .deb file, which you can then copy to the other computer and install there.

To install it, use

sudo apt-get install dpkg-repack

and to use it:

sudo dpkg-repack <packagename(s)>

Which will give you a .deb file (or multiple files, if you repacked multiple packages) in the current directory, which you can then install on another computer. Note that this will not back up any configuration or personal user data created by the application, you have to do that yourself.

But: It's probably better to find the original source of the software / package, such as an additional repository or PPA, instead of using this method.

Jonas Czech
  • 4,047