LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 09-25-2005, 08:01 PM   #1
freddie_leaf
Member
 
Registered: Oct 2004
Distribution: Debian 3.1
Posts: 33

Rep: Reputation: 15
Question about Package Installations.


I'm using Debian 3.1 Sarge and Gnome.

When installing a package with Synaptic (or aptitude or apt-get), I'm curious about the following:
1) How can you tell if the package will install a menu bar item that will launch the program.
2) How can you tell where the menu item will be put (ie, in Accessories, Games, System...)
3) How do you know what files will be/were installed with the package.

Thanks.
 
Old 09-25-2005, 09:05 PM   #2
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: SuSE 10
Posts: 915

Rep: Reputation: 30
Your #3 is the easiest to answer, so I'll start there.
Most package managers will let you look at the file list (often you select the package and can hit a tab or something that will show you the file list. With Synaptic, you select the file (mark it if you want), go to your menus up top and hit Package and then Properties way at the bottom of the menu. When the dialog comesup, you have an Installed Files tab right in the middle of the five. However, for some reason, you gotta install it first, unlike the RedHat Package Manager.

#2 and #1, I believe, means that you have to thumb through a bunch of code to find the scripts that do that. I suggest you install it, find it in Synaptic, and then view the file list to see where the command you must run has landed (if you don't know what to look for, try to poke at different files by running them in X-terminal if you know how to use a terminal, but a good starting place is that the name will often be similar to the program's marketing name, maybe /opt/wine or something to that effect for WINe.). Also look for "man" and "info" entries, as the man and info commands are used with the command's name as you type it in to give you information on the command in question. After you verify the command that starts the program you just installed, you can then make a link however you want. If there was a script to put links on the desktop or the Gnome Foot menu, the easiest way to find it that I know of is to simply thumb through the menus until you stumble across it. Also, check the desktop and menus for the root user, as that seems to be a popular place to put a link, especially if the intended target-distro is Linspire.
 
Old 09-25-2005, 09:15 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Re: Question about Package Installations.

Quote:
Originally posted by freddie_leaf
I'm using Debian 3.1 Sarge and Gnome.

When installing a package with Synaptic (or aptitude or apt-get), I'm curious about the following:
1) How can you tell if the package will install a menu bar item that will launch the program.
2) How can you tell where the menu item will be put (ie, in Accessories, Games, System...)
3) How do you know what files will be/were installed with the package.

Thanks.
1) dpkg -L package_name and look for a package_name.desktop or a /usr/share/menu/ entry that usually puts the item in the menu.

2) less /path/to/package_name.desktop or less /usr/share/menu/ package_name has the way they are classified in them but sometimes the category/menu it appears in is a mystery to me as it is not listed in them so it is kind of hit and miss.

3) Were installed see answer 1) will be installed apt-file list package_name you need to install apt-file and run apt-file update as root then the other commands may be run as normal user. It is a handy little program for finding missing dependencies when compiling from source.
 
  


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
Question about multiple Linux installations stunter Linux - Software 5 07-15-2005 08:35 PM
sysv-rc error preventing package installations - help... yekibud Linux - General 2 04-22-2005 02:39 AM
sound at startup, ATI driver failure, package installations trey31357 Linux - Newbie 2 04-12-2005 10:15 PM
Question About Network Installations andrew_aj1 Red Hat 3 10-29-2004 04:57 AM
RH 7.3 Package Question Streams Linux - Software 1 11-25-2002 04:40 AM


All times are GMT -5. The time now is 11:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration