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 :
Tag: apt
Create multiple Debian packages for data files from one source
I have a bunch of dictionary files for the dictd dictionary program. There are 2 files for each dictionary (a dict.dz and a .index file) and there are 8 dictionaries in total. The installation of the dictionaries is really simple, this is what I currently have in my script: Now I want to package this lot of files up into
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,