Install Softwares offline in LinuxMint (without having internet)
This tutorial can be used to install softwares on computer with no internet connection. You can also use this tutorial to download the package files once and use them again and again either on your computer or someone else's.
Assume package named xfburn (a dvd burnind application) has to be installed and there is no internet connection on that computer. Following are the steps described to perform the installation offline:
1. Get the list of the files to be downloaded:
Open Synaptic package manager, search for the package (say xfburn) and mark it for installation. A new dialog box will appear which will ask to mark for necessary dependencies. Select Mark button. On menu bar, click on File, then choose Generate package download script option. A new dialog box will appear. Write the name of the file xfburn.sh (file name ending with .sh) and choose the location for it (try to choose location in home folder or on desktop).
2. Downloading the files:
Here two cases arise - whether the computer from where files have to be downloaded runs on Linux or on Windows.
Case-1 The computer runs on Linux Operating System
If the computer runs on Linux, just paste that file (xfburn.sh) on its desktop in some folder. Open that folder and double click on that file. Choose Run in Terminal and files will start downloading.
If nothing happens on double clicking the file, right click on file, under permissions tab Tick mark Allow executing file as program. Then run it again.
Case-2 The computer runs on Windows Operating System
There are two options - Either you take a live CD or USB to that computer and download the files as described in Case-1 OR you have download the files manually one by one which is a time consuming process.
To download files manually, open xfburn.sh with a text editor, copy the download link one by one, paste it on Web browser's address bar or download it via Download manager.
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libx/libxfce4util/libxfce4util-common_4.8.2-1_all.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libx/libxfce4util/libxfce4util4_4.8.2-1_i386.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/e/exo/libexo-common_0.6.2-4_all.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/e/exo/libexo-helpers_0.6.2-4_i386.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/e/exo/libexo-1-0_0.6.2-4_i386.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/x/xfconf/xfconf_4.8.1-1_i386.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/x/xfconf/libxfconf-0-2_4.8.1-1_i386.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libx/libxfce4ui/xfce-keyboard-shortcuts_4.8.1-1_all.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libx/libxfce4ui/libxfce4ui-1-0_4.8.1-1_i386.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/libx/libxfce4util/libxfce4util-bin_4.8.2-1_i386.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/x/xfburn/xfburn_0.4.3-4ubuntu1_i386.deb
3. Installing the Downloaded Files:
Take the folder in your Pen drive or any media. Open Synaptic package manager, On menu bar, click on File and select Add Downloaded Packages. Browse to the location of the folder containing downloaded files, select that folder (don't open that folder, just select that folder from outside) and Click on Open button. Then select Apply on new dialog box appeared. Package will be installed.
Another method for installing downloaded files is to copy all downloaded files present in folder and paste them in /var/cache/apt/archives. Then search package from Mint Software Manager and just hit Install button.
You can keep that folder on safe location so that it can be used later on if needed.
I have tried to share best methods I know. Any further modifications and suggestions are Appreciated.
Tags: how to Install softwares/packages offline in LinuxMint via synaptic without having internet connection
Created: 1 year ago.
Last edited: 1 year ago.
Reviewed: 1 year ago.
Read 0 times.
|1 month ago||
|can you dumb it down a bit for me ??|
|5 months ago||
|very good tutorial..|
|1 year ago||
|Many thanks for that. I messed up network-manager while trying out e17 and was getting ready to just reinstall the whole OS if need be. Now I don't have to. Yay!|
Other tutorials from Thinker
- Remove duplicate icons from Gnome-shell application area
- Editing Grub2 menu entries manually in Linux Mint
- Add new screen resolution in Linux Mint
- Receive files from a Bluetooth device in Linux Mint
- Burning a DVD via Terminal using "growisofs" command
- Playback Sound Recording in Linux Mint
- Recover accidently deleted Libreoffice document .odt files using Scalpel
- Insert Special Characters (®, ©, ™) in Linux Mint