Ubuntu Installation :: Install .deb Offline With All Dependencies?
May 3, 2010
I was able to do this before but, I can't remember where I found the link.I think is was a script or something. It would get all the files that the .Deb will need and make an installer.
P.S. I have Ubuntu 64-bit the PC that need the install is a 32-bit both are 10.04.
Administering offline Linux boxes can be a serious pain. The Debian flavours now have keryx to make life easier. Keryx is a cross-platform application, which means one can get the dependencies from Windoze too. Is there any similar package for rpm/fedora based flavours? In the absense of a proper Offline manager, I was also wondering if there is a way to collect the output of:
Code:
yum deplist <package>
... condense or sieve out the double listings, and pipe that to a text file? One can copy the output and run
Code:
yum reinstall <paste them here> --downloadonly
and get all the required dependencies from the yum cache. If all that can be accommodated in one script... then that's pretty cool. I don't have the scripting know-how to dive into this.
is there a way to get urls of the packages that have been updated and then download them in another computer? like this feature of ubuntu HOWTO: Download package dependencies for offline installation - Ubuntu Forums
its a simple feature and its present in smart and synaptic,yet its not in yast (or i havent found it yet.
i would use smart package manager but in my home connection for checking for updates ,yast is better ( smart downloads filelist.xml.gz that is very way biger than what yast downloads (though it enables smart to show filelist of package BEFORE installing) .so at home i can check for package update with yast ,buy downloading them is very hard. (my connectioon is very bad (i live in iran) and yast mirrors are NOT the best of servers ,so yast gets interrupted in middle downloading a rpm and the whole process is waiting for me to press retry ,so i cant do updates and installs overnight.btw is there some way to tell it to retry always or a number of times automatically? )
i need the url links of rpms so i download them separately and install them.
i installed ubuntu normally before but due to some problems i uninstalled it. i want to install using wubi this time but cannot install while online. i dont want to install the normal way bcoz the last time i uninstalled it my window cannot boot. so how to install wubi while offline?
I downloaded and installed the newest version of Fedora, version 15, in my refurbished computer. It's the CD version; so much of the stuff are missing, including an office suite. I didn't have a DVD-ROM drive on the system, thus I installed the CD version. On the CD version, I was displeased that I can't install Samba offline; I had to download it. Don't ask me why I don't want to download it, it's just my preference to be able to have a basic computer function like Samba on an official distribution, like a calculator, an office suite (again, was left out), and a file manager.
Fedora's website describes the DVD edition of the operating system as having more software than the CD version. Now, for those who have used the new Fedora and also used Samba, does it come installed, or do you have to go online to download it? I understand if you don't want MP3s or DVD decryption software, but how does LAN file-sharing count as something that's illegal?
How is the best way to do this?I have a USB drive that I use to transfer regular data, but how do I download gparted to it, and install it on another computer
I'm running Kubuntu 10.10 and am trying to change my bootscreen so I installed StartUp-Manager and then I tried to install usplash, but I get this error which makes me slightly confused:
sudo apt-get install usplash Reading package lists... Done Building dependency tree Reading state information... Done
[code]....
Previously apt-get has been happy to install dependencies. I'm new to Linux so if you need any more information just shout and I'll edit that in.
When I visit packages.ubuntu site, I see dapper, maverick etc. What are these? Also I need to install complete gcc, g++ and dependencies. How to do it?
I'd like to update /etc/apt/sources.list with all the packages available on packages.debian.org and packages.ubuntu.com without apt-get, aptitude, and synaptic then trashing my system by trying to update all the obsolete packages. (I'm stuck with 8.04) I only want to update the packages / install new ones with their dependencies as I request them. How do I do that?
I have Ktorrent installed via the repositories and its always worked perfectly. Today I ran software update with KPackageKit and it installed updates. It told me that KTorrent had to be removed to continue and without thinking I hit ok. Now my KTorrent is gone. When I try to install it on the terminal with
Code:
sudo apt-get install ktorrent
it gives me this error.
Code:
$ sudo apt-get install ktorrent Reading package lists... Done Building dependency tree Reading state information... Done
[code]...
The following packages have unmet dependencies:
ktorrent : Depends: ktorrent-data (= 4.0.3-0ubuntu1) but 4.0.5-3ubuntu1~maverick1~ppa1 is to be installed
E: Broken packages If I remove and reinstall ktorrent-data it doesn't help. build-dep doesn't help. autoremove and then trying to reinstall doesn't help. I'm not running some strange dev version of anything. I have a standard Kubuntu 10.10 amd64 installation and my KDE version is 4.6.2 from the regular repositories. I run updates (standard repositories) almost every day and have never seen anything like this before.
i want to install package say PHP5 i have all the dependencies packages of php5 in a folder.or say i have all the packages in a folder and i want to install using dpkg
but when i try to install the main package it say these dependencies are missing.there are more than 40-50 packages so its not possible to install manully first one package and then another.eg:
Code: bhupinder packages # dpkg -i apache2_2.2.17-1ubuntu1_i386.deb (Reading database ... 140101 files and directories currently installed.) Preparing to replace apache2 2.2.17-1ubuntu1 (using apache2_2.2.17-1ubuntu1_i386.deb) ... Unpacking replacement apache2 ...
[Code]...
now i have to install rest of the package manually ...is there any solution so that i can install it with single command...???
Installing from a CD, and F13 constantly freezes at the same spot - "Checking dependencies in packages selected for installation" - gets stuck 1/3 to 1/2 thru.
I am trying to install fc11 on an intel mb with pentium4 and ati graphics the install always hangs at the point where the sw packages have been selected and the install is checking dependencies.
I have tried the regular install the basic video install, and text install with the same symptoms each time
the dvd drive lite is on and the hard disk activity lite is on and the system is frozen. have to power off.
I have fc11 installed on another system (amd) and had install issues also but that was with the preview.
A game I found recently through an web repository. Downloaded the all neded dependencies and .rpm files, but cant install them.. terminal output below:'
In Ubuntu I can easily transfer packages from offline machine into online machine using APTonCD feature. In fedora ,Is there anything similar by which I can transfer my packages of online machine into the offline machine
I have just installed ubuntu on my machine which doesn't have Internet. I can access the net on my laptop and copy any files over. I am wanting to install blueman to tether my iPhone. I cannot find a .deb of it, so downloaded the tar.gz but the stock install doesnt have a compiler. I could download and copy over a compiler, but I'm guessing I'm going to be here hours copying over each dependancy that I come across (I'm guessing there may be a few) how I can tether my iPhone or how I can install blueman? Does anyone know of any pre-built packages I can just copy n install?
I have just newly installed Ubuntu10.10 on my laptop and am attempting to install VirtualBox 3.2.10. Everything has been going fine until I run the apt-get install command. The results are as follows:
I need to somehow do a yum installation (or equivalent of) on a system that is offline with no access to the internet. (I do have access to another Linux system that has internet access, but the Linux installations on both systems have different packages installed and enabled.)
Let's say the command to enter is 'yum install pkg1 pkg2 pkg3' (the documentation for some applications I need indicate the installation instructions this way, and not as the actual RPMs I need). Is there a way for me to run that on my offline system?
e.g. one way I can think of is to run that command on the online system, somehow if possible take note of what RPMs get installed, then transfer them to the offline system via USB and install all the RPMs via rpm command.
The problem with my above idea is that the two systems have different packages enabled, so even if yum on the online system shows a few dependencies being downloaded, I could run download and install all these RPMs and their dependencies on the offline system only to find several more missing dependencies, and dependencies of those dependencies.
I have downloaded valgrind 3.6.1 from here. I want to install it, how to do it.How to install valgrind on xubuntu 11.04.This program is not in software center.I am already using code::blocks 10.05. Can i integrate it with codeblocks so that as i debug program in codeblocks valgrind called itself and show memory leaks.
I just installed ubuntu server 9.04. Now i wanna install GUI on that such as Xinit, and others, theni stuck because i wannna install it without connection (from source / offline).
is there a way to install programs offline other than apt-on cd and keryx? maybe a script to copy the files on a flash drive to /var/cache/apt/archives
Is it possible to download MySQL, Apache and PHP first? And install them on Ubuntu system offline. Is anybody know how can I get them and install them?
I have to install LAMP server on many system for the purpose of training. So I don't want to download them repeatably. Once download them, install on all system.
Tell me some way to upgrade from Ubuntu 10.04LTS to 10.10. But in Offline mode? is there any package or iso image or CD by which i can upgrade my offline PC?
I know I can build a local repository but I'd like to try just moving the appropriate .deb files. My problem is not knowing which files I need and it what order. Example... I want to install nfs-common
Doing apt-get install nfs-common --- does it all for me when I'm online. So I looked in the /var/cache/apt/archives to see what was installed. I found two nfs files... nfs-common_1.2.0-4ubuntu4.1_amd64.deb nfs-kernel-server_1.2.0-4ubuntu4.1_amd64.deb
But when I tried to install those on another machine I found I was missing additional files. libgssglue1_0.1-4_amd64.deb libnfsidmap2_0.23-2_amd64.deb librpcsecgss3_0.19-2_amd64.deb portmap_6.0.0-1ubuntu2.1_amd64.deb
For future installations. How do I find all the dependencies and the ORDER they need to be installed so I can write my own script and install them to a machine that is offline?
I downloaded some rpm files from rpmfusion.org to my computer using my Windows Vista OS. I then moved the files to the partition where Fedora is installed. When I ran the files on the terminal using the rpm command, it showed a lot of errors like: xyz needs abc.. and so on. How then can I install softwares and codecs on my computer without being online? I don't have screenshots right now.
my friend does not have a internet connection, he require vlc (to watch movies) and g++(as c++ compiler). how he can install these softwares in his pc offline??
I got the Linux Nov 2010 magazine with the CD Magazine archive and aplications but can't find any applications. How do I find them? Also I bought this magazine as I am a teacher and want my students to be able to install one or two open source applications without having to go online. What can I do if there are no applications on that cd. How can I install applications offline, or can I?/.