I didn’t know which topic to upload, in general, the question is just like a penny, if I download the repository through sudo apt-get install , then I can (just not download it from another computer) I can just copy it or throw it on a flash drive and how you can =) Thank you for your attention.

    8 answers 8

    Downloaded, i.e. downloaded apt , for updating, the default packages are located in /var/cache/apt where they can be taken as root to be transferred to a flash drive, etc. and installed manually on another machine - you can choose the installation method ... if you want to automate the process or there is a question of austerity of traffic on updates, then you can create a local repository for Ubuntu, - as one of the options, you can create your own repository based on /var/cache/apt writing a couple of scripts, but the essential disadvantage is that were installed on the first car ... in any case, to decide and to choose to you.

      First, in the synaptic settings, check the box "save all packages in cache", then you can create a local rep using both apt-move and using dpkg-scanpackages, in APTonCD ... Actually, to create a repository mirror there is another utility - apt-mirror, but ... there would be enough space for you ...

        Once used apt-move. I certainly debian but I think it will help.

        Description.

        creating and maintaining a local debian package pool

        apt-move distributes Debian packages (usually the packages in the apt-get (8) cache located in the / var / cache / apt / archives directory) according to the hierarchical directory structure as in the official Debian archive.

        Periodic execution of apt-move will allow a partial mirror of packages loaded into the cache: outdated versions of packages will be deleted, and the correct local index file Packages.gz will be created. The tool also allows you to build a partial or complete local Debian mirror-like distribution kit (for example, it can be a mirror containing packages installed on this system).

          In general, packages are stored in /var/cache/apt/archives , but these are just packages, not a repository. To create it, there is a scrap of dpkg-scanpackages .

            Repository

            If there is internet on another machine, then copying programs from another machine simply does not make sense. As for the reverse side, you can always write the necessary software in the form of tar, rar, gzip, rpm, as well as deb

            Human use of the terminal!? It's like? It all depends on your knowledge, learn the necessary linux commands (all this can be found in google) CTRL + ALT + T - quick terminal opening!

              Add / correct: the installation is not just "fast", but much faster, because download speed from the Internet and the speed of data exchange on a local disk does not compare!

                For ubuntu, there is a very simple aptoncd application.

                  I can only add that the phrase "If there is Internet on another machine, then copying programs from another machine simply does not make sense" is incorrect - copying makes sense - uploading to the same directory and installing packages from it - then you don’t need to download and the installation is fast .