LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-06-2012, 09:20 AM   #1
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Rep: Reputation: 38
Install local .deb package with dependency resolution


I just made the switch to Ubuntu from Fedora. I am trying to install a local .deb package but running into dependency problems. In Fedora, yum can take care of the dependencies
Code:
yum localinstall package.rpm
Is there anything similar in Debian/Ubuntu?
 
Old 05-06-2012, 09:31 AM   #2
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
In Ubuntu You can use dpkg in combination with apt
Code:
dpkg -i package.deb
will install the package,
Code:
apt-get -f install
will install missing dependencies.
Alternatively you can use GDebi (not installed by default), it comes as command-line program and GUI-program and will automatically resolve dependencies.
 
1 members found this post helpful.
Old 05-06-2012, 09:39 AM   #3
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by TobiSGD View Post
Alternatively you can use GDebi (not installed by default), it comes as command-line program and GUI-program and will automatically resolve dependencies.
I found gdebi a better alternative.
 
  


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
Yum local install - package and all dependencies in local directory lppatmore Linux - Newbie 6 02-21-2015 02:53 AM
Looking for slackware with dependency resolution in package management rng Slackware 26 03-12-2012 05:48 AM
Is Aptitude capable of installing local .deb package and resolve dependency issue? Akhran Debian 3 07-06-2009 05:05 PM
Modify dependency in deb package Muffe Debian 2 08-26-2005 06:11 PM
How to install deb package tstrickland Linux - Newbie 10 07-21-2005 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:56 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