LinuxQuestions.org
Review your favorite Linux distribution.
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 07-15-2010, 02:03 PM   #1
sivakotesh_it
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Smile Regarding installation of software on ubuntu....


Hi all,
Im new to linux environment. I would like to know how installation is being done in linux when a deb or rpm package is installed...I mean what is happening behind.(Like program files entry in windows..)

I guess my english is enough to explain what I am trying to convey..

Thanx in advance.
 
Old 07-15-2010, 02:12 PM   #2
mojo72
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Rep: Reputation: 0
Hi,

You can try 'dpkg -L package' to see all files in the package (and their absolute path)
Post-install scripts are also executed.

I advise reading 'man dpkg' and try to extract manually a package if you want to know what's inside.

Regards
 
Old 07-15-2010, 05:51 PM   #3
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
http://lmgtfy.com/?q="Making+a+Debian+package"

Look at the very first result.
 
Old 07-15-2010, 05:53 PM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,506

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
For rpm packages, rpm -qpl will list all files in the package. At least two archiving programs, file-roller and xarchiver, will let you look inside the rpm file; you can even select a text file, right-click on it, and select View or Open with to examine the text file's contents
 
Old 07-15-2010, 08:47 PM   #5
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by RockDoctor View Post
For rpm packages, rpm -qpl will list all files in the package. At least two archiving programs, file-roller and xarchiver, will let you look inside the rpm file; you can even select a text file, right-click on it, and select View or Open with to examine the text file's contents
The OP has Ubuntu, so that RPM crap is irrelevant...
 
Old 07-15-2010, 09:04 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
What happens when a package is installed.

Quote:
Originally Posted by sivakotesh_it View Post
Hi all,
Im new to linux environment. I would like to know how installation is being done in linux when a deb or rpm package is installed...I mean what is happening behind.(Like program files entry in windows..)

I guess my english is enough to explain what I am trying to convey..

Thanx in advance.
Hi there!

The process is very similar whichever Linux you happen to be using. Packages, such as RPM, DEB, TGZ, etc., are basically archives, and contain all of the binary executable programs, config files, libraries, etc., that are required for the program being installed to work.

When you install a package, all that's really happening is the archive is getting extracted, and the contents are copied (installed) to their destination locations on the system. There is no "registry" such as there is with Windows - it's really just "copy & paste". When you install a package with the package manager, a record (a log sort of thing) is created of what-all files were installed where, which facilitates upgrading or removing installed packages in the future, again using the package manager.

Last edited by GrapefruiTgirl; 07-15-2010 at 09:05 PM.
 
Old 07-15-2010, 10:20 PM   #7
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Yeah Sasha, packages are basically archives. To install them merely means to extract them to the required directories.
 
Old 07-23-2010, 06:38 AM   #8
sivakotesh_it
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanx all for good replies....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where do I find the software added using Ubuntu Software Center? er.rigney Linux - Newbie 3 03-17-2011 09:55 AM
installation of software in ubuntu (due to proxy) amareshtilldeath Linux - Newbie 8 02-10-2010 03:48 AM
Jolicloud installation seems to have wiped out existing Ubuntu installation gargleblaster Linux - Software 1 12-11-2009 08:57 AM
Trying to understand software installation with Ubuntu tools DGeeez Ubuntu 2 03-01-2009 09:18 PM
Installation Software for Custom Developed Java/Perl Software donkey123 Linux - Software 0 06-15-2005 06:26 PM


All times are GMT -5. The time now is 09:50 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration