Ir al contenido
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Inicia sesión
  • Nederlands English (US) Español (AR)
  • Contáctanos
  • Inicio
  • Blog
  • Empleos
  • Contáctanos
Cafayate.Net
  • 0
  • 0
    • Inicio
    • Blog
    • Empleos
    • Contáctanos
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Inicia sesión
  • Contáctanos

How To Create A .deb Package From Source & Install It Automatically

  • Todos los blogs
  • Tech Blog
  • How To Create A .deb Package From Source & Install It Automatically
  • 5 de marzo de 2021 por
    Administrator

    I’ve found this method to work in most but NOT all cases, as sometimes additional depencies are required in order to build the package.

    STEP 1:

    The required packages are:

    build-essential
    automake
    autoconf
    libtool
    pkg-config
    libcurl4-openssl-dev
    intltool
    libxml2-dev
    libgtk2.0-dev
    libnotify-dev
    libglib2.0-dev
    libevent-dev
    checkinstall

    Or simply run the following command:

    $ sudo apt-get install build-essential automake autoconf libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev libevent-dev checkinstall
    STEP 2:

    Now to make the package:

    The source tarball “transmission-1.76.tar.bz2” is used in this example (sub the .bz2 tarball of the source code for the app you are working on for this one)

    $ tar xvjf transmission-1.76.tar.bz2 (alt:or you can extract the data from the tarball using the archive manager the right-click menu)

    $ cd transmission-1.76 (alt: or you can highlight the newly created folder and from the right click menu choose “open terminal here”)

    $ ./configure && make && sudo checkinstall

    This will create a .deb package for you and automatically install it on your system, which can then be easily removable via Synaptic (look in the local section), or via the Software Manager or by:

    $ sudo dpkg -r

    Then you can remove the source .tar.gz from your computer.

    STEP 3:

    You may have to:

    sudo chown .deb in the source directory to make it yours and the move that to another location so that you have it on hand if you need it, then you can delete the source folder.

    Note 1: Step #3 may not be required if you open the untarred folder with “open folder as root” from the right click menu (for Linux Mint users only).

    Note 2: Though your newly installed app will appear in the Linux Mint Software Manager, reviews cannot be submitted for it.

    en Tech Blog
    How To Use Foreman To Manage Puppet Nodes on Ubuntu 14.04

    Diseñado para empresas

    Somos un equipo de personas apasionadas cuyo objetivo es mejorar la vida de todos a través de productos revolucionarios. Creamos grandes productos para resolver sus problemas empresariales. Nuestros productos están diseñados para pequeñas y medianas empresas dispuestas a optimizar su rendimiento.

    Contáctenos

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Síganos
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)