[SOLVED] "which commands are used for installation of programs in linux os, eg ubuntu?"
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.
Each distro uses its own package management system. Ubuntu uses aptitude. Are you actually interested in learning about how to do it on Ubuntu, or were you just providing an example? It will be different on other distros.
The commands differ between distributions, Debian based distribution use the APT package manager with can be used with several tools, like dpkg, apt-get/apt-cache, aptitude and several GUI programs. Distributions that use the RPM package management system differ even more, while all of them have the basic rpm tool they have more advanced tools that differ between distributions, like yum for Red Hat based systems and zypper for openSuse/Suse. Very few distributions mix this (eg PCLinuxOS using RPM packages managed by APT), some distributions use again different package formats, like Arch and Slackware. Source based distributions mostly have their own package format.
In short, there is no general way for any distribution out there (except compiling from source, which is not really recommended on distributions with (dependency resolving) package management systems), if you need to know it for a specific distribution it is the best to have a look at the documentation from that distribution.
This is in two ways wrong. At first, aptitude isn't even installed by default on Ubuntu, at second, aptitude is a package manager, but not a package management system. The package management system is APT.
This is in two ways wrong. At first, aptitude isn't even installed by default on Ubuntu, at second, aptitude is a package manager, but not a package management system. The package management system is APT.
Sorry, thanks for clearing the air. I don't use Ubuntu or Ubuntu-based distros for several reasons, so I'm not 100% familiar with them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.