In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to compile sqlite with ubuntu 12.04. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
# # #
Ubuntu 12.04 compiling sqlite
# # #
1 download sqlite source code package sqlite-autoconf-3160200.tar.gz
Https://www.sqlite.org/chronology.html
2 decompression
Tar-zxvf sqlite-autoconf-3160200.tar.gz
3 compile and install
Cd sqlite-autoconf-3160200
. / configure
Compile using the gcc compiler by default
Make # generate Makefile
Make install # is installed at / usr/local/bin / usr/local/lib by default
You can view more options through. / configure-- help, such as-- prefix to specify the installation path
Root@Linux-host:/usr/local/bin# pwd
/ usr/local/bin
Root@Linux-host:/usr/local/bin# ls
Sqlite3
Root@Linux-host:/usr/local/lib# pwd
/ usr/local/lib
-rw-r--r-- 1 root root 8387372 January 11 15:15 libsqlite3.a
-rwxr-xr-x 1 root root 952 January 11 15:15 libsqlite3.la*
Lrwxrwxrwx 1 root root 19 January 11 15:15 libsqlite3.so-> libsqlite3.so.0.8.6*
Lrwxrwxrwx 1 root root 19 January 11 15:15 libsqlite3.so.0-> libsqlite3.so.0.8.6*
-rwxr-xr-x 1 root root 3478366 January 11 15:15 libsqlite3.so.0.8.6*
Drwxr-xr-x 2 root root 4096 January 11 15:15 pkgconfig/
Installation completed
4 Test
Root@Linux-host:~# sqlite3
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
Sqlite > .exit
Special orders are given. The beginning
This is the end of this article on "ubuntu 12.04 how to compile sqlite". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.