LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-11-2005, 02:32 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
Question what package does a program belong to?


Is there an equivalent in apt-get for rpm -qf filename?
 
Old 08-11-2005, 02:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
delte all that... once again i'm an idiot... thought you meant apt4rpm...

it's dpkg or deselect or something on ubuntu isn't it?

Last edited by acid_kewpie; 08-11-2005 at 03:17 PM.
 
Old 08-11-2005, 03:04 PM   #3
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Re: what package does a program belong to?

Quote:
Originally posted by eantoranz
Is there an equivalent in apt-get for rpm -qf filename?
There's a command called alien. I haven't used it a lot, so you may have to type man alien to figure out how to use it. That command is for RPMs (as RPM is not a native file for Debian-based distros--it's alien).

If you have a .deb file, though--which is a native file--then you can do the following:

dpkg -i packagename.deb

You would need root privileges for that, of course (su or sudo).

It's always a better idea, if something's available through repositories, to use apt-get or Synaptic to install it, though.
 
Old 08-11-2005, 03:17 PM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Let's cut to the chase, ok? (or is it shase??? )

What do I have to install to have the command mail available? I removed fetchmail for sendmail to experiment.. then installed fetchmail again.... but now I don't have the mail executable. I guess the package including it got removed as well.
 
Old 08-11-2005, 03:28 PM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally posted by eantoranz
Let's cut to the chase, ok? (or is it shase??? )

What do I have to install to have the command mail available? I removed fetchmail for sendmail to experiment.. then installed fetchmail again.... but now I don't have the mail executable. I guess the package including it got removed as well.
What are you using--Ubuntu? Have you enabled extra repositories? Start Synaptic Package Manager (under System > Administration) and do a search in Name and Description (not just Name) for the word mail. What pops up?
 
  


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
Any aptitude command to find out what packages belong to a virtual package? Akhran Debian 9 11-05-2005 09:40 PM
Python package fetching program datadriven Slackware 20 02-21-2005 09:55 AM
Which package do these files belong to? dubya Linux - Software 6 12-28-2004 06:40 PM
find files that do not belong to any package? Pinchiukas Slackware 10 09-15-2004 07:26 AM
package/program manager for x??? debian_devil Linux - General 1 01-22-2002 12:28 PM


All times are GMT -5. The time now is 01:28 AM.

Main Menu
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