The Wayback Machine - https://web.archive.org/web/20200716213449/https://github.com/dotnet/core/issues/3782
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

Can you elaborate on self contained apps please? #3782

Open
alvipeo opened this issue Nov 8, 2019 · 5 comments
Open

Can you elaborate on self contained apps please? #3782

alvipeo opened this issue Nov 8, 2019 · 5 comments
Labels

Comments

@alvipeo
Copy link

@alvipeo alvipeo commented Nov 8, 2019

I've read the "Self-contained Linux applications" couple of times but I have no experience on building apps for linux, so I do not understand:

  • what does it mean to select distro and what is the oldest one?
  • how to use the ldd command-line tool

... I mean, can you create an example for .NET Core 3.0 app for Raspberry Pi?

@dagood
Copy link
Member

@dagood dagood commented Nov 8, 2019

I usually point to https://docs.microsoft.com/en-us/dotnet/core/deploying/#self-contained-deployments-scd for an overview of self-contained deployment. Not familiar with that markdown doc... looks like useful info but quite technical.

@leecow, ideas on making this clearer? Add something to the beginning of the md doc to point people not interested or ready for that level of detail in the right direction?

There are some Raspberry Pi specific instructions at https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md that uses a self-contained deployment.

@leecow
Copy link
Member

@leecow leecow commented Nov 8, 2019

Yeah, adding other pointers would be useful.

/cc @Thraka, who is working on a broader Linux documentation organization effort.

@alvipeo
Copy link
Author

@alvipeo alvipeo commented Nov 8, 2019

@dagood I completely understand and use self-contained apps. That is not the question.

Please create an example for Raspberry Pi if that's not much to ask.

@dagood
Copy link
Member

@dagood dagood commented Nov 8, 2019

I'm sorry, I think I missed your question then. I picked this one as the main point, what you wanted elaboration on and what your ultimate goal is:

... I mean, can you create an example for .NET Core 3.0 app for Raspberry Pi?

Does https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md not help with this?

@Thraka
Copy link

@Thraka Thraka commented Nov 8, 2019

Just as a general note, we're going to be rewriting the publishing articles in the future to be a bit more clear just as to definitions and scenarios.

@alvipeo I'm still a bit new to linux, as it sounds like you are. But do a quick browse on https://en.wikipedia.org/wiki/List_of_Linux_distributions to sort of get an idea of how broad the linux world is. You can see that there some root distros families that serve as the base for many popular linux os distros.

Raspberry Pi comes with Raspbian, a Debian-based distro. It doesn't mean though that someone can't have some flavor of a Fredora-based distro and install it on the pi or something along those lines.

In general, I find that linux users are open to installing dependencies when they need them, so it may not be out of the question to just require users of your app to download the appropriate runtime first, and you can compile and distribute a framework-dependent executable instead of self-contained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants
You can’t perform that action at this time.