Why is the debian installer an exe file - linux

I recently downloaded the debian installer iso to use with virtualbox. For security reasons, I mounted it to ensure it was legit. I noticed a file labeled setup.exe. Why would a linux installer be a windows file, and how would the computer be able to run it?
I then decided to look throught the microsoft windows installer. It too used an exe file. How could it run the exe to install windows without windows instlled?

The Debian project has an installer for Microsoft Windows that provides a UI for installing GNU/Linux beginning on a MS Windows platform.
The Windows kernel can be loaded from disk and once it is loaded, like on install, it can start running a .exe file. For similar reasons Linux is an elf format binary. This is how a "Live" disk works, it loads the kernel and then loads up the entire OS including window manager from disk.

To your first question :
I bet you are running VirtualBox on a Windows client right? So there is nothing wrong with using a windows file :)

Related

How does my Windows computer running WSL2 know which OS kernel to run a program on?

How does my Windows computer that is running WSL2 know which OS kernel (Windows or Linux) to execute a program with? I know that WSL2 is essentially a lightweight VM but idk how to leverage this knowledge. I thought it might depend on whether or not the program was inside the WSL2 directory but when I moved a Windows executable (explorer.exe) into my WSL2's /home/username directory and executed it, it ran fine and opened File Explorer normally. Is it something about the executable file that lets the computer know which OS kernel (Windows or Linux) to run it with?
I am asking this because I'm wondering if it's ok to keep and work with Linux executables in my Windows directory ("/mnt/c/Users/myname/node projects").

How to open a VS Code IDE from Linux subsystem on Windows?

I'm running a Linux subsystem with an Ubuntu terminal inside Windows 10 - I wanted to make use of the functionalities of both operating systems without partitions or virtual machines.
In an Ubuntu terminal on Linux, I use the command 'code .' to open up the VS Code IDE but it doesn't seem to work when the terminal is part of a subsystem on Windows.
I can open up the IDE from Windows 10 and set my path into the Linux system but I remember reading some guidance that it's okay to save files from the Linux onto the Windows side but not vice versa.
Any solutions are much appreciated, thanks in advance!
If you wish to invoke windows binaries from WSL (Windows Subsystem for Linux) like for the example you want to run visual-studio-code, you can do so by setting your visual-code's installation directory into your %PATH% system variable and invoking it using this way
$ [application-name].exe notice the .exe is important.
And this interoperability is added in the Fall Creator Update of windows.
You can follow this documentation from Microsoft for more help.

Installing a .bundle file in Fedora linux

So I am using Ozone OS which is basically just fedora with a cool theme, and a lot less crap installed. I tried installing VMWare Horizon view client from here: https://my.vmware.com/web/vmware/details?downloadGroup=VIEWCLIENTS_LINUX_32&productId=421&rPId=7320
and then i renamed the file to vmware.bundle, when i make it runnable with:
chmod +x vmware.bundle
i ran the file using:
./vmware.bundle
this is what happens in my terminal
VMWare Horizon Client is an x86 application but you are trying to install it to an x64 Linux.
To run this installation, you may need to install 32-bit runtime libraries. Do you want to proceed? (yes/no)yes
Extracting VMware Installer...done.
but when i try going to the application menu, I can find VMware anywhere
There is really no such thing as ".bundle" files on Fedora. The only format for installable software on Fedora are RPM files.
All that this ".bundle" file appears to be, is the vendor's custom installation script, that's all. It's not any kind of a standard packaging format, of any kind.
You will be able to find a newly-installed application on your application menu only if the application correctly installed a .desktop file in the right location. If this installation script did not do so, you won't get anything in the application menu.
It is the application script's responsibility to install a .desktop file in order for the application to appear in the application menu.
try running /bin/vmware
that is the default install location

File-based installation of Node.js

I'm temporarily stuck on a Windows machine on which I have no administrator privileges. I would like to get node.js "installed" in a directory without using an installer, which requires elevation. On the node.js site, I don't see this distribution option.
Is anyone aware of a file-based (zip, self-extracting exe, etc) download that I can use to run node.js without using an installer on a Windows machine? Is there a way to run the installer without administrator elevation?
OK, it turns out that the EXE download for Windows is all that node.js needs to run. I had thought that that was an exe for doing an installation. Just running the downloaded .exe works.

Kdevelop in Windows XP

I received a src archive from a friend who develops Qt apps on Linux on Kdevelop IDE. Is it possible to load the Kdevelop project in Windows in some IDE ? Is there a Kdevelop port on Windows without Cygwin/Msys etc ? Are there any workarounds or I should I have to install Linux and take charge?
Update : I visited the page as mentioned in the below answer, but there's no Kdevelop package in the KdeWin installer . See here
KDevelop 4 will also be available on Windows (together with a lot of other KDE4 software). It is currently in beta, but you can download a Windows installer. The installer also lets you install other KDE4 software and should come with the QT development files you will need to develop QT applications.
AFAICT, there is no port to Windows of Kdevelop4 and Kdevelop3 was run with cygwin - which, IMHO, is not really a robust solution.
It would probably be easier, and better, to install a Linux distro in a virtual machine and go at it from there. If you don't need access to Windows, you could just install a Linux on a separate hardrive and/or partition.
Install linux on virtual machine such as vmware or virtual box.

Resources