LinuxQuestions.org
Help answer threads with 0 replies.
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 07-23-2014, 08:10 AM   #1
arthur_makowah
LQ Newbie
 
Registered: Jun 2014
Location: Beijing
Distribution: Kali Linux
Posts: 3

Rep: Reputation: Disabled
How do you check for a list of .deb dependencies without installing the deb file


I usually install my deb files via terminal but most of the time it installs them without dependencies leaving errors. How do i check for a list of dependencies without installing it first
 
Old 07-23-2014, 08:25 AM   #2
Gatica
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Rep: Reputation: 0
If you're using a package manager, you can use apt-cache depends <package_name> to give you a list of dependencies.
Running dpkg -I <package_name> will also give info on the package, or otherwise you could try installing with the --dry-run option in dpkg, presumably the errors will tell you which packages are missing.

Last edited by Gatica; 07-23-2014 at 08:26 AM.
 
Old 07-23-2014, 07:15 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,393
Blog Entries: 28

Rep: Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165
Try this:

Code:
apt-cache showpkg [somepackage]
I think it will do what you want. See man apt-cache for more options.
 
Old 07-23-2014, 11:04 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Or this:
Code:
aptitude show [somepackage]
jdk
 
  


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
Problems installing vlc and its dependencies (DEB packages) Pr@veen Linux - Newbie 8 03-30-2012 06:54 AM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 10:02 AM
Need help installing local deb file leiavoia Debian 5 04-15-2005 07:12 AM
Installing a .deb file aznboi12321 Linux - Newbie 3 02-26-2005 07:58 PM
Installing a .deb file. inZioN Debian 1 04-14-2004 11:16 AM

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

All times are GMT -5. The time now is 07:03 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
Open Source Consulting | Domain Registration