Lab Linux - echadbourne/ChadbourneSYS-140 GitHub Wiki
Summary:
- In this lab we took open source code from a git repository and compiled it into a runnable program. Some of the commands used will be recoded below for future reference
Important Information:
sudo apt update
- makes sure the operating system is up to datesudo apt install git
- installs Git on the operating system so you can use open source codegit clone https://github.com/vim/vim
- gets the open source code from the online repository, in this case this is the code for vimcd vim
- changes the folder to the one with the source codesudo apt install build-essential
- installs the development tools in build-essential./configure
- you need to be in the directory with the source code to run this, and this checks that all of the tools needed are installed. If all of the tools needed are not installed it will suggest ones to installmake
- compiles the source code into the binaries needed for it (you need to be in the directory with the program)sudo make install
- installs the binaries of the programvim
- in this case this runs the vim program, this changes based on the program