Linux-Miscellaneous
Jump to navigation
Jump to search
https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQvEavG13YVSNZ80XN0DPFe1Ye81rIkTiFFOm8pgpO8sgneckL9
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRw8hWV_G_YouDD_0qbE5VOVtssnJ-JQO7c9qPvfei10nk4znQdNQ
Linux-Miscellaneous
Linux installation⌘
Linux distributions⌘
- Debian (https://www.debian.org/)
- Ubuntu (http://www.ubuntu.com/)
- Linux Mint (http://www.linuxmint.com/)
- Red Hat Enterprise Linux (http://www.redhat.com/en/technologies/linux-platforms/enterprise-linux)
- Fedora (http://fedoraproject.org/)
- CentOS (http://www.centos.org/)
- SUSE Linux Enterprise (https://www.suse.com/pl-pl/)
- openSUSE (http://www.opensuse.org/en/)
- Gentoo Linux (https://www.gentoo.org/)
- Linux From Scratch (http://www.linuxfromscratch.org/)
Linux installation and configuration⌘
- Installation and configuration steps vary depending on Linux distribution in use
- Distributions rank (http://distrowatch.com/):
- Linux Mint
- Ubuntu
- Debian
- Mageia
- openSUSE
- Lab Exercise MSC.1
Software compilation⌘
Software installation from sources⌘
- Download the software from a dedicated repository, website or other source
- Extract the software using an appropriate archivisation tool
- Read README and INSTALL files if included
- Check whether the configure script is included. Omit the next step if no
- Execute the following command:
./configure --prefix /usr/local
- If any errors occur fix them, remove the config.cache file and repeat the last step.
- Execute the following command:
make
- If any errors occur fix them, execute the following command and repeat the last step:
make clean
- Execute the following command:
make install
Software installation from sources #2⌘
- configure:
- checks required parameters of the hardware and OS and writes these information to the config.cache file
- creates the Makefile file containing:
- rules - how to build the targets
- targets - what exactly to build
- specifies the location of the software to be installed
- make:
- builds / compiles the software based on the Makefile file
- make clean:
- removes the files built by the make command
- make install:
- installs the files built by the make command in directories specified during the configure command execution