[SOLVED] How do I install sqlite3 on Mageia 2?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] How do I install sqlite3 on Mageia 2?

Postby riclags » Feb 26th, '13, 18:40

I am going over a tutorial where there's a part to run:
Code: Select all
$ sqlite3 some.db < schema.sql

But when I run the command, I get error
Code: Select all
bash: sqlite3: command not found

I tried using urpmq -y sqlite3 but it isn't producing any viable candidates for the sqlite3 binary. I only have Core Release and Core Updates as my active media. I also did a minimal install of Mageia 2. I hope these details are enough to point me in the right direction on installing sqlite3. It was mentioned in the tutorial that it's installed along with Python; I have Python 2.7.3 installed but still I get the error above when I run the command.

Thanks.
Last edited by riclags on Feb 27th, '13, 02:35, edited 1 time in total.
riclags
 
Posts: 17
Joined: Aug 13th, '12, 02:49

Re: How do I install sqlite3 on Mageia 2?

Postby djennings » Feb 26th, '13, 20:06

Code: Select all
$ urpmf /usr/bin/sqlite3
sqlite3-tools:/usr/bin/sqlite3
                                                             
[derek@Derek ~]$ urpmq -i sqlite3-tools
Name        : sqlite3-tools
Version     : 3.7.14.1
Release     : 1.1.mga2
Group       : Databases
Size        : 53596                        Architecture: x86_64
Source RPM  : sqlite3-3.7.14.1-1.1.mga2.src.rpm
URL         : http://www.sqlite.org/
Summary     : Command line tools for managing the lib64sqlite3_0 library
Description :
SQLite is a C library that implements an embeddable SQL database
engine. Programs that link with the SQLite library can have SQL
database access without running a separate RDBMS process. The
distribution comes with a standalone command-line access program
(sqlite) that can be used to administer an SQLite database and
which serves as an example of how to use the SQLite library.

This package contains command line tools for managing the
lib64sqlite3_0 library.

User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: [SOLVED] How do I install sqlite3 on Mageia 2?

Postby riclags » Feb 27th, '13, 02:37

Thanks djennings. Solved.
riclags
 
Posts: 17
Joined: Aug 13th, '12, 02:49


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest