LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-04-2012, 04:23 PM   #1
FUMBO EMMANUEL
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Arrow "which commands are used for installation of programs in linux os, eg ubuntu?"


I need help to know comands required for installaton of various programs in linux operating systems.
  • important steps while using those comands.
  • point of note, whie using comands.
  • troubleshooting problems using comands
emmanuelfumbo@yahoo.com
 
Old 04-04-2012, 04:28 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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.
 
Old 04-04-2012, 04:29 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Hi and welcome to LQ.

Google is an excellent tool to find such information.
 
1 members found this post helpful.
Old 04-04-2012, 04:31 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 04-04-2012, 04:32 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by suicidaleggroll View Post
Ubuntu uses aptitude.
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.
 
1 members found this post helpful.
Old 04-04-2012, 04:34 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,885
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Package management system - Wikipedia, the free encyclopedia - https://en.wikipedia.org/wiki/Package_management_system
DistroWatch.com: Put the fun back into computing. Use Linux, BSD. - http://distrowatch.com/dwres.php?res...age-management
Chapter*3.*Package Management - https://help.ubuntu.com/11.04/server...anagement.html
Installing software in Ubuntu - http://www.psychocats.net/ubuntu/installingsoftware
 
Old 04-04-2012, 04:38 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by TobiSGD View Post
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.
 
Old 04-04-2012, 05:57 PM   #8
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
If you are installing a piece of software from terminal you can type
Code:
$ sudo apt-get install package_name_here
If you are installing from the graphical interface then do it from Synaptic
Code:
$ sudo apt-get install synaptic
or you can install from the Ubuntu Software Center or Ubuntu app store.


Just do a search for the application you are looking for.

Dont try to install windows only programs such as Whaterver.exe because is not going to work

Good luck to you.

Last edited by TroN-0074; 04-04-2012 at 06:00 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New MPICH2 installation "interfering" with "make", cant compile fortran programs shitij90 Programming 1 07-28-2011 09:40 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
i'm looking for some programs to use it in linux "ubuntu" koji36 Linux - General 3 08-17-2007 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration