Binary files such as (.BIN) and shell scripts (.SH) are another popular format for distributing applications, particularly in the commercial, closed-source world. A good example of this are the Quake 3 and Doom 3 games from id Software. Basically all these files are is a list of commands that are run inside a terminal to copy, move, and create files in your file system. You can run these files like so:
For BIN files:
1. Make sure the file is set to "executable" by running this command:
chmod +x xyz.bin
Search Engine
How to Install Binary Files and Scripts (.BIN/.SH)
How to INSTALLING SOFTWARE RPM
RPM stands for RedHat Package Management, but is pretty universal and used in modern linux Distro's. In many cases a simple click on the RPM icon will open a GUI for easy installation. Sometimes you can even do a test-install to see if all dependencies are correct.
For the commandline we have: ( assuming we want to install samba-2.2.1a-4 )
# rpm -ihv samba-2.2.1a-4.rpm ( Will install the package )
# rpm -Uhv samba-2.2.1a-4.rpm ( Will upgrade the package )
# rpm -e samba-2.2.1a-4.rpm ( Delete the package )
# rpm -l samba-2.2.1a-4.rpm ( Will list the files in the package )
# rpm -ql samba-2.2.1a-4.rpm ( Will list the files and state the installed version of the package )
The Difference of SU AND ROOT
There have been many questions about, what is the difference between “su” and “root” . . well, the difference is minimal but still very important.
As you login as “root” right from booting the system, all the privileges are set to root, what makes your system more vulnerable to your own mistakes and those wishing to enter your system.
As you login as normal user, the privileges are limited, thus it´s safer. To be able to do administrative tasks you can temporally login as root using “su” in a console/terminal, that way the root privileges are limited to the actions you do in the console. So the rest of the system is still in “normal user” mode, and this makes it safer.
We do use the same password for “su” and “root”, but once you are logged in as normal user, typing “root” in terminal will only give you “bash: root: command not found”.
The software Installation of (configure, make, make install)
How to Create ISO Images from Command-Line
For this tutorial we’ll use the genisoimage utility, developed as part of the cdrkit project. genisoimage is a command-line tool for creating ISO 9660 filesystem images, which can be burnt after to a CD or DVD using some other burning tool. To install it open a terminal and type the following as root:
Ubuntu and Debain
$ sudo apt-get install genisoimage (for Centos and redhat )
For Redhat and Centos
$ yum -y install genisoimage