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

Add option to change directory for binaries (Linux) #195

Closed
niklasholm opened this issue Sep 14, 2018 · 4 comments
Closed

Add option to change directory for binaries (Linux) #195

niklasholm opened this issue Sep 14, 2018 · 4 comments
Assignees
Milestone

Comments

@niklasholm
Copy link

Whether you install system-wide or user-locally, having the binary directory paths hard-coded to /usr/local/bin and ~/bin respectively is very inconvenient for advanced users who like to keep stuff separate for various reason. For example, having a dedicated bindir for miktex binaries would make coexistence with other latex distributions much easier. Please add an option to miktexsetup and whatever else needs changing so that we can install the binaries wherever we want to.

@arrowd
Copy link
Contributor

arrowd commented Jan 20, 2019

I almost finished a port for FreeBSD and I also need this feature.

@edocevoli edocevoli removed the linux label Jan 20, 2019
@edocevoli edocevoli added this to the 2.9.7000 milestone Jan 20, 2019
@edocevoli
Copy link
Member

My plan is to implement this feature in the near future.

@edocevoli
Copy link
Member

Thank you. This has been fixed now. You can change the location of the link target directory in MiKTeX Console or by executing initexmf:

System-wide:

initexmf --set-config-value=[Core]CommonLinkTargetDirectory=/path/to/bin/directory

Private install:

initexmf --set-config-value=[Core]UserLinkTargetDirectory=/path/to/bin/directory

@mistune
Copy link

mistune commented May 7, 2024

Hello @edocevoli , how do we go about doing this during installation?

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

No branches or pull requests

4 participants