compile – POFTUT

Tagged: compile


How To Use Linux ldd Command To Print Shared Libraries with Examples?

Shared libraries are used to provide functions to the commands and executable of the Linux. ldd command can be used to list currently used shared libraries of given executable file. Help Even ldd command is a simple command which provide some parameters this can be listed with the –help option like below.

Print Given Executable Shared Libraries We will start with the basic usage where we will print given...


How To Download, Compile and Install Custom Linux Kernel Manually In Ubuntu, Debian, Mint, Kali, CentOS?

Linux is a Operating System kernel and user space applications will create different distributions like CentOS, Ubuntu, Mint, Kali around this kernel. Kernel can be downloaded freely and used without any license fee. In this tutorial we will learn how to download Linux Kernel from and compiling with GCC . An the last step installing or upgrading the kernel. Download Kernel Source Code Kernel source code is originally maintained...


Debug Applications with gdb In Linux

gdb is the short form of GNU Debugger. Debugger is a tool used to search and find and get detailed information about bugs in applications binaries. gdb is popular in Linux community which is used by most of the IDE, Programming tools event in Android IDE’s. In this tutorial we will look how to start and use basic features of gdb . Example Code During this tutorial we will use following simple application...


Cmake Tutorial To Build and Compile In Linux

Binaries are created by building or compiling source like C, C++ etc. In simple applications we can build by using the compiler like gcc directly. But this is inconvenient if the application is big and have a lot of source code, configuration file and build options. Developers generally prefers build systems like make but there is alternative named cmake which is popular in Linux ecosystem too. About CMake is an...


How To Install Tar.Gz or Tar.Bz2 Application Source Code?

As a systems administrator I generally use package managers to install software. But in some situations I can not use package manager because provided software version is old or do not compatible. In this situations how can I install new software from source code by compiling. Software source code can be get in different forms like compressed files like tar.bz2 , tar.gz or from repositories like git , svn etc. We will follow compressed...

Compile C Hello World Program 3

Compile C Hello World Program

C is a popular programming language for new programmers. There are some rituals while starting to learn some programming language which is called Hello World Example or Hello World or Hello Worl in C. In this tutorial, we will learn how to code the Hello World program in C, compile and run it from the command line. Example Hello World Program We will use the following Hello World source code...


How To Compile Linux Kernel From Source Code?

Hi today we are going to compile Linux kernel. you can think that compiling  kernel is very complicated and hard for you. But it is not. It is more easy to compile than a lot other projects. Because Linux kernel has no dependency to library or other tools. It needs just ncurses development library which is used for module configuration. Lets start the process. Download Linux Kernel Source Code Linux Kernel...

Enjoy this blog? Please spread the word :)