Quantcast
Viewing latest article 9
Browse Latest Browse All 10

Installing from testing source

Recently I’ve needed to install a package (keepass2) which was available only in testing and unstable repositories. As I’m running stable version of Debian (for stability and compatibility with servers) I’ve come across of an installation method worth rememering. Bellow is the adaptation of the method mentioned here.

    Add repository
    Open /etc/apt/sources.list file and add (in this case) Wheezy main repository deb-src http://ftp.de.debian.org/debian/ wheezy main or
    # echo "deb-src http://ftp.de.debian.org/debian/ wheezy main" >> /etc/apt/sources.list
    Create folder for storing source and build files
    $ mkdir -p ~/Build/keepass2
    $ cd !$
    Get the source files:
    $ apt-get source keepass2
    Build dependencies
    $ su
    # apt-get build-dep keepass2
    # exit
    Build the package from source:
    $ cd keepass2-2.18+dfsg
    $ dpkg-buildpackage -us -uc
    $ cd ..
    Install it:
    $ su
    # dpkg -i *deb

Viewing latest article 9
Browse Latest Browse All 10

Trending Articles