LocRepo

From hacktolive.org
Jump to: navigation, search

LocRepo is a program that allow users to easily install software on Debian/Ubuntu/Super OS while being offline.

Contents

Usage

  1. You first need to get .deb files so you can install software offline, you can use several ways, including SuperDeb Creator (and selecting the output format "folder", going to http://packages.ubuntu.com/ or http://packages.debian.org/
  2. Place all your .deb files in the folder /opt/locrepo/archives (subfolders are OK)
  3. Run the command "locrepo" on a terminal (will require root privileges)
  4. You can now use Synaptic or Ubuntu Software Center to install your software

Browsing the repository

The way to browse the local repository is still not ideal, since Synaptic and other packages managers are not focused on offline repositories, but it is possible to do it:

  • Open Synaptic
  • Disable all repositories except the local repository - required because if a web repository contains a more recent version of a package also in the local repository, the package manager (APT, Synaptic, etc...) will only display and try to install the version from the web-repository
  • Sort packages by installation state (in Synaptic)

Browsing the repository - Guide with screnshots

Step 8: After browsing the local repository, you might want to re-enable all your repositories, by reverting changes done in step 3 and 4, and doing step 5 after that


Issues

  • If a package is in a official/Ubuntu web-repo, it will not appear on the local repo
  • If a package is in a third-party repo AND in the local repo, it will appear in the local repo
  • If a package appears in the local repo (Synaptic-->origin--> Local), it will not appear in the (third-party) web-repo (Synaptic-->origin), even if it is there
  • If the package in the local repo is older than the one in the web-repo, the older one will not appear. The only solution is to disable all the other repositories

Related

Download

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox