Announcement

Collapse
No announcement yet.

Adept for offline installation

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Adept for offline installation

    Hi frenz,

    Here in India, we don't have a good broadband connection... So I downloaded all the required packages ( for emacs , including dependencies) from another computer in my college.

    How can I tell Adept to install these debs automatically ??
    I tried the "dpkg -i" command but it is too painful if there are many debs.
    Same thing applies to Right-click --> Kubuntu Package Menu --> Install Package.

    Can Adept be configured to point to the folder where I've stored all my debs?

    #2
    Re: Adept for offline installation

    Review this link for a info on creating a CD/DVD repository.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Adept for offline installation

      if you are sure you got it all with dependencies,
      try dpkg -i *.deb in the folder you have the debs in.
      Should install the lot.

      may have to do apt-get -f install afterwards

      Comment


        #4
        Re: Adept for offline installation

        I have local repository:

        How to make local repository
        make folders:

        /home/user/debs/
        /home/user/dists/feisty/deb_does_feisty/binary-i386/

        copy .deb files to the /home/user/debs/

        Generate package info (You are in the /home/user/):
        Code:
        :~$ dpkg-scanpackages debs /dev/null | gzip > Packages.gz
        copy/move Packages.gz to the /home/user/dists/deb_does_feisty/binary-i386/

        Edit /etc/apt/sources.list
        Add: deb file:///home/user/ feisty deb_does_feisty

        Update package lists.
        Install (Apt/Adept/Synaptic/Whatever).

        This is from (modified) APT HOWTO
        http://www.debian.org/doc/manuals/ap.../index.en.html
        ===> 2.2 How to use APT locally


        Or

        Use package cache

        This is from APT HOWTO
        http://www.debian.org/doc/manuals/ap.../index.en.html
        ==> 3.6 Removing unused package files: apt-get clean and autoclean
        When you install a package APT retrieves the needed files from the hosts listed in /etc/apt/sources.list, stores them in a local repository (/var/cache/apt/archives/), and then proceeds with installation.
        So put .debs in to the /var/cache/apt/archives/ and install (apt-get).


        Links:

        Topic: Making Local Repository
        http://kubuntuforums.net/forums/inde...opic=3087550.0

        Topic: OpenOffice 2.2.3
        http://kubuntuforums.net/forums/inde...opic=3086717.0
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Adept for offline installation

          Excellent ! Thanks for the tutorial ! It's workin

          Comment

          Working...
          X