Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 15-09-2009, 05:15 PM   #1 (permalink)
TopTrix
 
pravinbv's Avatar
 
Join Date: Jul 2007
Posts: 229
Default best way to install new softwares without internet on Linux


Best and Simplest way to install Softwares in Linux UBUNTU and MINT without internet connection:

Please note that it is considered that you dont have internet on host pc but can go to internet cafe.

you can get the PDF version of this file with images here

Here are steps:

1)Go to Software manager or Mint Install (not to synaptic packege manager, thats different)




2) Click on the software you want to install on ur pc. Here i want to install “FontForge” in Graphics category.
It will give a short discription about the software you clicked. Now click on the “Install” button.




3) When you click, the above window will appear. Again click on install button.
When you click on 'install' button it will try to connect to internet and download neccesary packeges but it will fail and show error.




4) In the error box all those required pagages will be given. Click in that box and copy all those links to a text file.




5) Now by using find and replace function delete these lines
“W:Failed to fetch” and “Could not resolve 'archive.ubuntu.com' and save the file with the name of Software.

6)take that file to the computer with internet connection and copy paste the links. It will directly download the files. Save those files in a seperate folder with name of Software.

Please note that if you want to download many softwares, use seperate folders with appropriate names otherwise your installation may give error and many time this also happen that some of the dependancies required by the software you want to install have already been satisfied by some other related software which were not in the default intallation. So while installing softwares, use the same sequence as that of you used to copy the links in above manner.

7)Now to install the software open the folders with the downloaded files. Open a new “Terminal Window”. And browse to the folder with all those perticular software files. Here if have those three files in folder “Font Forge” i have to browse inside that folder. Use command “ls” without quotes. It should give you the list of files you have inside that folder. Now use these commands.

>> su
this will ask you your passward. Give it. And then use

>> dpkg -i *.deb

this will install your software. If somehting goes wrong because of circular dependancies, you can use this command:

>> dpkg -i --force-depends *.deb


This must install your new software. Use the same commands to install other downloaded software.


you can get the PDF version of this file with images here

Last edited by pravinbv; 02-04-2010 at 08:18 PM.
pravinbv is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 24-09-2009, 10:24 PM   #2 (permalink)
Right Off the Assembly Line
 
calanor's Avatar
 
Join Date: Sep 2009
Posts: 8
Default Re: best way to install new softwares without internet on Linux

as linux mint is based on ubuntu i think a better way is to download all the packages and copy them to /var/cache/apt/packages and then simply installing them with add remove
but you need to have root permissions in order to write in /var ,to do this simply type
sudo nautilus and copy all the packages you want
-----------------------------------------
Posted again:
-----------------------------------------
as linux mint is based on ubuntu i think a better way is to download all the packages and copy them to /var/cache/apt/packages and then simply installing them with add remove
but you need to have root permissions in order to write in /var ,to do this simply type sudo nautilus and copy all the packages you want

Last edited by calanor; 24-09-2009 at 10:26 PM. Reason: Automerged Doublepost
calanor is offline  
Old 25-09-2009, 12:11 AM   #3 (permalink)
Right Off the Assembly Line
 
calanor's Avatar
 
Join Date: Sep 2009
Posts: 8
Default Re: best way to install new softwares without internet on Linux

sry for the double post
net connectivity sucks in our college
calanor is offline  
Old 25-09-2009, 10:19 PM   #4 (permalink)
TopTrix
 
pravinbv's Avatar
 
Join Date: Jul 2007
Posts: 229
Default Re: best way to install new softwares without internet on Linux

thanks for ur reply. i am also a new at LINUX. and ur trick is really better. thanks.
pravinbv is offline  
Old 26-09-2009, 01:03 AM   #5 (permalink)
Linux User
 
ghost at rest's Avatar
 
Join Date: Jan 2008
Location: Chandigarh, India
Posts: 145
Default Re: best way to install new softwares without internet on Linux

I am using this trick for a long time and iirc, I have posted it earlier too.

Let say, you want to install package 'abc'.
Execute this
Code:
 sudo apt-get -qq --print-uris install abc | cut -d\' -f 2 > package_links
Above code will create a file package_links.

If you have Linux machine having internet access ( distro doesn't matter ), copy package_links and just execute this
Code:
wget -i < package_links
wget will download all packages listed in package_links file.

In case, you have Windows OS only, download packages listed in package_links file.

Copy those packages to /var/cache/apt/archives folder.

Execute this to install package :
Code:
 apt-get install abc
This method works fine for all Debian based distros.
So, 4 easy steps only.
  • Create package_links file
  • Download packages
  • Move downloaded packages to /var/cache/apt/archives folder.
  • Execute install command.
ghost at rest is offline  
Old 26-09-2009, 01:08 AM   #6 (permalink)
AFK
 
thewisecrab's Avatar
 
Join Date: Oct 2006
Location: Bombay
Posts: 1,599
Default Re: best way to install new softwares without internet on Linux

Offline Ubuntu Package Center
__________________
Follow me on http://twitter.com/thewisecrab

"This Jen, is the internet"
thewisecrab is offline  
Old 10-11-2009, 03:03 PM   #7 (permalink)
not a newbie.....
 
papul1993's Avatar
 
Join Date: Apr 2009
Location: Assam
Posts: 213
Default Re: best way to install new softwares without internet on Linux

does any one know how to do that on arch linux?
papul1993 is offline  
Old 19-11-2009, 07:21 PM   #8 (permalink)
Apprentice
 
bbalegere's Avatar
 
Join Date: Jun 2005
Location: Bangalore
Posts: 56
Default Re: best way to install new softwares without internet on Linux

I have posted a similar article on my blog
http://agnipulse.com/2009/02/carry-l...apps-pendrive/

Last edited by bbalegere; 19-11-2009 at 07:23 PM. Reason: Automerged Doublepost
bbalegere is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan

Advertisement




All times are GMT +5.5. The time now is 04:40 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2