catchall
Command Post where I'm saving, techniques, tips ... that are not well documented or are poorly understood, but I have become very useful or required in day to day implementation conslutorÃa or multi Packages
Example: Working in x86_64 architecture and product specifications have to install a rpm package compiled for x86_64 architecture ( native) and the same package but for the i386 architecture. The standard way is to get the package compiled for i386 and install it rpm-i mendiante hand (and in some cases with the - force). By up2date if we try to do the same, only check the repository for the native architecture. By a parameter
not reported in man up2date can indicate to check the package to a defined architecture instead of the native. up2date - arch = i386 packages we will install the packages compiled for i386 architecture, although our native platform (and therefore the default used for checking the software) is x86_64 and already have these packages installed for 64-bit
Browse
packages installed on a RedHat system, showing the architecture for each package
Once we installed the same packages with different architectures in order to check the specific architecture (rpm default does not show the architecture) can use the following query parameters rpm to show us the CPU for a particular package
rpm-q - queryformat "% {NAME} -% {VERSION}.% {RELEASE} (% {ARCH}) \\ n" packages
Download the source package of a package already installed on your system up2date - get-source kernel-smp
0 comments:
Post a Comment