简体   繁体   English

在 ubuntu 18.04 上安装 Visual Studio

[英]install visual studio on ubuntu 18.04

I am trying to install visual studio on my Ubuntu machine , I tried to to install it using WINE but without any success , because it is need Microsoft .net framework 4.0 , and I already installed version 4.7 .我正在尝试在我的 Ubuntu 机器上安装 Visual Studio,我尝试使用 WINE 安装它但没有任何成功,因为它需要 Microsoft .net framework 4.0,而我已经安装了 4.7 版。 I removed 4.7 version and tried to install 4.0 using this commands我删除了 4.7 版本并尝试使用此命令安装 4.0

 sudo apt-get install winetricks
 winetricks dotnet40

it throw a lot of errors during the installation operation , but then it said .netframework installed successfully , the errors which I have like this它在安装操作过程中抛出了很多错误,但随后它说 .netframework 安装成功,我有这样的错误

$env WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks dotnet40 Using winetricks 20180815 - sha256sum: 29e664ec1e879271a33167bf367deaa188cbe803d44b540e692bd669c44a2804 with wine-3.0.3 (Ubuntu 3.0.3-2) and WINEARCH=win32 Executing w_do_call dotnet40 Executing load_dotnet40 ------------------------------------------------------ dotnet40 does not yet fully work or install on wine. $ ENV WINEARCH = win32的WINEPREFIX =〜/ .wine32 winetricks dotnet40使用winetricks 20180815 - sha256sum:29e664ec1e879271a33167bf367deaa188cbe803d44b540e692bd669c44a2804酒-3.0.3(Ubuntu的3.0.3-2)和WINEARCH = win32的执行w_do_call dotnet40执行load_dotnet40 ------- ----------------------------------------------- dotnet40 没有尚未完全工作或安装在 wine 上。 Caveat emptor.买者自负。 ------------------------------------------------------ Executing w_do_call remove_mono Executing load_remove_mono -------------------------------------------------- ---- 执行 w_do_call remove_mono 执行 load_remove_mono

------------------------------------------------------ Mono does not appear to be installed. -------------------------------------------------- ---- Mono 似乎没有安装。

------------------------------------------------------ Working around wine bug 34803 ------------------------------------------------------ reg: Sistem belirtilen kayıt anahtarını veya değeri bulamadı reg: Sistem belirtilen kayıt anahtarını veya değeri bulamadı reg: Sistem belirtilen kayıt anahtarını veya değeri bulamadı Executing rm -f /home/batuhan/.wine32/dosdevices/c:/windows/system32/mscoree.dll Executing w_do_call winxp Executing load_winxp Setting Windows version to winxp Executing wine regedit C:\\windows\\Temp_winxp\\set-winver.reg ------------------------------------------------------ Running /usr/bin/wineserver -w. -------------------------------------------------- ---- 解决 wine bug 34803 ----------------------------------------- ------------- 注册:系统 belirtilen kayıt anahtarını veya değeri bulamadı 注册:系统 belirtilen kayıt anahtarını veya değeri bulamadı 注册:系统 belirtilen kayıt anahtarını veyabatamu. wine32/dosdevices/c:/windows/system32/mscoree.dll 执行w_do_call winxp 执行load_winxp 将Windows 版本设置为winxp 执行wine regedit C:\\windows\\Temp_winxp\\set-winver.reg ----------- ------------------------------------- 运行 /usr/bin/wineserver -w。 This will hang until all wine processes in prefix=/home/batuhan/.wine32 terminate ------------------------------------------------------ Executing cd /home/batuhan/.cache/winetricks/dotnet40 0032:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.这将挂起,直到 prefix=/home/batuhan/.wine32 中的所有 wine 进程终止 -------------------------------- ---------------------- 执行 cd /home/batuhan/.cache/winetricks/dotnet40 0032:err:winediag:SECUR32_initNTLMSP ntlm_auth 未找到或已过时。 Make sure that ntlm_auth >= 3.0.25 is in your path.确保 ntlm_auth >= 3.0.25 在您的路径中。 Usually, you can find it in the winbind package of your distribution.通常,您可以在发行版的 winbind 包中找到它。 0035:err:mscoree:LoadLibraryShim error reading registry key for installroot 0035:err:mscoree:LoadLibraryShim error reading registry key for installroot 0035:err:mscoree:LoadLibraryShim error reading registry key for installroot 0035:err:mscoree:LoadLibraryShim error reading registry key for installroot 0035:err:mscoree:LoadLibraryShim error reading registry key for installroot 0035:err:mscoree:LoadLibraryShim error reading registry key for installroot 0035:err:mscoree:LoadLibraryShim error reading registry key for installroot 0035:err:mscoree:LoadLibraryShim error reading registry key for installroot 015f:err:ole:CoGetContextToken apartment not initialised 014f:err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d 0162:err:ole:StdMarshalImpl_UnmarshalInterface Apartment not initialized 0162:err:ole:CoUnmarshalInterface IMarshal::UnmarshalInterface failed, 0x800401f0 0175:err:ole:CoGetContextToken apartment not initialised 0164:err:ole:CoReleaseMarshalDa 0035:err:mscoree:LoadLibraryShim 读取 installroot 的注册表项时出错 0035:err:mscoree:LoadLibraryShim 读取 installroot 的注册表项时出错 0035:err:mscoree:LoadLibraryShim 读取 installroot 的注册表项时出错 0035:err:mscoree:LoadLibraryShim 读取注册表项时出错对于 installroot 0035:err:mscoree:LoadLibraryShim 读取 installroot 的注册表项时出错 0035:err:mscoree:LoadLibraryShim 读取 installroot 的注册表项时出错 0035:err:mscoree:LoadLibraryShim 读取 installroot 的注册表项时出错 0035:err:mscoree:LoadLibraryShim 读取注册表项时出错installroot 的注册表项 015f:err:ole:CoGetContextToken 公寓未初始化 014f:err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData 失败,错误 0x8001011d 0162:err:ole:StdMarshalImpl_UnmarshalInterface Apartment:6UnmarshalInterface:6UnmarshalInterface 未初始化 IMarshal::ReleaseMarshalData失败,0x800401f0 0175:err:ole:CoGetContextToken 单元未初始化 0164:err:ole:CoReleaseMarshalDa ta IMarshal::ReleaseMarshalData failed with error 0x8001011d 0186:err:ole:CoGetContextToken apartment not initialised 0179:err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x800101 ta IMarshal::ReleaseMarshalData 失败,错误 0x8001011d 0186:err:ole:CoGetContextToken 公寓未初始化 0179:err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData 失败,错误 0x800101

1d 1天

You can install ntlm_auth via python您可以通过 python 安装 ntlm_auth

sudo -H pip install ntlm-auth

This will place ntlm_auth in your path.这会将 ntlm_auth 放在您的路径中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM