標籤:oca 提示 get win32 rpm target www nload dev
Sqlite下載頁面:http://www.sqlite.org/download.html
Windows安裝
需要下載 sqlite-tools-win32-*.zip 和 sqlite-dll-win32-*.zip 壓縮檔。
建立檔案夾 C:\sqlite,並在此檔案夾下解壓上面兩個壓縮檔,將得到 sqlite3.def、sqlite3.dll 和 sqlite3.exe 檔
添加 C:\sqlite 到 PATH 環境變數,最後在命令提示字元下,使用 sqlite3 命令
C:\>sqlite3SQLite version 3.7.15.2 2013-01-09 11:53:05Enter ".help" for instructionsEnter SQL statements terminated with a ";"sqlite>
Linux安裝
目前,幾乎所有版本的 Linux 作業系統都附帶 SQLite。所以,只要使用下面的命令來檢查您的機器上是否已經安裝了 SQLite
$sqlite3SQLite version 3.7.15.2 2013-01-09 11:53:05Enter ".help" for instructionsEnter SQL statements terminated with a ";"sqlite>
如果沒有看到上面的結果,那麼就意味著沒有在 Linux 機器上安裝 SQLite。因此,讓我們按照下面的步驟安裝 SQLite:
請訪問 SQLite 下載頁面,從原始碼區下載 sqlite-autoconf-*.tar.gz。
步驟如下:
$tar xvfz sqlite-autoconf-3071502.tar.gz$cd sqlite-autoconf-3071502$./configure --prefix=/usr/local$make$make install
1、bin檔案安裝
解壓下載的檔案,放到 /usr/bin/
rpm檔案安裝
yum install -y sqlite sqlite-devel
02、運行
sqlite3
Sqlite安裝教程