default install path of application #103

Open
opened 2026-01-29 16:29:37 +00:00 by claunia · 3 comments
Owner

Originally created by @yanhua1012 on GitHub (Sep 8, 2021).

in the README.md, it is mention that Your application is installed into /usr/local/share/my-app.
in my experiment , the path is /usr/local/my-app.

Originally created by @yanhua1012 on GitHub (Sep 8, 2021). in the README.md, it is mention that Your application is installed into /usr/local/share/my-app. in my experiment , the path is /usr/local/my-app.
Author
Owner

@mihaimyh commented on GitHub (Feb 1, 2022):

Can the installation path be changed? For example to /opt?

@mihaimyh commented on GitHub (Feb 1, 2022): Can the installation path be changed? For example to /opt?
Author
Owner

@andyjmorgan commented on GitHub (Jan 10, 2023):

i struggled on this for a bit, if you check:

3f7bd3c61a/Packaging.Targets/build/Packaging.Targets.targets

you can see there's a prefix property, if you add the prefix property it will allow you to set the default directory.

/usr/lib/dir1/dir2

@andyjmorgan commented on GitHub (Jan 10, 2023): i struggled on this for a bit, if you check: https://github.com/quamotion/dotnet-packaging/blob/3f7bd3c61a00ce2c51f4f53f34d149b0ce5f8fdd/Packaging.Targets/build/Packaging.Targets.targets you can see there's a prefix property, if you add the prefix property it will allow you to set the default directory. <prefix>/usr/lib/dir1/dir2</prefix>
Author
Owner

@hendrafuady commented on GitHub (Jul 26, 2024):

i struggled on this for a bit, if you check:

3f7bd3c61a/Packaging.Targets/build/Packaging.Targets.targets

you can see there's a prefix property, if you add the prefix property it will allow you to set the default directory.

/usr/lib/dir1/dir2

Sorry sir, could you show me how to do it? I try changed /usr/share/ into ${HOME}/
default installation path still in usr/share
where to add the prefix property ?

@hendrafuady commented on GitHub (Jul 26, 2024): > i struggled on this for a bit, if you check: > > https://github.com/quamotion/dotnet-packaging/blob/3f7bd3c61a00ce2c51f4f53f34d149b0ce5f8fdd/Packaging.Targets/build/Packaging.Targets.targets > > you can see there's a prefix property, if you add the prefix property it will allow you to set the default directory. > > /usr/lib/dir1/dir2 Sorry sir, could you show me how to do it? I try changed /usr/share/ into ${HOME}/ default installation path still in usr/share where to add the prefix property ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#103