Dpkg::Arch - Online Linux Manual PageSection : 3perl
Updated : 2021-04-13
Source : 1.20.9
Note : libdpkg-perl

NAMEDpkg::Arch − handle architectures

DESCRIPTIONThe Dpkg::Arch module provides functions to handle Debian architectures, wildcards, and mapping from and to GNU triplets. No symbols are exported by default. The :all tag can be used to import all symbols. The :getters, :parsers, :mappers and :operators tags can be used to import specific symbol subsets.

FUNCTIONS$arch = get_raw_build_arch() Get the raw build Debian architecture, without taking into account variables from the environment. $arch = get_build_arch() Get the build Debian architecture, using DEB_BUILD_ARCH from the environment if available. $arch = get_raw_host_arch() Get the raw host Debian architecture, without taking into account variables from the environment. $arch = get_host_arch() Get the host Debian architecture, using DEB_HOST_ARCH from the environment if available. @arch_list = get_valid_arches() Get an array with all currently known Debian architectures. $multiarch = gnutriplet_to_multiarch($gnutriplet) Map a GNU triplet into a Debian multiarch triplet. $multiarch = debarch_to_multiarch($arch) Map a Debian architecture into a Debian multiarch triplet. $gnutriplet = debarch_to_gnutriplet($arch) Map a Debian architecture into a GNU triplet. $arch = gnutriplet_to_debarch($gnutriplet) Map a GNU triplet into a Debian architecture. $bool = debarch_eq($arch_a, $arch_b) Evaluate the equality of a Debian architecture, by comparing with another Debian architecture. No wildcard matching is performed. $bool = debarch_is($arch, $arch_wildcard) Evaluate the identity of a Debian architecture, by matching with an architecture wildcard. $bool = debarch_is_wildcard($arch) Evaluate whether a Debian architecture is an architecture wildcard. $bool = debarch_is_illegal($arch, %options) Validate an architecture name. If the positive option is set to a true value, only positive architectures will be accepted, otherwise negated architectures are allowed. $bool = debarch_is_concerned($arch, @arches) Evaluate whether a Debian architecture applies to the list of architecture restrictions, as usually found in dependencies inside square brackets. @array = debarch_list_parse($arch_list, %options) Parse an architecture list. If the positive option is set to a true value, only positive architectures will be accepted, otherwise negated architectures are allowed.

CHANGES

Version 1.03 (dpkg 1.19.1)New argument: Accept a positive option in debarch_is_illegal() and ​debarch_list_parse().

Version 1.02 (dpkg 1.18.19)New import tags: :all, :getters, :parsers, :mappers, :operators.

Version 1.01 (dpkg 1.18.5)New functions: debarch_is_illegal(), debarch_list_parse().

Version 1.00 (dpkg 1.18.2)Mark the module as public.

SEE ALSOdpkg−architecture(1).
0
Johanes Gumabo
Data Size   :   13,254 byte
man-Dpkg::Arch.3perlBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 183,353
Visitor ID   :     :  
Visitor IP   :   3.144.109.147   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Dpkg::Arch.3perl|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Dpkg::Arch.3perl|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Dpkg::Arch.3perl|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Dpkg::Arch.3perl|43|'br══─}─══ |'br══─}─══ )