linux-mint

SQL Server on Linux Mint

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 06:35:15
问题 I'm trying to install SQL Server vNext on Linux Mint. when i run setup, I get the following error. any help would be highly appreciated. Failed to issue method call: No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/systemd1/unit/mssql_2dserver_2eservice 回答1: Installing SQL Server on Linux Ubuntu 16.04 or Linux mint 18: You should install Microsoft odbc driver on your Linux, when you want to remote to a SQL server on any other operation system or work with

How do I remove debian packages using python apt API

旧城冷巷雨未停 提交于 2019-12-24 01:27:16
问题 I'm was trying this on Linux mint. I have been researching on how to remove packages using the python-apt API. The piece of code below was all I could come up with but nothing happens when I run it. I am trying to remove a single package right now but later I would like to remove a list of packages from a text file. I tried to use the answer found in this post and re-engineered it for removing but my logic does not work. Please give me some input. #!/usr/bin/env python # aptuninnstall.py

Accidentally installed python 3.5 vs. python3.5 : Is this bad?

妖精的绣舞 提交于 2019-12-23 13:08:41
问题 I run Linux Mint with Python 3.4.x pre-installed. I'm starting a new project and wanted to take advantage of 3.5ish stuff so I decided I would install 3.5 and create my new virtual environment pointing to it. So, I by accident typed sudo apt-get install python 3.5 Which I've since learned is different from sudo apt-get install python3.5. I know that is different because the later requires adding a new repository wherein the former I was able to do before I added the deadsnakes repo. So, I

Firebase function Cannot find module 'cycle'

徘徊边缘 提交于 2019-12-23 10:57:49
问题 When I try to run any firebase command I get this error. internal/modules/cjs/loader.js:596 throw err; ^ Error: Cannot find module 'cycle' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15) at Function.Module._load (internal/modules/cjs/loader.js:520:25) at Module.require (internal/modules/cjs/loader.js:650:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/usr/local/lib/node_modules/firebase- tools/node_modules/winston/lib/winston/common

Firebase function Cannot find module 'cycle'

笑着哭i 提交于 2019-12-23 10:57:01
问题 When I try to run any firebase command I get this error. internal/modules/cjs/loader.js:596 throw err; ^ Error: Cannot find module 'cycle' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15) at Function.Module._load (internal/modules/cjs/loader.js:520:25) at Module.require (internal/modules/cjs/loader.js:650:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/usr/local/lib/node_modules/firebase- tools/node_modules/winston/lib/winston/common

How to execute my C program line by line in geany as in turbo C

时间秒杀一切 提交于 2019-12-23 01:19:43
问题 I have switched to Linux Mint from Windows 7 and now I am using Geany to write C programs in it. As I mentioned in the question that I want to execute my program line by line in Geany. During execution is there a way where I can see the value of variables in Geany?. I am using Geany because it's light weight and it has an integrated terminal, compiler, scribble, etc. which is very simple to use... 回答1: Install Geany Debugger Plugin and then you can easily execute your program line by line.

lapack/blas/openblas proper installation from source - replace system libraries with new ones

非 Y 不嫁゛ 提交于 2019-12-22 07:59:57
问题 I wanted to install BLAS, CBLAS, LAPACK and OpenBLAS libraries from source using available packages you can download here openblas and lapack, blas/cblas. Firstly I removed my system blas/cblas and lapack libraries, but unfortunately atlas library couldn't be uninstalled (I can either have both blas and lapack or atlas - can't remove them all). I didn't bother and started compiling downloaded libraries cause I thought that after installation I would be able to remove atlas. Building process

Can't run c/c++ codes in code::blocks 13.12 on linuxmint 17: Status 255

我们两清 提交于 2019-12-22 05:22:06
问题 I am not able to run any C/C++ programs in code::blocks. Could anyone please suggest why this is happening? Currently I have the gnu c and g++ compilers installed on the system. The error message on building and running this simple c code: #include<stdio.h> int main(){ printf("55"); return 0; } is: Checking for existence: /home/user1/Desktop/progs/a Executing: xterm -T '/home/user1/Desktop/progs/a' -e /usr/bin/cb_console_runner "/home/user1/Desktop/progs/a" (in /home/user1/Desktop/progs)

How to restart Postgresql

坚强是说给别人听的谎言 提交于 2019-12-20 08:23:37
问题 I have Postgresql 9.3 and 9.4 installed on my Linux Mint machine. How can I restart postgresql 9.4? A method to restart both versions together is also fine. 回答1: Try this as root (maybe you can use sudo or su ): /etc/init.d/postgresql restart Without any argument the script also gives you a hint on how to restart a specific version [Uqbar@Feynman ~] /etc/init.d/postgresql Usage: /etc/init.d/postgresql {start|stop|restart|reload|force-reload|status} [version ...] Similarly, in case you have it

Ubuntu 16.04 R Installation: configure: gdal-config not found or not executable

岁酱吖の 提交于 2019-12-19 06:58:23
问题 System info: Ubuntu 16.04 64 bit I'm trying to install rgdal_1.2-16.tar.gz for a research project. I looked here and did sudo apt-get install libgdal1i R CMD INSTALL rgdal_1.2-16.tar.gz * installing to library ‘/usr/local/lib/R/site-library’ * installing *source* package ‘rgdal’ ... ** package ‘rgdal’ successfully unpacked and MD5 sums checked configure: CC: gcc -std=gnu99 configure: CXX: g++ configure: rgdal: 1.2-16 checking for /usr/bin/svnversion... no configure: svn revision: 701 checking