Skip to content
Advertisement

Tag: apt

Checking for installed packages and if not found install

I need to check for installed packages and if not installed install them. Example for RHEL, CentOS, Fedora: How do I do a check in BASH? Do I do something like? And what do I need to use for other distributions? apt-get? Answer Try the following code : or shorter : For debian likes : For archlinux :

How do I create a native Debian package for static files?

I have a need to Debianize some static resources for a software project but am confused by the available information and could use some guidance in doing so. Here are the materials I’ve been reading: Rolling your own Debian packages Debian New Maintainer’s Guide Debian Library Packaging Guide Debian Mentors FAQ The Debian New Maintainer’s Guide seems the most apropos,

Advertisement