I use electron to create cross-platform application. For Windows and Mac it could be done by electron tools, like autoUpdate, Squirrel, so on. The problem is only with Linux. I have built a .deb package for Ubuntu. But I can’t find any “step-by-step” instruction or comprehensive info about it. I’m not familiar with java and hadn’t experience with creating apps
Tag: rpm
Packaging RPM, avoid creating .rpmnew file
I’m packaging some of my own software, as part of the installation I need to drop some config files in a directory that’s used by a 3. party. To avoid overwriting configuration that have been locally changed, that file is marked as a config file like so in the RPM .spec file: The issue is that upgrading an rpm will
Building RPM to install .desktop file that contains MimeType
I’m trying to build RPM to install .desktop file that contains MimeType, because .desktop file contains MimeType it needs update-desktop-database command to take effect after placing .desktop file in /usr/share/applications, how to do so? Answer I have achieved this by adding the following part after %install:
use local yum repository created by createrepo in other servers
Is there a way to use the local repository created by createrepo on one redhat box in the other redhat boxes? Answer You just need to expose it over http (or ftp) on that first box. Or you can periodically sync it with rsync.
Making an RPM which sets POSIX files capabilities
How does one make an RPM which sets the POSIX capabilities of a file? If I try doing rpmbuild as a non-root user then I get an error when my makefile’s install hooks try to run setcap, but if I don’t run setcap how will rpmbuild copy the capabilities? There doesn’t seem to be any way to set the capability
How do I extract the contents of an rpm?
I have an rpm and I want to treat it like a tarball. I want to extract the contents into a directory so I can inspect the contents. I am familiar with the querying commands of an uninstalled package. I do not simply want a list of the contents of the rpm. i.e. I want to inspect the contents of
Best way to install MySQL 5.6 on Centos 6.4
I just installed Centos 6.4, and installed MySQL using the version that came with the Centos distribution. To my dismay, it is MySQL 5.1.69 versus the current 5.6.12. As stated on http://dev.mysql.com/doc/refman/5.5/en/linux-installation-native.html, “the MySQL version will often be some way behind the currently available release”, but I didn’t expect that long. An alternative is to install by RPM packages which
Installing programs in different Linux machines with very limited access
I have to log into Linux servers from different customers and use there essential tools like SVN, etc. Most of the times I get no root access, and usually the administrator is on holidays 🙂 so I have to get the way to use this tools there. Sometimes this is very straightforward process, just compile the code. But in some