Install packages that depends on coreultils' `arch`

3 posts / 0 new
Last post
#1 Wed, 2016-06-08 23:41
GuillaumeLeclerc
  • GuillaumeLeclerc's picture
  • Offline
  • Last seen: 1 year 9 months ago
  • Joined: 2016-06-08

Hello,

I am trying to build a docker image with some software that needs OpenThreads. I was trying to build it manually since I was not able to find it on the package manager. The problem is the build process needs the `arch` command from coreutils.

I was thinking about creating a bash_script that always return x86_64. But maybe you have a better idea.

Thank you very much.

Thu, 2016-06-09 13:12
AmatCoder
  • AmatCoder's picture
  • Offline
  • Last seen: 1 year 4 months ago
  • Joined: 2013-10-18

The arch command was deprecated and removed from util-linux ten years ago.
You can use uname -m for that.

Fri, 2016-06-10 00:08
GuillaumeLeclerc
  • GuillaumeLeclerc's picture
  • Offline
  • Last seen: 1 year 9 months ago
  • Joined: 2016-06-08

I'm not using it personally. A dependency does. And I don't want to replace it everywhere. I created an arch bash script that works fine and i was able to build.

Log in or register to post comments