I was trying to install FlatPak through apt-get, then I realised that it is not in the packages database, so as suggested in their website (http://flatpak.org/getting/) I added the repository:
sudo add-apt-repository ppa:alexlarsson/flatpak
however, the command generated an error and I don't know what to do next:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1258, in <module>
codename = config_parser.get("general", "base_codename")
File "/usr/lib/python2.7/ConfigParser.py", line 330, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'general'
The purpose of this was to upgrade MonoDevelop, because I've version 5.1, and now version 6.1 is available, but it seems that new versions won't be available through the repo anymore. This is the reason I was trying to download from their website, but it uses a FlatPak package
I would appreciate any suggestion or tip of the next step to follow.
Thank you very much.
To upgrade MonoDevelop from 5.1, I to had problems with FlatPak.
My problem was that FlatPak is not compatible with the linux I was using at the time, Ubuntu 14.04.
For the MonoDevelop upgrade I end up forgetting about FlatPak, downloaded the MonoDevelop source and compiled it myself.
http://www.monodevelop.com/developers/building-monodevelop/
I am now running MonoDevelop 7.2
Related
I recently installed the Scilab 6.1.0 on my Ubuntu 18.04 virtual machine on my windows pc. I am able to use the editor but cannot seem to load the Fossee Optimisation Toolbox. It installs successfully but shows the following error when restarting and trying to load the toolbox. I have already tried reinstalling Scilab and ubuntu. Can someone tell me how to resolve this?
atomsLoad: An error occurred while loading 'FOT-0.4':
exec: error on line #61: "link: The shared archive was not loaded: libquadmath.so.0: cannot open shared object file: No such file or directory"1
FOT is built using gfortran, and the missing library is one of its libraries. Scilab uses also gfortran and is including the corresponding libraries. But there is likely a version number mismatch, i.e. FOT has been built with a more recent version of gfortran. Installing a system wide gfortran with sudo apt-get install gfortran will probably install the version you need.
I am using Intellij IDEA 2017.2.5 on Linux Mint 18.2 and trying to add new openjdk-9 SDK but IDEA does not accept openjdk 9 as valid JDK:
I have installed all of my SDKs using apt-get from ppa standard repositories.
This is my update-alternatives --config java/javac output:
Although Intellij declared it would support JDK 9 here, but it seems it is not yet fully compatible with at least opensdk-9.
Maybe refactoring SDK directory and removing 'jre' folder misleads the IDEA to find the SDK 9 home folder.
Any idea why Intellij IDEA claims 'The selected directory is not a valid home for JDK' ?
“ Ubuntu PPA for OpenJDK” currently has very old build of openjdk-9(9~b115-1ubuntu1).
So the IDEA does not recognize it as a valid SDK.
I removed current installed version:
sudo apt-get remove '^openjdk-9.*'
Then I have downloaded newer .deb build(9~b181) files including jre,jre-headless,... from launchpad build archive.
sudo dpkg -i openjdk-9-jre-headless_9_b181-4_amd64.deb
openjdk-9-jre_9_b181-4_amd64.deb
openjdk-9-jdk-headless_9_b181-4_amd64.deb
openjdk-9-jdk_9_b181-4_amd64.deb
Just Execute the above command at a single line, line breaks are for better readability.
Ignore any error complaining about:
"Package libpng16-16 is not installed."
Next execute the following:
sudo apt-get install -f
Now after installing this build of openjdk-9 the IDEA is happy with SDK home.
Thanks #y.bedrov for his useful comment.
Update:
However this solution enables you to declare openjdk-9 in the mentioned IDEA version(2017-2) but you are not able to compile any class within the IDEA itself.
You can only compile your application with elder jdk and run it with openjdk-9. There is an other issue which indicates this here.
In the newer IDEA versions(I have tested 2017.3) this build of openjdk is not allowed to be used as new SDK any more, see this issue.
The short reason is an issue in Debian package which contains incorrectly compiled lib/jrt-fs.jar file.
See this Answer for more information
I am updating an old linux (RHEL 2.6.9) scons (v0.96) to the current v2.3
Frankly scons has been working quite well - just trying to get rid of some scons warnings that have resulted from changes to my Scons files as I've upgraded other platforms to v2.3
First of all, the download scons-2.3.0-1.noarch.rpm resulted in a "Package Not Found" (python) alert. Python is certainly present (albeit old as well - v2.3.4)
I then downloaded scons-2.3.0.zip - and (as root) executed 'python setup.py install'. That proceeded to completion without any errors. Me thinks.
But, alas, in a Terminal window, I type:
$scons -v
Traceback (most recent call last):
File "/usr/bin/scons", line 192, in ?
SCons.Script.main()
AttributeError: 'module' object has no attribute 'main'
Duh. Certainly my old reliable scons is broken :(
Comments? Suggestions?
-harry
BTW, I am not a python expert at all; have been able to support this scons build simply by example and minimal changes - which is to the credit of this tool!
Indeed python 2.3 was too old (v2.4 is the minimum for scone v2.3).
I installed python 2.7.6 (see On linux SUSE or RedHat, how do I load Python 2.7)
And, after updating $PATH appropriately (see above) and linking /usr/local/bin/python to /usr/local/bin/python2.7, scons was one again working!
I want to add Doxygen plugin to QtCreator.
I am using QtCreator 2.5.2 in ubuntu 12.10 and the latest Doxygen version for QT is 2.4.0.
I've changed the doxygen.pluginspec file to get rid of version error.
But now I've got another error:
can not load library libdoxygen.so (libQtconcurrent.so can not open shared object file:No such file or directory)
Any suggestion would be appreciated.
I hope you are no longer stuck, but if not, I will still try to help.
Yes, the quick install binaries are available only for QtCreator 2.4, but the plugin stays easy to install without it : you have to download the sources and build them yourself, as written in the wiki.
Moreover, you have to build it with the same version of Qt4 as the one that was used for build your QtCreator (have a look here)
It became compatible with QtCreator 2.7 and Qt5 at the end of March, and I succeeded in installing in in QtCreator2.8-beta.
If you have any other question, I guess it would be better to ask them in the plugin forum where developpers always answer to people in need.
Hope this helps (you and other people in need).
You can install Doxywizard wich provides an user interface to use Doxygen.
I'm not shure I'm using fedora to install I used.
yum install doxygen-doxywizard.x86_64.
For Ubuntu it should be if the package name is the same.
apt-get install doxygen-doxywizard.x86_64
(as root)
Here's the error msg goes when i try to run the IBM installation manager:
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/opt/IBM/InstallationManager/eclipse/configuration/org.eclipse.osgi/bundles/447/1/.cp/libswt-pi-gtk-3659.so (libXtst.so.6: cannot open shared object file: No such file or directory)
swt-pi-gtk (Not found in java.library.path)
/tmp/swtlib-32/libswt-pi-gtk-3659.so (libXtst.so.6: cannot open shared object file: No such file or directory)
/tmp/swtlib-32/libswt-pi-gtk.so (/tmp/swtlib-32/lib/libswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
However, those files does exist. I also already have SWT lib installed. Any one have experience on this issue before?
IBM Installation Manager can only run if 32bit GTK components installed.
Here are the packages I install on Redhat 64bit in order to run IBM Installation Manager:
Install required packages for IBM Installation Manager UI on Redhat x64
Should be similar packages in Fedora.
I don't remember about Installation Manager but for WAS installation launching setup.jar itself did help:
java -jar setup.jar
I had this issue when tried to install CM on Linux Fedora 17 x86_64 bits and this command solved my issue
yum install gtk2.i686 gtk2-engines.i686 PackageKit-gtk-module.i686 PackageKit-gtk-module.x86_64 libcanberra-gtk2.x86_64 libcanberra-gtk2.i686
After execute it i can run interactive installation.
This was helpful for steering me in the right direction for solving the problem on rhel 6.5 on IBM power. i installed the equivalent packages using the .ppc instead of .ppc64 files (since the installer is PPC) and then i had to add these 2 lines at the bottom of the install.ini according to ibm support article swg21688528 as follows:
-Dorg.eclipse.swt.internal.gtk.useCairo=false
-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
Parke