Create a .deb file from currently installed package

Yeah, if you ever installed a software for example firefox. And you have lost its source code or its .deb file and you want to reuse it on another computer. Then you had to have download it again. But after some search I found out a command to create a .deb file from a software that is currently installed.
The command is :

sudo dpkg-repack firefox


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close