Install Inferno on linux as the host Program

Source: Internet
Author: User
Article Title: Install the Inferno system as the host Program on linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

The following describes how to run Inferno on Linux as the host system. First, we need to compile
For source code preparation, we need a Linux-installed machine and the source code of Inferno (which can be hosted by Google projects ).
Get the http://code.google.com/p/inferno-os/). There is also an Inferno which is actually an X program in
In UNIX, We need to install and develop necessary libraries for X11 in the system! Run the previous command in ubuntu10.04 to solve sudo apt-
Get install libxext-dev libxpm-dev x11proto-xext-dev
Decompress the source code to a folder. Here I decompress it to/home/bill/inferno-OS.
Open the decompressed folder, find the mkconfig file, open it in a text editor, and modify the three files
Location. Change ROOT =/usr/inferno to ROOT =/home/bill/inferno-OS.
ROOT indicates the absolute position of inferno-OS after decompression. Then modify SYSHOST = Plan9
SYSHOST = Linux. Finally, change OBJTYPE = $ objtype to OBJTYPE = 386 and save the file.
After modifying the configuration file mkconfig, we also need to add the tool that has been compiling the system to the environment variable! Therefore,
We need to do this. Use the root permission to open/etc/profile and add
PATH = "$ PATH:/home/bill/inferno-OS/Linux/386/bin"
Export PATH
After saving, restart the computer to make the change valid! Then enter the inferno-OS directory and input./makemk. sh in the terminal to compile
When translating the mk software, we need to clear some binary files just compiled so as not to affect the next compilation process.
After entering mk nuke, input mk install to compile the entire system!
The above is the process of compiling the system. Next we will run it !!! Go to/home/bill/inferno-
In the OS/Linux/386/bin directory, input emu. At this time, the slave will have a semicolon to prove the success! Input wm/wm
Enter the window manager! The installation is complete!
With a few images for your reference.


Enter./makemk. sh!


Mk program compiled successfully!


Use root permission to open the/etc/profile file and set the environment variable!


[1] [2] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.