A Python script to auto check version, download, build and install specified version GDB to current system.
wget https://raw.githubusercontent.com/teawater/get-gdb/master/get-gdb.py
python get-gdb.py
A Python script to auto check version, download, build and install specified version GDB to current system.
Home Page: http://teawater.github.io/get-gdb/
License: GNU General Public License v3.0
A Python script to auto check version, download, build and install specified version GDB to current system.
wget https://raw.githubusercontent.com/teawater/get-gdb/master/get-gdb.py
python get-gdb.py
In linux, ./get-gdb.py, report errors:
sh: axel: command not found
Download GDB source package failed. [Retry]/Exit:Retry
sh: axel: command not found
Download GDB source package failed. [Retry]/Exit:Retry
Details below:
[AliceGuo@local170 get-gdb-master]$ ./get-gdb.py
[0] English
[1] Chinese
Which language do you want to use?0
Current system is "Redhat".
[0] 6.1.1
[1] 6.2.1
[2] 6.3
[3] 6.4
[4] 6.5
[5] 6.6
[6] 6.7
[7] 6.7.1
[8] 6.8
[9] 7.0.1
[10] 7.1
[11] 7.2
[12] 7.3.1
[13] 7.4.1
[14] 7.5.1
[15] 7.6.2
[16] 7.7.1
[17] 7.8
Which version of GDB do you want to install?[17]14
[0] Current architecture
[1] Input other
[2] x86_64-linux
[3] arm-linux
[4] mips-linux
Which architecture do you want to build?[0]2
Build and install GDB ...
Do you want to install GDB after it is built? Yes/No:Yes
Please input the PREFIX directory that you want to install(GDB will be installed to PREFIX/bin/):[/usr/local/]
Please input the directory that you want to build GDB:[/home/AliceGuo/scripts/get-gdb-master]
Please input the number of jobs to compile GDB:[2]
gcc-4.1.2-54.el5
package texinfo is not installed
m4-1.4.5-3.el5.1
package flex is not installed
package bison is not installed
ncurses-devel-5.5-24.20060715
ncurses-devel-5.5-24.20060715
package expat-devel is not installed
python-devel-2.4.3-56.el5
package axel is not installed
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Dependencies Resolved
Installing:
bison x86_64 2.3-2.1 base 549 k
expat-devel i386 1.95.8-11.el5_8 base 132 k
expat-devel x86_64 1.95.8-11.el5_8 base 129 k
flex x86_64 2.5.4a-41.fc6 base 131 k
texinfo x86_64 4.8-14.el5 base 763 k
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.7 M
Downloading Packages:
(1/5): expat-devel-1.95.8-11.el5_8.x86_64.rpm | 129 kB 00:01
(2/5): flex-2.5.4a-41.fc6.x86_64.rpm | 131 kB 00:00
(3/5): expat-devel-1.95.8-11.el5_8.i386.rpm | 132 kB 00:00
(4/5): bison-2.3-2.1.x86_64.rpm | 549 kB 00:00
Total 298 kB/s | 1.7 MB 00:05
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : texinfo 1/5
Installing : expat-devel 2/5
Installing : bison 3/5
Installing : expat-devel 4/5
Installing : flex 5/5
Installed:
bison.x86_64 0:2.3-2.1 expat-devel.i386 0:1.95.8-11.el5_8 expat-devel.x86_64 0:1.95.8-11.el5_8 flex.x86_64 0:2.5.4a-41.fc6
texinfo.x86_64 0:4.8-14.el5
Complete!
sh: axel: command not found
Download GDB source package failed. [Retry]/Exit:Retry
sh: axel: command not found
Download GDB source package failed. [Retry]/Exit:Retry
sh: axel: command not found
Download GDB source package failed. [Retry]/Exit:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.