makefile - How to correctly make install of binaries and data after compile in linux? -
after make of sources have compiled executable file , data directory images it. should @ "make install" phase correctly install these files linux system? , how application can find installed data (in case when binary , data placed in different directories)?
are there standards this?
there many ways install packages on linux , unix system other operating system. normal method of installing software through distributions package manager. package managers different based on distribution using in general take package (a file filled binaries source code or other files required piece of software work) , place corresponding places defined filesystem hierarchy standard. when make install
doing bypassing package manager , placing binaries hierarchy standard directly making impossible package manager handle or account programs existence. not thing hard keep system secure or stable many unknown files placed throughout system. please if want install manually please take @ filesystem hierarchy stabdard , place files under appropriate folder in either /opt , create symlink in area covered path variable or under /usr/local/
Comments
Post a Comment