Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux FAQ
Prev Home Next

10.9 How can I have my locally-built package included in the list of available packages that the package management system knows about?

Execute the command:

     dpkg-scanpackages BIN_DIR OVERRIDE_FILE [PATHPREFIX] > my_Packages

where:

  • BIN-DIR is a directory where Debian archive files (which usually have an extension of ".deb") are stored.
  • OVERRIDE_FILE is a file that is edited by the distribution maintainers and is usually stored on a Debian FTP archive at indices/override.main.gz for the Debian packages in the "main" distribution. You can ignore this for local packages.
  • PATHPREFIX is an optional string that can be prepended to the my_Packages file being produced.

Once you have built the file my_Packages, tell the package management system about it by using the command:

     dpkg --merge-avail my_Packages

If you are using APT, you can add the local repository to your sources.list(5) file, too.


Debian GNU/Linux FAQ
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire