.NET Windows.Forms on Linux with Mono. Written by Embarcadero USA on Sunday, 18 April 2004. Burn it down video. The end result of this is the production of winelib.exe.so. If you have done a standard install of Wine and Mono using. In this article you have learned how to compile and run a.NET application Windows.Forms application that runs unchanged on. Mono does not have every.NET 1.1 API implemented (see the Mono release notes for Mono 1.0) and when executing a binary from Windows that consumes an unimplemented API you might get an obscure message about tokens not being found. Then run it from mono. If not, you can use winetricks to install Mono or.Net in order to run it. For.Net you need to be running a 32bit Wine bottle, but for wine-mono or mono you can run it on 64bit or 32bit. I'm using the excellent password manager version 2.x on Windows to manage all my accounts and information. When I checked the Linux download page, I noticed that only KeePass 1.x was available for Linux which was a problem as the key file that I used could not be loaded in that version. The developer of KeePass suggested to use Mono to run KeePass 2.x and so my journey began to install Mono on Linux Mint. My first stop was the on the Mono website. It displays information for various Linux flavors including Ubuntu, Debian and derivatives. First thing to do was get the Mono Project GPG signing key and the package repository which has to be done from the Terminal interface. You can launch a Terminal window from the quick launch area or by opening menu first and selecting Terminal from it. Run the following commands one after the other: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo 'deb wheezy main'| sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update The next thing you need to do after running the commands above is to install the mono-complete package. Here is how you do that: • Open the Menu, search for Synaptic and open the Synaptic Package Manager afterwards. • Once it has been loaded, search for mono-complete. • You should get one result only. • Right-click on it and select mark for installation. • Once done, click on apply to run the installation on your system. • You will receive a prompt detailing all changes that the installation will make to the system and files in the process. Click apply to proceed with the installation. • If everything goes well, Mono should be installed in the end on your system. Since I wanted to run the Windows program KeePass 2.x on Linux Mint, I used it to test if Mono was working properly on the system. I downloaded and extracted the latest portable KeePass 2.x version from the official website and opened the folder afterwards on the system. A right-click inside the folder allowed me to open a terminal there. All that was left to do was run mono KeePass.exe to see if it works. What can I say, it did. Tip: One issue that I ran into when executing the command was that I typed only lower case characters which resulted in a not found error. I remembered that case was important on Linux and used uppercase characters where needed. Now that KeePass is running, I can try and get other Windows programs to run on Linux as well. I'm not sure how well that will work if at all, but I'll report my findings here on this site. Sure, speaking Perl there is always Tim Toady, but some are easier and more comfortable:) On Linux always check your distros Repo first, it should at least offer you KeyPass 2.25 (that’s what is in the official Ubuntu Repo for Trusty which is the mother distro of Mint, so I doubt that Mint offers you something older) it’s not the latest version but should be functional. Same for Mono, it should be available through official repos. If you want something newer search for a PPA, that one is linked on KeyPass download site under unofficial Packages for Ubuntu, but on Mint you can use about everything that works for Ubuntu. People always expect Linux ways to be complicated but often they are not. Yeah, KeePass2 (2.25 on Trusty, so Rebecca should have the same cause they use the same sources) is available via repo in Synaptic. Only the latest version of KeePass2 (2.8) needs to be installed via PPA. It will not include Mono but will install the required Mono dependencies if they are not present on your system already. Linux-verse language explanation: Trusty: Ubuntu 14.04 LTS “Trusty Tahr” Rebecca: Linux Mint 17.1 “Rebecca” (based on Trusty) Synaptic: a Package Manager Mono: that’s.NET in Open Source and platform-independent •. Sorry, no keypass in SW manager or synaptic. I’m running Linux Mint Cinnamon 17 32-bit. I have to install mono because irfanview won’t install under wine (can’t find mfc42.dll and one other error which I forget). Even if I copy a good version of the.dll into the wine /windows/system32 folder, I still get the not found error. But that’s another story. We’ll see what happens with mono. I run several windoze apps (all legal copies): Word 97 (because I have a ton of macros that I don’t wish to re-write in LibreOffice’s experimental macro language), heidisql (which is a tad easier and more convenient than phpmyadmin), and of course, irfanview. I also run Word97 in VirtualBox, where I also run the other winapps I need. It’s just a hassle to keep switching in and out of the virtual system. Martin, lots of devs will give you the repositories to install from. In terminal, you’ll typically use: sudo add-apt-repository then sudo apt-get update then sudo apt-get install. Repositories also serve the function of feeding your updater program updates. Another way to install, besides the Synaptic interface, is an app called App Grid. I use it a lot. It offers a lot of programs to install. Here’s a list of maintenance programs to help you clean your kernel – I usually run them before I shut down or as needed): Bleachbit (like CCleaner) Ubuntu Tweak (especially janitor mode – After uninstalling with sudo apt-get remove, it basically takes care of following up with sudo apt-get purge/autoremove/autoclean. Winidows Killer (part of Cairo Dock – IMHO, the best dock) – an icon on the dock to click on to then click on a frozen app window. Serves the purpose of typing “xkill” in the start –> search box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |