LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   offline installation (https://www.linuxquestions.org/questions/ubuntu-63/offline-installation-584936/)

sulekha 09-15-2007 03:36 PM

offline installation
 
Hi all,

in my home i have got a reasonably fast net connect so i can install packages via synaptic. now consider this situation

one day i tried to install a vlc deb file in my office ubuntu machine,which i got from my home machine's /var/cache/apt/archives location. the vlc media player didn't installed instead it showed a lot of dependencies that should be satisfied.
(office machine do not have internet connection due to security reasons)

my question is as follows

how to make a package or a deb file which i can take to all offline ubuntu
machines and install there without getting dependency problem ????

mechdave 09-15-2007 05:52 PM

Why don't you look up the dependencies at debian.org and download then at home then burn them all to disk. Take them to work and then install the vlc media player using apt-get install "xxxx"

fragos 09-15-2007 05:54 PM

You may find it simpler to put all the packages you need on CD and then in "Software Sources," "Third-Party Software" tab, use the Add CD-ROM button.

sulekha 09-16-2007 10:34 AM

Quote:

Originally Posted by fragos (Post 2893093)
You may find it simpler to put all the packages you need on CD and then in "Software Sources," "Third-Party Software" tab, use the Add CD-ROM button.


Oh no this not what i meant.

see http://www.linux.com/feature/54945?theme=print
(9. Compiling from source)

i understood the step sudo apt-get build-dep packagename

then the following given in the above mentioned web page, i couldn't get it.

After you've run ./configure ; make, just run sudo checkinstall and answer a few simple questions. Note that if you compile packages on AMD64, CheckInstall will select X86_64 as the architecture rather than amd64 -- which will cause the package install to fail, since Ubuntu expects amd64 as the architecture rather than X86_64.

By the way, the packages created by CheckInstall also make it easier to deploy the same package on several machines, if you happen to have several systems running Ubuntu. See Joe Barr's excellent CLI Magic feature on CheckInstall too.

Can anybody give simplified steps based on the article given in the above mentioned web page???


All times are GMT -5. The time now is 06:04 AM.