The embedded database SQLite is widely applied in the data management of embedded environment such as mobile devices, industrial control, information appliance etc., for its advantages of stability and reliability, fast and high efficiency, portability and so on. This paper analyses the features, architecture and development technology of SQLite, gives a detailed porting process from SQLite to ARM-Linux platform, and discusses concrete application of SQLite in embedded system through a development case about the home gateway based on ARM-Linux.