How to install Sqlite3 in Raspberry Pi.
I tried to do it with :
sudo apt-get install sqlite3
but getting following error :
Could not resolve 'mirrordirector.resbian.org'
unable to fetch some archive, may be run apt-get update or try with --fix-missing?
Related
I'm trying to install phpliteadmin on a raspberry.
I installed sqlite3, apache and php
sudo apt-get install sqlite3 -y
sudo apt-get install apache2 -y
sudo apt-get install php libapache2-mod-php -y
when i know try to start phpliteadmin in an empty directory and try to create a database i get the following error:
PDO: installed
PDO SQLite Driver: not installed
SQLite3: not installed
SQLiteDatabase: not installed
when i install the pdo sqlite driver the errot goes away but i want to use the other databse php extensions, because with the PDO SQLite Driver i cannot read database with WAL set.
why do i get the error SQLite3: not installed when it is installed. is there anything missing?
You need to install the sqlite-extension of PHP. I guess on Raspbian, it should be:
sudo apt-get install php-sqlite3
More details can be found in the phpLiteAdmin wiki: https://bitbucket.org/phpliteadmin/public/wiki/Installation
When I am executing pip install shadowsocks on my vps for install the shadowsocks, it tells me invalid syntax. I prepare to install shadowsocks on my vps this morning, I am running yum update -y and yum install python-setuptools && easy_install pip in turns.
After that I am executing pip install shadowsocks and got a hint invalid syntax. I am reading the hint seriously, but I can't read it very well.
I do not understand what the hint want to tell me.
what is you do something like this
sudo apt-get update && sudo apt-get install python-pip
I want to to install bibutils using R on my pc. With unix/ubuntu, I can use "sudo apt-get install bibutils" which works great. I tried using R shell to do the same:
shell('sudo apt-get install bibutils')
and got the following errors:
'sudo' is not recognized as an internal or external command,
operable program or batch file.
Warning messages:
1: running command 'C:\WINDOWS\system32\cmd.exe /c sudo apt-get install
bibutils' had status 1
2: In shell("sudo apt-get install bibutils") :
'sudo apt-get install bibutils' execution failed with error code 1
Is there a better way to do this? Thanks.
I try to follow the guide bellow to install .net core on my raspberry pi 3:
https://www.microsoft.com/net/core#debian
The script told me to install below:
dotnet_install: Error: Unable to locate libunwind. Install libunwind to continue
dotnet_install: Error: Unable to locate gettext. Install gettext to continue
i install them using apt-get install, and everything fine:
sudo apt-get install libunwind-dev
sudo apt-get install gettext
but no luck, when i run below :
sudo curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 1.0.0-preview1-002702 --install-dir ~/dotnet
i got:
dotnet_install: Error: Download failed
Are there any missing?
Please use last valid URL:
curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview1/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 1.0.0-preview1-002702 --install-dir ~/dotnet
And it downloads and installs successfully on latest Raspbian on Raspberry Pi 2 (I think there should be no problem with Raspberry Pi 3).
However, after successful install, there is a error:
bash: dotnet: cannot execute binary file: Exec format error
I believe this is because of ARM architecture, because currently only amd64 (x64) is supported.
While trying to install the Clockworkmod Tether app on Linux, I get the following error;
adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
You need to install the 32-bit version of the ncurses library.
sudo apt-get update
sudo apt-get install lib32ncurses5