Saritha
Saritha

Reputation: 31

Create destination path for .deb file

I have created a debian package according to http://ubuntuforums.org/showthread.php?t=51003. I am not able to find the installed files, On installing that .deb file. Can anyone tell me the default destination path of .deb file and also how to modify the default destination path ?

Upvotes: 2

Views: 2722

Answers (2)

giavac
giavac

Reputation: 1008

If you have a .deb file, you should first check with "dpkg -c" what's the content (which will also tell you what's the destination path for the files).

For example if your deb file is 'apackage.deb':

dpkg -c apackage.deb

Once installed, you can check the destination paths with "dpkg -L". For example (assuming the package name is 'apackage'):

dpkg -L apackage

That will give you a hint (there's a chance that the building process failed and the package is "empty").

Upvotes: 2

Nick
Nick

Reputation: 3156

When the files contained in a deb file, the base directory is '/'. If you want the files to be stored in a different location, that can be specified during install via command line.

Upvotes: 1

Related Questions