Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I see these things very often in Linux but i don't know what they mean.. repositories.. dependencies.. they're all the same to me.. are these some kind of programs or something?
Repositories are simply as they say, Repositories... In terms of package managers which this term generally comes up in, they are areas that store applications and updates.
Dependencies are simply programs or libaries that are required for a certain application to work correctly. You can't run the php module for Apache without having apache, so apache is the dependency of the php module.
A repository is a collection of programs. In linux, each distribution maintains a collection of the software included. This makes it easy to install and make sure that it works well with that linux distribution. So instead of googling around the web for a *.exe file in Windows, then installing it, you just point your package manager at this collection (repository) and say "install openoffice and firefox" and it installs both. There are usually "official" and "unofficial" repositories. For example, the main Debian repositories are maintained by the Debian project, but Debian Multimedia is maintained by some guy in his basement (though he does a great job) and includes things that the Debian project won't due to legal, freedom, or other reasons (like proprietary codecs and drivers, etc).
Now, linux is a modular system and developers are encouraged to avoid "re-inventing the wheel" when they write new programs. So if a developer is writing a program called "foo", he might need a certain library of functions for graphics display or math or something else. So in his program, instead of re-creating these functions, he might use this other guy's program, "bar". So "foo" depends on "bar". So a good reason to use the repositories and the distro package managers are that whenever you install a program, it also installs all the programs that are required to make it run properly.
Now, linux is a modular system and developers are encouraged to avoid "re-inventing the wheel" when they write new programs. So if a developer is writing a program called "foo", he might need a certain library of functions for graphics display or math or something else. So in his program, instead of re-creating these functions, he might use this other guy's program, "bar". So "foo" depends on "bar". So a good reason to use the repositories and the distro package managers are that whenever you install a program, it also installs all the programs that are required to make it run properly.
Hmm.. that is interesting.. So in windows it would be like making VLC and installing Skype as well or something like that?
I don't know much about VLC or skype so I can't comment.
But you can look at this site for Debian programs and see the dependency trees.
Here's a dependency map for openoffice.org. As you can see, when you install openoffice, they built openoffice by using a bunch of little parts other people already had done, and then tied them all together to make a great office suite.
Hmm.. that is interesting.. So in windows it would be like making VLC and installing Skype as well or something like that?
Not really. Those are independent applications. It would be more like you asking to have Frostwire installed. Frostwire requires Java or it won't run. So Java is a dependency of frostwire. Your package manager will install Java before it installs frostwire since frostwire won't run otherwise.
Not really. Those are independent applications. It would be more like you asking to have Frostwire installed. Frostwire requires Java or it won't run. So Java is a dependency of frostwire. Your package manager will install Java before it installs frostwire since frostwire won't run otherwise.
Debian Multimedia is maintained by some guy in his basement (though he does a great job) and includes things that the Debian project won't due to legal, freedom, or other reasons (like proprietary codecs and drivers, etc).
pljvaldez, coincidence can be funny as I was just asking about this particular issue of legality and codecs just hours ago in the thread Looking for media streaming distro. Is the person who maintains Debian Multimedia then liable? It seems as though they could be taking on a troubling array of legal problems. Yet, I don't often hear this being discussed. True, on the grounds of integrity or personal gratification one will subscribe to the belief of abstaining from or indulging in the use of Debian Multimedia, but where is the friction between these two groups?
Is the person who maintains Debian Multimedia then liable?
Probably not. He (she?) didn't know the legal rules applicable in the jurisdiction applicable to your computer and as far as the ethical problem of using non-free software is concerned, surely that is on the head of the person who installs or uses the software.
He has a disclaimer on the site about "codecs may be illegal in your country", etc. So I think that's how he covers his bases and puts the onus on the end user to know whether it's okay to install them.
He (she?) didn't know the legal rules applicable in the jurisdiction applicable to your computer.
Quote:
Originally Posted by pljvaldez
He has a disclaimer on the site about "codecs may be illegal in your country", etc.
This is all good stuff to know because for those of us who use operating systems whose licensing attributes freedoms but, due to shared values and a not for profit model, limits commercial licenses in the software, these become more than just theoretical law questions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.