Announcement

Collapse
No announcement yet.

Where will binaries be installed?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Where will binaries be installed?

    Hi,

    If i download and compile a package from source, how can i see where " make install "
    will install the compiled files (and witch files are created during compile)

    Thanks for helping.
    Regards,
    MRX

    #2
    Re: Where will binaries be installed?

    good Q?

    in slackware you could use makepkg insted of make install to have a .tgz made and then use a package manager to install it and list the dir's

    make install dosent leave you with a list or way of uninstaling exept from the original make dir.(that I know of )

    DOSE Kubuntu have a makepkg counter part like makedeb or the sutch?

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Re: Where will binaries be installed?

      If i download and compile a package from source, how can i see where " make install "
      will install the compiled files (and witch files are created during compile)
      The answer is to not use the "make install" > FAQ: Installing from source >> CheckInstall:
      Introduction

      CheckInstall keeps track of all files installed by a "make install" or equivalent, creates a Slackware, RPM, or Debian package with those files, and adds it to the installed packages database, allowing for easy package removal or distribution.

      Use CheckInstall instead of just running "sudo make install", as that will likely put files all over the filesystem, with no easy way of removing them if things go wrong. If in the future you try to install a package that contains the same file as the software you are compiling, you will receive errors and the software you compiled may stop working.

      (In fact, checkinstall can keep track of files modified by any command line, not just a "make install", so you can use it for any type of installation task outside of apt, and it will keep track of the installation in the package manager.)...

      Also if the application is using the cmake (Cross-Platform Makefile Generator) then there will be the "install_manifest.txt". The "install_manifest.txt" will have list of installed files with full path.
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Where will binaries be installed?

        Hi all, thanks for the reply's!

        This gives me some more info, ill try this.


        Why i asked the question:

        I want to add some packages to my Openwrt router linux source.
        To create packages that can be installed (ipkg / opkg) i need to no
        wich files are created and where they should be installed.

        I'll check the CheckInstall util and see what info this provides me.

        Regards, MRX

        Comment

        Working...
        X