The μUniverse

Notes on the installation of the μUniverse

Installation

Before a new version of the Mikrouniverse is installed, an existing old version has to be deleted!

The Mikrouniverse is either installed by root in the directory $GOSRC or by „users“ in the subdirectory go/src of their home directory by unpacking the file μU.tgz with the em>tar-Command with the options xfz. With that – if not yet existing – the subdirectory μU is generated, where all sources are depositewhere all sources are deposited.

If the requirements specified in the following section are met, the μU-library is generated with the command „go install μU“.

For compiling and linking, the script gi contained in the directory $GOSRC/μU is also very useful, which must be copied into a directory for this purpose, which is contained in the path (e.g. $HOME/bin).

Requirements

A computer with Linux as operating system is required, on which Go is installed (see Notes on the installation of Go}.

A Go-version 1.18.1 or higher is required: The Go Authors pinched my type type Any = interface{} from the package μU.obj and incorporated it into the language under the name any as alias for the empty interface. Therefore, I now replaced the identifier Any by any everywhere, which saves the import of μU.obj in many places.

All following information refer to openSUSE with bash as login-shell. Other distributions or shells may require customizations such as „X=...; export X“ instead of „export X=...“.

Since substantial parts of the Mikrouniverse are based on:

the following must be installed under openSUSE:

On other distributions the corresponding packages may have different names – but this can be easily found out by „googling“ for these terms.

If these packages are not installed, corresponding error messages are displayed when compiling μU.go. After error-free compilationm proper functioning of all libraries of the Mikrouniverse can be checked with the start of program μU.

For the achievements of the Mikrouniverse, which go beyond the usual standards of the tty-console operation (high-resolution graphical output and the use of a mouse), the file /dev/input/mice must be readable for the world, i.e. has permissions rw-r--r-- (on other distributions „/input/mice“ – also in file μU/mouse/def.go – may have to be replaced by the name of another file,

The access to the framebuffer, which is necessary for console operation, requires that file /dev/fb0 has permissions rw-rw-rw-, i.e. read and write permissions. If this is too delicate for security reasons, you can also make root add the users in the video group. Both can be achieved e.g. by corresponding entries in /etc/init.d/boot.local.