LinuxQuestions.org
Visit Jeremy's Blog.
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 09-30-2011, 12:12 AM   #1
peeyushsharma
LQ Newbie
 
Registered: Sep 2011
Posts: 2

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


Hi,

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
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

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

Cheers,

Josh
 
Old 09-30-2011, 12:30 AM   #3
peeyushsharma
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
 
  


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


All times are GMT -5. The time now is 04:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration