Skip to main content

Posts

Showing posts with the label deb

Create a .deb package from source files

If your build from source is successful, you can make a Debian (Ubuntu) package (.deb) for future use: Install package tools: sudo apt-get install checkinstall Rebuild package using "checkinstall": cd /path/to/extracted/package ./configure sudo make sudo checkinstall Keep the resulting ".deb" file for future use. It can later be installed using: sudo dpkg -i packagename .deb Note: These are basic instructions that may not always work. Some packages require additional dependencies and optional parameters to be specified in order to build them successfully. Also see these Ubuntu wiki instructions

Install Remove and Reinstall/Reconfigure/Repair .deb packages

Debian (.deb) packages are the packages that are used in Ubuntu. You can install any .deb package in your system. .deb files can generally be installed from your file manager (Nautilus) merely by clicking on them, since file associations with the default installer is already set in Ubuntu. These instructions are for those who wish to install packages from the command-line terminal (Terminal). Install a downloaded Debian (Ubuntu) package (.deb): sudo dpkg -i packagename .deb Remove a Debian (Ubuntu) package (.deb): sudo dpkg -r packagename Reconfigure/Repair an installed Debian (Ubuntu) package (.deb): sudo dpkg-reconfigure packagename *Example: sudo dpkg-reconfigure mpd