I have created a project in OpenSuse and I'm trying to deploy it in CentOs using a makefile. In the dev environment, I used zypper to install all the packages and its dependencies. However, Centos uses a different high level package manager like Yum for package management. Is there a package manager that is common for both the distributions?
Related
I am using a tool (tagui) to automate the web. The dependency for this are the source file which actually contains the script for the automation, a jdk package, php and python.
Trying to make this as a debian package so that it can be used as an executable file and shared among everyone.
I'm building a WxWidget application targetting both Debian 64-bits and Debian armhf (Raspberry). I'm using eclipse as IDE running in a Debian 9.4 Virtualbox. The VB Host is Windows10.
The eclipse workspace is organized as tree projects :
one project set up for Debian 64-bits architecture
one project set up for Debian armhf architecture (using multiarch)
one project with common source files.
In both the 64-bits as the armhf projects, the source code is linked in from the common project.
I installed WxWidgets for 64-bits with the following command:
sudo apt install libwxgtk3.0-dev
Now, the 64-bits project compiles without errors and the executable works fine under Debian64.
Next, I like to cross-compile for armhf, so
sudo apt install libwxgtk3.0-dev:armhf
Now, the armhf project compiles without errors and the executable works fine on the Raspberry Pi.
However, the compilation of the 64-bit project is broken...
Apparently, the platform specific setting for WxWidgets are defined/declared in a file called
setup.h
this file is located at
/usr/lib/PLATFORM/wx/include/gtk2-unicode-3.0/wx/
where PLATFORM is either x86_64-linux-gnu for Debian64 or arm-linux-gnueabihf for Debian armhf.
My observation is that installing one version of the development package installs the correct setup.h, but also removes the other...
So, how do I setup WxWidgets for multi-arch compilation for both platforms?
Thanks in advance,
Paul
You either need to install wxWidgets from the armhf repository or build it yourself with the cross-compiler for that architecture.
I hope that when you try to install from the different repository the installation will happen in a different directory as well. If not you should give the apt-get the directory where you want the script to install the package.
In principle, this is supposed to work using --host option of wx-config, i.e. the idea is to use wx-config --host=x86_64 --cxxflags --libs for one platform and wx-config --host=armhf for the other one. However I don't know if this works with Debian packages.
If you can't make it work with them, you could build your own libraries in different build directories, say ~/build/wx/x86_64-gtk2 and ~/build/wx/armhf-gtk2. Then you could just use ~/build/wx/$arch-gtk2/wx-config without installing the libraries at all.
Is there a way to install NuGet Packages System wide, or do I have to install every package for every project? I am working in a restricted Environment and Need to ask the Support to install Software. Thank you in advance.
What is the most clean Eclpse distro to use for python development?
All distro comes with Java plugin and other stuffs.
I just want a clean Eclipse distro + pydev.
For a pre-configured environment, see http://www.liclipse.com (note it's commercial -- and has other niceties).
Aside from it, the option is getting the Platform Runtime Binary and follow the instructions from http://pydev.org/download.html and http://pydev.org/manual_101_root.html to install PyDev.
How to setup MySqlDb with PyDev (eclipse plug-in). I tried finding but no success.
Can anyone provide any tutorial kind of links for the same.
Using Ubuntu
My suggested approach would be
Create virtualenv where you install all packages for your project
Install MySQLdb in this virtual environment (or even better, use PyMySQL drop in replacement which has better installation instructions and no native dependencies making it easier to install)
In Eclipse project settings, point it to use Python interpreter and PYTHONPATH from virtualenv