How Sqlite3 version to update the latest version? - sqlite

OS:Mac OS X 10.7.4
Now Sqlite3 version is 3.7.7 2011-06-25,I want it to update to version 3.7.13 by using terminal .
How can realize it?

Related

Compile sqlite3-devel 3.35.4 on CentOS 7

I am trying to upgrade my sqlite3-devel to 3.35.4. I can download and install the sqlite binary for the standard sqlite3 program but I cannot find a way to get the development version of sqlite3 version 3.35.4.
I need to update Proj to Proj8 which requires sqlite3 => 3.11
CentOS repos only support sqlite3 3.7.17.
How can I get sqlite3 3.35.4 "dev" or "devel" installed on CentOS 7?

Python only mysql.connector replacement with compatible api for mariaDB

I'm trying out this command, but it fails miserably:
python: MariaDB Connector/Python requires MariaDB Connector/C >= 3.1.3, found version 3.0.3 on ubuntu 18.04
Complete output from command python setup.py egg_info:
MariaDB Connector/Python requires MariaDB Connector/C >= 3.1.3, found version 3.0.3
is there a non c version of mysql.connector compatible with the latest mariadb?
the problem was I was connecting to one db with a user which was not authorized to do the thing on the other db. the error message did not include the DB name.
double check the db name is correct on the query itself.

How to uninstall R that was self-compiled on OS X?

I installed a pre-compiled version of R-3.3.3 on my computer and also used ./configure and make to install a R-3.2.3. I found out that my RStudio is using 3.3.3, and now I want to delete 3.2.3. How can I do it?

Loading rJava on Mac OS High Sierra

I am trying to install rJava package for running the XLConnect package.
Here are my system details;
R studio:Version 1.0.153
Mac OS High Sierra Version 10.13.1 (17B1003)
R version: 3.4.2
jdk-9.0.1
however, i get the following error:
I have already followed the following threads on this topic but they don't work for me:
trouble installing and loading rJava on mac El Capitan
rJava does not run on macOS Sierra
rJava load error in RStudio/R after "upgrading" to OSX Yosemite
A push in the right direction will be greatly appreciated !!
I used the procedure at the following website:
https://github.com/MTFA/CohortEx/wiki/Run-rJava-with-RStudio-under-OSX-10.10,-10.11-(El-Capitan)-or-10.12-(Sierra)
The main steps are:
Install Apple Java 6
Install the newest Java from Oracle
Fix JAVA_HOME to point to the new version. Terminal command: sudo R CMD javareconf
Install rJava from source. Terminal command: unset JAVA_HOME; R --quiet -e 'install.packages("rJava", type="source", repos="http://cran.us.r-project.org")'
My environment is
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (64-bit)
macOS High Sierra 10.13.2
I encountered this problem today and spent whole day trying to fix it. Luckily I found the solution at last. It works for me.
sudo ln -s $(/usr/libexec/java_home)/jre/lib/server/libjvm.dylib /usr/local/lib
Note:
If the get ln: /usr/local/lib/libjvm.dylib: File exists
in terminal. Then you should delete this file and run the command above again.
This worked for me on an M1 Mac:
Download jdk-19_macos-x64_bin.tar.gz from Java
Unzip the file and move it to /Library/Java/JavaVirtualMachines/ (may need to sudo su first)
Set export JAVA_HOME='/Library/Java/JavaVirtualMachines/jdk-19_macos-x64_bin/Contents/Home'
Run R CMD javareconf
#Kayle Sawyer's answer works almost perfectly, but you might need to reinstall command line tools first. Easiest way is to run the following in Terminal:
xcode-select --install
If you get an error saying command line tools are already installed, you can reinstall the package with this:
cd /Library/Developer/CommandLineTools/Packages/
open macOS_SDK_headers_for_macOS_10.14.pkg
You might need to update the second command based on your OS version.
Answers from https://github.com/frida/frida/issues/338

How to update sqlite3 in CentOS 6.6

My CentOS 6.6 has sqlite3 3.6.20 installed, and I tried to update
by
yum update sqlite
but it shows 'No Package marked for update'
How can I install/update 3.7.7+ for using shared memory between instances?
Yum can only find newer versions of packages that are available in the yum repositories configured for the machine. If using the stock CentOS repository, SQLite 3.6.20 would be the latest.
You would need to either add a repository with a more recent version, find and download the new version of the software or download the source and compile/install.
From a quick Google search it does appear there are RPMs for CentOS 6 and SQLite 3.7.17.

Resources