Install Go third-party package Go-sqlite3

Source: Internet
Author: User
Tags install go
This is a creation in Article, where the information may have evolved or changed.

Mac OS X
1. Install via homebrewn:

Brew Install Pkgconfigbrew Install Sqlite3

2. Install via port:

sudo port pkgconfigsudo Port install Sqlite3

3. If you encounter Pkg_config_path related problems after installation, you can refer to: Mac OS X Lion installation sqlite3 problem.

Ubuntu
Installation under Ubuntu is always simple enough to explode, execute the following command:

sudo apt-get install pkg-configsudo apt-get install sqlite3  sudo apt-get install Libsqlite3-dev

Windows
Installation under Windows is also very simple, just go to the SQLite3 download page, download the pre-compiled package DLL (SQLITE-DLL-WIN32-X86-XXX.ZIP) from Windows, and copy the DLL file inside to System32 Directory.

In addition, if you have installed the TMD version of the GCC compiler (http://tdm-gcc.tdragon.net/), then you will not have to install and can go directly to the next step!

finally , you can install the Go-sqlite3 package by going to the go get command:

Go get github.com/mattn/go-sqlite3


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.