Answer the question
In order to leave comments, you need to log in
How can I determine which distribution the script is running on?
Good afternoon, I want to write a script, but there was one problem
. Depending on the distribution, you need to install different packages (and package managers are different)
How can I determine on which distribution the script is run and it is desirable that there are no dependencies on the version?
All of them: Ubuntu-Based/Debian, Arch, Fedora, Gentoo
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question