-
sudo is a Linux system administration directive, which is a tool that allows system administrators to let ordinary users execute some or all of the root commands.
1) Configure sudo/configure –prefix=/home/crosstool-ng/install
The configure command is to execute a script named configure in the current directory, the main function is to configure the software to be installed, check whether the current environment meets the dependencies of the software to be installed, and put the generated makefile under = home crosstool-ng install.
2) Compile sudo make
The basic purpose of make is to automatically compile the source file according to the instructions in the makefile.
3) Install sudo make install
make install: installs the program on the system. If the source code is compiled correctly and the execution result is correct, the program can be installed in the preset executable file of the system.
Storage path. Default usr local bin
-
What does sudo make that mean?
This is to ask you to type sudo make in the terminal
Then press enter to execute.
-
makefile?Just write a makefile file in the current directory and run the command make.
-
It's because the G++ compiler is not installed in Linux, and you can solve it by just installing it. The specific steps are as follows:
1. First of all, press the "Alt + Ctrl + T" keys under Linux, and the window will pop up. Then type "stdo -i."", click Enter.
2. Enter the login password to enter root mode, and you will see "$ becomes" at this time
3. Then, type "apt-get install g++.""And press Enter.
4. Then wait for the system to parse the package.
5. After the parsing is completed, we will be asked to confirm whether to install "g++"."We type "y" and then, press enter.
6. Then, the Linux system will be installed automatically"g++"Wait for the installation to complete.
-
This is because you don't have the make compilation tool installed, yum -y install make can be installed and executed. The Linux operating system is a clone system developed based on the UNIX operating system, which was born on October 5, 1991 [Linux desktop] (this is the time when it was officially announced to the public for the first time). Later, with the help of the Internet network and through the joint efforts of computer enthusiasts all over the world, it has become one of the most used UNIX operating systems in the world today, and the number of users is still growing rapidly.
Expansion: 1. The Linux operating system is a clone of the UNIX operating system, which was born on October 5, 1991 (this is the first time it was officially announced). Later, with the help of the Internet network and through the joint efforts of computer enthusiasts all over the world, it has become one of the most used UNIX operating systems in the world today, and the number of users is still growing rapidly.
2. Linux is a set of free-to-use and freely disseminated UNIX-like operating system, which is a multi-user, multi-tasking, multi-threading and multi-CPU operating system based on POSIX and UNIX. It runs major Unix tools, applications, and network protocols. It supports both 32-bit and 64-bit hardware.
Linux inherits UNIX's network-centric design philosophy and is a multi-user network operating system with stable performance. It is mainly used on Intel x86 series CPU-based computers. This system was designed and implemented by thousands of programmers around the world.
The aim is to create Unix-compatible products that are not subject to the copyright of any commercial software and can be freely used throughout the world.
-
Regarding the problem, the best solution is as follows.
The shell cannot browse the target station, enter :
ls -la /
2. Spillover promotion.
# python –c ‘impotr pty;;
To get the interactive shell, the general system installs the python input id by default
iduid=529(zeicom) gid=525(zeicom) groups=525(zeicom)
Here uid=529 (zeicom) is not root yet, enter uname r
Return: Linux privilege escalation can be broadly divided into third-party software vulnerabilities, local trust features, and kernel overflow.
-
Hi, the makefile is the compilation rules for your project (i.e., an ordered set of programs).
The makefile syntax looks like this:
colon ":"The front is the name of the target, followed by the compilation rules for this target. You already know this quite well, and you don't need to say more.
The key to understanding lies in the make command. When you use the make command, the format is make [option: target name].
In other words, if you add the name of the target to the end of make, make will help you execute the compilation rules after the target. Of course, the target name is optional, and when it is not added, make finds the first target defined in the makefile and executes the following compilation rules. (instead of enforcing all target rules in all makefiles).
Generally speaking, a makefile will define several common targets, such as config, install, clean, config is to configure various variables according to your environment, install is the current compilation, in the place where the compiled content is put on the side, clean is to delete the compiled result, and the project is sent back to the original state before compilation.
If there is anything you don't understand, I recommend you to take a look at Chen Hao's "Write a makefile with me", which is very well written.
-
When make is executed alone, only the first target is executed, and when make is followed by the goal, the corresponding target is executed.
-
What the hell is the landlord going to ask?,Is it an English translation fainted?。
-
Analyze Linux
The difference between the make command and the makefile:
1. The make command has some built-in default functions, but I still don't know how to build the program just because of this. You must provide a file that tells make the structure of the application, and this file is the makefile.
2. Make and makefile provide powerful functions to manage the compilation of projects and publish installs to specified folders.
3. The principle of make is to execute a command called makefile, and the basic use of make is to automatically compile the source file according to the instructions in the makefile. It can also be used to do things such as installing software, uninstalling software, etc., but only if it is written in the makefile.
4. For example, there are some contents in the makefile:
install
commands
Then use make
install, the make program will < the instructions following install:
commands
The same is true for uninstall, most authors will write the uninstall part, in this case simply execute make
unistall can, if the author is lazy and does not write, then only according to make
In the install step, copy what files to where, and then manually delete them separately. Another key point is that after the compilation and installation is completed, do not delete the source**, otherwise even if the author writes the unnistall target, there will be no makefile to execute.
Unless you redo your Vista system ...
I used to be also an XP plus a linux... It's only after the rework! >>>More
Detect the Linux system.
The following describes whether to enable the FTP server >>>More
Hello landlord Every time I want to get angry, quickly count "1, 2, 3, 4......At the same time, the psychology tells itself: you can't get angry, otherwise you will lose your emotions......"When I count to a dozen, I can probably relieve my emotions first, and then rationally analyze and consider the thing that makes me angry. A lot of times, things aren't very complicated, but they can be made bad because we don't control our emotions for a while. >>>More
Let's start with the relatively complex server implementation of PHP. If you have PHP installed on your server, you can execute PHP files, regardless of whether you have installed server environment software such as Nginx or Apache. In Linux, using the command line and crontab to schedule tasks is an excellent choice, and it is also the most efficient choice. >>>More
1.The majority of people are very kind, which means that among these known fixed numbers, the very good people are the majority, the majority, which refers to the number of people. >>>More