Setting up a local repository on Ubuntu 16.04
Introduction Having packages available locally is helpful in a number of situations. Your organization might be using certain packages which are not available on public repositories. You might also be building your own debian packages and would prefer to have them available locally on the system. In this article, we will show you how to set up a simple local package repository on an Ubuntu 16.04 system. Step 1: Install dpkg-dev package To install the dpkg-dev package we will use the following command: root@linnuxnix:~# apt install dpkg-dev Reading package lists... Done Building dependency tree Reading state information... Done dpkg-dev is already the newest version (1.18.4ubuntu1.3). dpkg-dev set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. The package appears to be already installed. Let’s view some information about the package using dpkg -s command. root@linnuxnix:~# dpkg -s dpkg-dev Package: dpkg-dev Status: install ok installed Priority: optional Section: utils Installed-Size: 1715 Origin: debian Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Bugs: debbugs://bugs.debian.org Architecture: all Multi-Arch: foreign Source: dpkg Version: 1.18.4ubuntu1.3 Replaces: manpages-it (<< 2.80-4) Depends: libdpkg-perl (= 1.18.4ubuntu1.3), bzip2, xz-utils, patch (>= 2.7), make, binutils, base-files (>= 5.0.0) Recommends: gcc | c-compiler, build-essential, fakeroot, gnupg | gnupg2, gpgv | gpgv2, libalgorithm-merge-perl Suggests: debian-keyring Breaks: devscripts (<< 2.14.10), dpkg-cross (<< 2.0.0) Conffiles: /etc/dpkg/shlibs.default 1a2b9d0a869e2aa885ae3621c557fb95 /etc/dpkg/shlibs.override 84b1e69080569cc5c613a50887af5200 Description: Debian package development tools This package provides the development tools (including...
Read More