, which tells Linux to execute this file from the directory we are presently in, so make certain you run this command in the same directory that you compiled the source code in. Note that to run the file, we preceded it with the. We can compile this source code by typing:įinally, we can now run this file from within the directory where we unzipped it: Compiling from source code will give us binaries (the program files) that are optimized for our hardware and operating system, meaning they will often run faster and more efficiently. Next we need to compile it with the GNU compiler. This will untar and uncompress it, if it's compressed.
Once we've downlaoded it, then we need to untar it using the tar command: Let's say that aircrack-ng was not in our repository (some software never finds its way into a repository) and we had to download it from website. These are files that are 'tarred' together into a single file and often compressed (similar to zipping files with WinZip and then putting them together into a. Most often these are archived as tar or tarballs. Step 4: Installing from Sourceįinally, sometimes you will need to download software that is neither in a repository, nor in a package. If the package is in one of our repositories, it will download it and any of the necessary dependencies (files that the package need to run properly), and install it on your system automatically.