Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

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

  • All Blogs
  • Tech Blog
  • How To Create A .deb Package From Source & Install It Automatically
  • March 5, 2021 by
    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.

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

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

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