以上就是给各位分享saturneinstallationonUbuntu,同时本文还将给你拓展AndroidStudio模拟器出错,提示ApplicationInstallationFailed,In
以上就是给各位分享saturne installation on Ubuntu,同时本文还将给你拓展Android Studio模拟器出错,提示Application Installation Failed, Installation failed with message Failed to...、Android 安装失败 Installation error code: -110、anjuta C/C++ IDE Ubuntu Installation Method、apt-get update 失败 ubuntu:Tempory failure resolving 'cn.archive.ubuntu.com ubuntu等相关知识,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!
本文目录一览:- saturne installation on Ubuntu
- Android Studio模拟器出错,提示Application Installation Failed, Installation failed with message Failed to...
- Android 安装失败 Installation error code: -110
- anjuta C/C++ IDE Ubuntu Installation Method
- apt-get update 失败 ubuntu:Tempory failure resolving 'cn.archive.ubuntu.com ubuntu
saturne installation on Ubuntu
saturne Installation on Ubuntu 16.04
Table of Contents
- 1. installation guide on Ubuntu 16.04
1 installation guide on Ubuntu 16.04
- Install pre-packages before running
install_saturne.py
- Zlib (optional,not installed in this case)
- BLAS (optional,not installed in this case)
- Python
-
PyQt (optional,required for the GUI)
sudo apt-get install python-pyqt5
sudo apt-get install python3-pyqt5
pyqt5 reference guide
- C,C++,and Fortran compilers
- on Ubuntu OS,type in:
sudo apt install gcc
sudo apt install gfortran
- on Ubuntu OS,type in:
- MPI (optional)
- compiling Create a directory named
saturne_build
runinstall_saturne.py
mkdir /home/kaiming/Documents/Code-saturne/saturne_build cd /home/kaiming/Documents/Code-saturne/code_saturne_5_build /home/kaiming/Documents/Code-saturne/code_saturne_5/install_saturne.py
- Launch the package
code_saturne
from a terminal Two methods are available- 4
-
1 of
code_saturne
,i.e./home/kaiming/Code_Saturne/5.0.9/code_saturne-5.0.9/arch/Linux_x86_64/bin
-
from: https://askubuntu.com/questions/1414/how-to-create-a-permanent-alias a. define a alias named
code_saturne
in a file,.bash_aliases
>> vi .bashaliases
Then define a alias as below
>>cspath=/home/kaiming/CodeSaturne/5.0.9/codesaturne-5.0.9/arch/Linuxx8664/bin >> alias codesaturne="$cspath/codesaturne"
c. To load .bash_aliases
- add the following commands in the
~/.bashrc
if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi
then source ~/.bashrc
>> source ~/.bashrc
- http://www.linfo.org/path_env_var.html
- lauch
code_saturne
in any terminal >> codesaturne
to launch the GUI of code saturne
>> codesaturne gui
The documentation should then be available through the commands:
>> codesaturne info -g refcard #reference card
>> codesaturne info -g user
Author: kaiming
Created: 2019-03-31 Sun 12:33
Emacs 24.5.1 (Org mode 8.2.10)
Validate
Android Studio模拟器出错,提示Application Installation Failed, Installation failed with message Failed to...
多次运行模拟机总会出现下面的错误,试了很多方法也是不行,什么操作菜单Build->Close project之类的。
错误翻译,了解了是什么错误再找怎么解决吧,我用的是Android Studio的模拟机,所以直接按下面操作就行了,如果用的是手机之类的再搜索其它办法吧。
Application Installation Failed
Installation failed with message Failed to establish session.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
=========
应用程序安装失败
安装失败,消息未能建立会话。
如果存在apk的现有版本,则可以通过卸载该版本来解决此问题,然后重新安装。
警告:卸载将删除应用程序数据!
要卸载现有应用程序吗?
解决方法:在菜单“Tools->AVD Manager,在打开AVD界面用的模拟器后面点击”向下三角“,然后点击”Wipe Data"清除数据,然后就可以用了。
Android 安装失败 Installation error code: -110
在系统开发过程中,开发的 app 管理器,发现怎么安装都是失败。
详细的查看了 log 发现。
I/ActivityManager( 899): START {dat=file:///mnt/sdcard/download_cache/1383894436201311081507168927.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)} from pid 1842
W/ActivityManager( 899): Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService }: not found
E/PackageManager( 899): Failed to bind to media container service
D/dalvikvm( 899): GC_EXPLICIT freed 144K, 57% free 3562K/8195K, paused 2ms+4ms
I/System.out( 1842): ------------handleMessage executing
D/InstallAppProgress( 1842): Installation error code: -110
I/System.out( 1076): ime get the edittext action start
I/ActivityManager( 899): Displayed com.android.packageinstaller/.InstallAppProgress: +145ms
应用安装器,始终不能完成安装。一直报 Installation error code: -110 的错误。
经常查看 log 发现时缺少 DefaultContainerService.apk。导致失败,放一个原生的 apk 进去,就可以立马安装。
版权声明:本文为博主原创文章,未经博主允许不得转载。
anjuta C/C++ IDE Ubuntu Installation Method
sudo apt-get build-dep anjuta # get anjuta build env
download anjuta source code: 点击打开链接
./configure
make
sudo make install
原文链接: http://blog.csdn.net/tody_guo/article/details/7450487
apt-get update 失败 ubuntu:Tempory failure resolving 'cn.archive.ubuntu.com ubuntu
当运行apt-get update后出现如下错误时:E: Some index files Failed to download,they have been ignored,or old ones used instead.
可以将目录下/var/lib/apt/lists/partial/所有的文件清掉,再次运行apt-get update即可!自带源在大陆不好。
出现以下错误:
ubuntu:Tempory failure resolving ''cn.archive.ubuntu.com ubuntu
1,重启生效:
sudovi/etc/resolvconf/resolv.conf.d/base(这个文件默认是空的)
在里面插入:
nameserver8.8.8.8
nameserver8.8.4.4
如果有多个DNS就一行一个
修改好保存,然后执行
sudoresolvconf-u
再看/etc/resolv.conf,最下面就多了2行:
cat/etc/resolv.conf
#Dynamicresolv.conf(5)fileforglibcresolver(3)generatedbyresolvconf(8)
#DONOTEDITTHISFILEBYHAND--YOURCHANGESWILLBEOVERWRITTEN
可以看到我们的设置已经加上了,然后再ping一个域名,当时就可以解析了,无需重启。
2,重启失效:
配置文件地址 /etc/resolv.conf
使用编辑器打开
改为如下内容:
search localdomain
nameserver 202.96.128.86 希望修改成的DNS
nameserver 202.96.128.166 备用DNS
重启网络:sudo /etc/init.d/networking restart。即可
今天的关于saturne installation on Ubuntu的分享已经结束,谢谢您的关注,如果想了解更多关于Android Studio模拟器出错,提示Application Installation Failed, Installation failed with message Failed to...、Android 安装失败 Installation error code: -110、anjuta C/C++ IDE Ubuntu Installation Method、apt-get update 失败 ubuntu:Tempory failure resolving 'cn.archive.ubuntu.com ubuntu的相关知识,请在本站进行查询。
本文标签: