官方的Fedora包为' xxd'命令?

时间:2016-03-23 13:20:05

标签: yum fedora-21 xxd

我需要使用基于var edgeT = document.createElement('div'); edgeT.style.position = "fixed" edgeT.style.top = 0; edgeT.style.left = 0; edgeT.style.width = "100%"; edgeT.style.height = "5px"; edgeT.style.backgroundColor= "black"; document.body.appendChild(edgeT); var edgeB = document.createElement('div'); edgeB.style.position = "fixed" edgeB.style.bottom = 0; edgeB.style.left = 0; edgeB.style.width = "100%"; edgeB.style.height = "5px"; edgeB.style.backgroundColor= "black"; document.body.appendChild(edgeB); var edgeL = document.createElement('div'); edgeL.style.position = "fixed" edgeL.style.left = 0; edgeL.style.top = 0; edgeL.style.width = "5px"; edgeL.style.height = "100%"; edgeL.style.backgroundColor= "black"; document.body.appendChild(edgeL); var edgeR = document.createElement('div'); edgeR.style.position = "fixed" edgeR.style.right = 0; edgeR.style.top = 0; edgeR.style.width = "5px"; edgeR.style.height = "100%"; edgeR.style.backgroundColor= "black"; document.body.appendChild(edgeR); 的脚本,但它没有安装在我的Fedora 21上:

xxd

所以我尝试搜索并安装它没有成功:

$ xxd
bash: xxd: command not found
  • 您知道提供了哪个软件包$ yum install xxd (fails) $ yum search xxd (fails) $ yum search all xxd (fails - detailed log below) Loaded plugins: langpacks ================================================================= Matched: xxd ======== perl-Data-HexDump-XXD.noarch : Format hexadecimal dump like xxd xxdiff.i686 : Graphical file and directories comparator and merge tool xxdiff-tools.i686 : Tools for xxdiff 吗?(我的意思是使用Fedora存储库中的xxd安装的官方软件包)。

提前感谢您的帮助!

2 个答案:

答案 0 :(得分:22)

xxd位于vim-common包中。

您可以使用yum whatprovides '*bin/xxd'

找到

答案 1 :(得分:15)

你试过吗

 if(mysql_num_rows($r2)>0){
    $msg2="Email already exist";
    echo "<span style='color: red'>" . $msg2 . "</span>;
  }