Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-30-2011, 12:12 AM   #1
LQ Newbie
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
How to install downloaded packages in offline mode in Ubuntu


I have a machine which does not have internet connect.
I have downloaded some packages on my friend's machine and copied those packages from /var/cache/apt/archieves

Now I want to install those packages on my machine.
what approach should I follow to install those packages, kindly suggest

Thanks & Regards
Peeyush Sharma
Old 09-30-2011, 12:21 AM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003

If you are talking about the .deb package files, which they should be, you would use the following to install them:
sudo dpkg -i package_file.deb
To uninstall a deb file, use the following:
sudo dpkg -r package_name
I also recommend that you read up on the man page for dpkg. (man dpkg)


Old 09-30-2011, 12:30 AM   #3
LQ Newbie
Registered: Sep 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Actually I have around 250 packages which I need to install and a lot of them are dependent on each other and the dependency tree is getting bigger and bigger.
I want to know is there any way like I can put those packages under one folder and Synaptic package manager may fetch them up automatically and install the dependecies likewise.

Thanks & Regards

Peeyush Sharma


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
Evolution email is stuck in offline mode (Ubuntu 10.10) achim_59 Linux - Desktop 2 02-07-2011 08:19 AM
LXer: HOWTO: Installing Ubuntu Packages Offline LXer Syndicated Linux News 0 06-14-2010 02:10 AM
Ubuntu Interpid Firefox 3.05 Offline Mode Error metallica1973 Ubuntu 10 01-06-2009 09:15 PM
How to Install Program in Offline Mode Wasis_am Linux - Newbie 2 01-03-2008 12:05 AM
How to install downloaded .deb packages to an unhooked pc parf Debian 2 11-06-2007 09:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration