Unix/Linux Go Back    


Debian Debian GNU/Linux is a free distribution of the GNU/Linux operating system.

How to install package from local hard drive?

Debian


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-09-2013
snorkack59 snorkack59 is offline
Registered User
 
Join Date: Apr 2009
Last Activity: 20 January 2015, 4:58 PM EST
Location: Mesa, AZ
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post
How to install package from local hard drive?

Hello,
I want to install a .deb package which I already have on the hard drive. I have tried to edit /etc/apt/sources.list to point to the file but apt-get says it can't find it. The package is not in the Debian repository.

Debian 6.0
Sponsored Links
    #2  
Old Unix and Linux 03-10-2013
hanson44 hanson44 is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 12 May 2013, 11:33 PM EDT
Posts: 858
Thanks: 18
Thanked 181 Times in 178 Posts
Searching for "how to install deb package on hard drive" I got:

How to install deb packages | USB Pen Drive Linux

I've never directly installed a package. There were some other hits from the search.
The Following User Says Thank You to hanson44 For This Useful Post:
snorkack59 (03-10-2013)
Sponsored Links
    #3  
Old Unix and Linux 03-10-2013
RudiC RudiC is offline Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 7 July 2015, 7:18 AM EDT
Location: Aachen, Germany
Posts: 6,243
Thanks: 109
Thanked 1,701 Times in 1,593 Posts
Ever looked at dpkg? man dpkg :
Quote:
Examples: . . .
To install a package, you first need to find it in an archive or CDROM. The "available" file shows that the vim package is in section "editors":
cd /media/cdrom/pool/main/v/vim
dpkg -i vim_4.5-3.deb
The Following User Says Thank You to RudiC For This Useful Post:
snorkack59 (03-10-2013)
    #4  
Old Unix and Linux 03-10-2013
snorkack59 snorkack59 is offline
Registered User
 
Join Date: Apr 2009
Last Activity: 20 January 2015, 4:58 PM EST
Location: Mesa, AZ
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post
I have used dpkg to check the status of a package but it did not occur to me it would install packages also. Thanks for the help!
Fred
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can't install rpm package with --prefix in new path.Error: package is not relocatable g_p UNIX for Dummies Questions & Answers 1 04-01-2012 11:18 AM
How to install Ubuntu11 in external Hard drive atul9806 Ubuntu 3 08-26-2011 05:29 AM
How to install Linux on an external 320 gigabyte hard drive bsandeep_80 UNIX for Advanced & Expert Users 5 03-26-2008 03:15 PM
The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive sirbijan Filesystems, Disks and Memory 0 04-05-2006 02:19 PM
Trying to copy old hard drive to new hard drive. shorty UNIX for Dummies Questions & Answers 4 01-30-2006 04:47 PM



All times are GMT -4. The time now is 05:56 PM.