Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command to install does not work in Ubuntu docker on Mac (M1 Chip) #1102

Open
utensil opened this issue Sep 30, 2023 · 4 comments
Open

Command to install does not work in Ubuntu docker on Mac (M1 Chip) #1102

utensil opened this issue Sep 30, 2023 · 4 comments

Comments

@utensil
Copy link

utensil commented Sep 30, 2023

I tried running the following command in Ubuntu docker (mcr.microsoft.com/devcontainers/base:ubuntu) on Mac (M1 Chip):

curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net |sh

It gives the following error:

tectonic(drop-installer.sh): downloading version 0.14.1 for architecture aarch64-unknown-linux-gnu
curl: (22) The requested URL returned error: 404
tectonic(drop-installer.sh): command failed: downloader https://github.com/tectonic-typesetting/tectonic/releases/download/tectonic%400.14.1/tectonic-0.14.1-aarch64-unknown-linux-gnu.tar.gz tectonic-0.14.1-aarch64-unknown-linux-gnu.tar.gz aarch64-unknown-linux-gnu

Is there any other way to install? Or what's the recommended way to do so in this case? Thanks in advance!

P.S. This is like #943, but this time it's for Linux aarch64 .

@rm-dr
Copy link
Contributor

rm-dr commented Oct 4, 2023

It seems #943 provides an answer. There are no builds for Apple silicon, you'll have to compile tectonic yourself.

Your simplest option is probably cargo install tectonic.

@utensil
Copy link
Author

utensil commented Oct 7, 2023

Thanks for the reply, but my issue is actually that now Apple silicon works but not in the Linux aarch64 docker on it. And cargo install tectonic doesn't work too. That's why I open an issue to see if this scenario can have an official build too since running docker on Apple silicon seems to be as common as running directly on Apple silicon.

@utensil
Copy link
Author

utensil commented Oct 7, 2023

The following works for now and takes a reasonable amount of time (~3min):

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
sudo apt install -y pkg-config libssl-dev libicu-dev libgraphite2-dev libfreetype6-dev libfontconfig1-dev
cargo install tectonic

@utensil
Copy link
Author

utensil commented Oct 15, 2023

Is it possible to add Linux aarch64 binary? Is there extra maintenance overhead involved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants