- How to install setup in linux
- Install/Uninstall .deb files
- Convert .rpm files to .deb files
- Installation guide
- Contents
- Pre-installation
- Acquire an installation image
- Verify signature
- Prepare an installation medium
- Boot the live environment
- Set the console keyboard layout
- Verify the boot mode
- Connect to the internet
- Update the system clock
- Partition the disks
- Example layouts
- Format the partitions
- Mount the file systems
- Installation
- Select the mirrors
- Install essential packages
- Configure the system
- Fstab
- Chroot
- Time zone
- Localization
- Network configuration
- Initramfs
- Root password
- Boot loader
- Reboot
- Post-installation
- How to Install and Run EXE Files in Linux Environment
- How to Open, Run or Install Exe Files on Linux Ubuntu Using ‘Wine’
- Steps to Install Wine on Linux Ubuntu:
- How to Run and Install Exe File on Linux or Ubuntu:
- Install Windows Apps on Linux Ubuntu Using ‘PlayOnLinux’
How to install setup in linux
Although the preferred method of installing programs is via the package managers described in ChapterВ 3, Adding, Removing and Updating Applications, you can also download and install individual package files containing software. There are many different kinds of Linux package files. Most of these are associated with the package managers of specific Linux distributions.
If you find a packaged application that you wish to install, it is recommended that you check if there is a native Kubuntu package of the application available through a package manager, and that you install that version instead. This guarantees that the program is completely compatible with your system. If there is no package available through the package manager, you can install it manually. The installation procedure depends on the type of package file.
Install/Uninstall .deb files
The package files associated with Kubuntu have the .deb suffix because of Kubuntu’s close relation to the Debian GNU/Linux distribution. You can download and install individual .deb files. You will need administrative privileges to do this (see the section called “Root And Sudo”).
To install a .deb file, simply Right click on the .deb file, and choose Kubuntu Package Menu -> Install Package .
Alternatively, you can also install a .deb file by opening a terminal and typing:
To uninstall a .deb file, remove it using Adept , or type:
Convert .rpm files to .deb files
Another type of package files is Red Hat Package Manager Files which have the .rpm suffix. It is not recommended to install these on an Kubuntu system. In almost all cases, a native Kubuntu .deb package is available. However, if absolutely necessary, an .rpm file can be converted to a .deb package using the program alien .
Run the following command in a terminal, with administrative privileges:
Источник
Installation guide
This document is a guide for installing Arch Linux using the live system booted from an installation medium made from an official installation image. The installation medium provides accessibility features which are described on the page Install Arch Linux with accessibility options. For alternative means of installation, see Category:Installation process.
Before installing, it would be advised to view the FAQ. For conventions used in this document, see Help:Reading. In particular, code examples may contain placeholders (formatted in italics ) that must be replaced manually.
For more detailed instructions, see the respective ArchWiki articles or the various programs’ man pages, both linked from this guide. For interactive help, the IRC channel and the forums are also available.
Arch Linux should run on any x86_64-compatible machine with a minimum of 512 MiB RAM, though more memory is needed to boot the live system for installation.[1] A basic installation should take less than 2 GiB of disk space. As the installation process needs to retrieve packages from a remote repository, this guide assumes a working internet connection is available.
Contents
Pre-installation
Acquire an installation image
Visit the Download page and, depending on how you want to boot, acquire the ISO file or a netboot image, and the respective GnuPG signature.
Verify signature
It is recommended to verify the image signature before use, especially when downloading from an HTTP mirror, where downloads are generally prone to be intercepted to serve malicious images.
On a system with GnuPG installed, do this by downloading the PGP signature (under Checksums in the Download page) to the ISO directory, and verifying it with:
Alternatively, from an existing Arch Linux installation run:
Prepare an installation medium
The installation image can be supplied to the target machine via a USB flash drive, an optical disc or a network with PXE: follow the appropriate article to prepare yourself an installation medium from the chosen image.
Boot the live environment
- Point the current boot device to the one which has the Arch Linux installation medium. Typically it is achieved by pressing a key during the POST phase, as indicated on the splash screen. Refer to your motherboard’s manual for details.
- When the installation medium’s boot loader menu appears, select Arch Linux install medium and press Enter to enter the installation environment.
To switch to a different console—for example, to view this guide with Lynx alongside the installation—use the Alt+arrow shortcut. To edit configuration files, mcedit(1) , nano and vim are available. See packages.x86_64 for a list of the packages included in the installation medium.
Set the console keyboard layout
The default console keymap is US. Available layouts can be listed with:
To modify the layout, append a corresponding file name to loadkeys(1) , omitting path and file extension. For example, to set a German keyboard layout:
Console fonts are located in /usr/share/kbd/consolefonts/ and can likewise be set with setfont(8) .
Verify the boot mode
To verify the boot mode, list the efivars directory:
If the command shows the directory without error, then the system is booted in UEFI mode. If the directory does not exist, the system may be booted in BIOS (or CSM) mode. If the system did not boot in the mode you desired, refer to your motherboard’s manual.
Connect to the internet
To set up a network connection in the live environment, go through the following steps:
- Ensure your network interface is listed and enabled, for example with ip-link(8) :
- For wireless and WWAN, make sure the card is not blocked with rfkill.
- Connect to the network:
- Ethernet—plug in the cable.
- Wi-Fi—authenticate to the wireless network using iwctl.
- Mobile broadband modem—connect to the mobile network with the mmcli utility.
- Configure your network connection:
- DHCP: dynamic IP address and DNS server assignment (provided by systemd-networkd and systemd-resolved) should work out of the box for Ethernet, WLAN and WWAN network interfaces.
- Static IP address: follow Network configuration#Static IP address.
- The connection may be verified with ping:
Update the system clock
Use timedatectl(1) to ensure the system clock is accurate:
To check the service status, use timedatectl status .
Partition the disks
When recognized by the live system, disks are assigned to a block device such as /dev/sda , /dev/nvme0n1 or /dev/mmcblk0 . To identify these devices, use lsblk or fdisk.
Results ending in rom , loop or airoot may be ignored.
The following partitions are required for a chosen device:
If you want to create any stacked block devices for LVM, system encryption or RAID, do it now.
Use fdisk or parted to modify partition tables. For example:
Example layouts
Mount point | Partition | Partition type | Suggested size |
---|---|---|---|
[SWAP] | /dev/swap_partition | Linux swap | More than 512 MiB |
/mnt | /dev/root_partition | Linux | Remainder of the device |
Mount point | Partition | Partition type | Suggested size |
---|---|---|---|
/mnt/boot or /mnt/efi 1 | /dev/efi_system_partition | EFI system partition | At least 260 MiB |
[SWAP] | /dev/swap_partition | Linux swap | More than 512 MiB |
/mnt | /dev/root_partition | Linux x86-64 root (/) | Remainder of the device |
- /mnt/efi should only be considered if the used boot loader is capable of loading the kernel and initramfs images from the root volume. See the warning in Arch boot process#Boot loader.
Format the partitions
Once the partitions have been created, each newly created partition must be formatted with an appropriate file system. For example, to create an Ext4 file system on /dev/root_partition , run:
If you created a partition for swap, initialize it with mkswap(8) :
Mount the file systems
Mount the root volume to /mnt . For example, if the root volume is /dev/root_partition :
Create any remaining mount points (such as /mnt/efi ) using mkdir(1) and mount their corresponding volumes.
If you created a swap volume, enable it with swapon(8) :
genfstab(8) will later detect mounted file systems and swap space.
Installation
Select the mirrors
Packages to be installed must be downloaded from mirror servers, which are defined in /etc/pacman.d/mirrorlist . On the live system, after connecting to the internet, reflector updates the mirror list by choosing 20 most recently synchronized HTTPS mirrors and sorting them by download rate.[2]
The higher a mirror is placed in the list, the more priority it is given when downloading a package. You may want to inspect the file to see if it is satisfactory. If it is not, edit the file accordingly, and move the geographically closest mirrors to the top of the list, although other criteria should be taken into account.
This file will later be copied to the new system by pacstrap, so it is worth getting right.
Install essential packages
Use the pacstrap(8) script to install the base package, Linux kernel and firmware for common hardware:
The base package does not include all tools from the live installation, so installing other packages may be necessary for a fully functional base system. In particular, consider installing:
- userspace utilities for the management of file systems that will be used on the system,
- utilities for accessing RAID or LVM partitions,
- specific firmware for other devices not included in linux-firmware (e.g. sof-firmware for sound cards),
- software necessary for networking,
- a text editor,
- packages for accessing documentation in man and info pages: man-db , man-pages and texinfo .
To install other packages or package groups, append the names to the pacstrap command above (space separated) or use pacman while chrooted into the new system. For comparison, packages available in the live system can be found in packages.x86_64.
Configure the system
Fstab
Generate an fstab file (use -U or -L to define by UUID or labels, respectively):
Check the resulting /mnt/etc/fstab file, and edit it in case of errors.
Chroot
Change root into the new system:
Time zone
Run hwclock(8) to generate /etc/adjtime :
This command assumes the hardware clock is set to UTC. See System time#Time standard for details.
Localization
Edit /etc/locale.gen and uncomment en_US.UTF-8 UTF-8 and other needed locales. Generate the locales by running:
Network configuration
Add matching entries to hosts(5) :
If the system has a permanent IP address or a fully qualified domain name, see the example in Network configuration#Local hostname resolution.
Complete the network configuration for the newly installed environment, that may include installing suitable network management software.
Initramfs
Creating a new initramfs is usually not required, because mkinitcpio was run on installation of the kernel package with pacstrap.
For LVM, system encryption or RAID, modify mkinitcpio.conf(5) and recreate the initramfs image:
Root password
Boot loader
Choose and install a Linux-capable boot loader. If you have an Intel or AMD CPU, enable microcode updates in addition.
Reboot
Exit the chroot environment by typing exit or pressing Ctrl+d .
Optionally manually unmount all the partitions with umount -R /mnt : this allows noticing any «busy» partitions, and finding the cause with fuser(1) .
Finally, restart the machine by typing reboot : any partitions still mounted will be automatically unmounted by systemd. Remember to remove the installation medium and then login into the new system with the root account.
Post-installation
See General recommendations for system management directions and post-installation tutorials (like creating unprivileged user accounts, setting up a graphical user interface, sound or a touchpad).
For a list of applications that may be of interest, see List of applications.
Источник
How to Install and Run EXE Files in Linux Environment
Install and run EXE files in Linux environment is very much necessary sometimes. There are few much-needed Windows applications, which require to be installed in Linux and run the exe file on Linux or Ubuntu OS. I am a Ubuntu user, the OS runs in Linux kernel and I am curious to know: “can Linux run exe?”. I need some Windows software occasionally to run in my PC. It is not always possible to shift the OS for running a specific Windows software. Either, you need to boot Windows from a dual booting computer, otherwise you want a separate PC (that has a Windows OS). The best thing is if you, anyhow, manage to install the Windows software or exe files and run it inside Linux or Ubuntu OS.
If you are new at Linux OS and don’t know much about it, then let me define Linux OS at first.
The Linux OS is open source, free distributed and cross-platform operating system which runs on Unix base. Linux can be installed easily on a PC, laptop, mobile, tablet, sever, super computer, video game console (supports low end to high end configuration) etc. Moreover, the operating system is much more secure and light-weight than any other popular OS like Windows, Mac and so on.
Linux mainly uses the ext4 file system; the file format is completely different than the executable file system i.e. .exe file. EXE files are used in Windows OS. So, basically it is hard to use an exe file in Linux architecture. But, using different software like WineHQ, PlayOnLinux, etc. in your Linux operating system, one can easily install and run different favorite Windows software on Linux OS.
How to Open, Run or Install Exe Files on Linux Ubuntu Using ‘Wine’
Do you know the answer of the question: “Can Linux run exe?”. To run exe files on Linux you need to install ‘Wine’ on Linux or on Ubuntu. ‘Wine’ is an open source Linux based free program that allows any Linux version (Ubuntu, Linux Mint) users to install and run Windows applications. Wine is very much useful for programmers and developers (with a software library WineLib) to compile, modify any Windows application in Unix environment.
Download and Install Wine:
You need to download the specific version of Wine from the official website WineHQ (https://www.winehq.org/). In the download page, you will get all the major wine versions of Linux. Select the Linux version (among all the versions of Linux like Ubuntu, Red Hat, etc.) you are using and download the Wine program. If you are unable to find the exact version of the OS, then try to find the related version from the list that is the base version (for example, Debian is the base version of Linux Mint). Related version of Wine should work on your Linux PC. Click on the preferred link and click on on-screen installation instruction. After you download the Wine software from the link, right click on the icon of the program, select install option and follow the steps. After successful installation of Wine apps, it will create a new folder (.wine) at the home/user-name (user name must be the user name given by you at the time of user profile creation) directory.
Initially, .wine folder will be invisible to you unless you press the Ctrl+H together to show hidden files. Then open .wine folder and navigate to the path ../.wine/drive_C/Program Files . The full path will be:
This is your program files folder where you can put Windows apps and install it to Linux. In the next step, you have to download .exe file and move the file to program files folder. Then right-click on that file and select open with option. Choose Wine windows program loader to install and run the Windows application in Linux.
Linux Ubuntu 10.04 and later version users can install Wine on their Linux system direct from the ‘Ubuntu Software Center’. Method is as follows:
- Open Applications and navigate to Software Center.
- In the search bar, enter ‘Wine’ and press Enter to search for that.
- Click on Install button of Wine that you get from the search list.
- It will create a virtual C:\ drive on your Ubuntu automatically.
- Now you can open .exe files and install them in virtual c:\ drive of your Linux system.
Older versions and other versions users should follow these steps to add Wine to Linux:
- Navigate to System >> Administration >> Software Sources.
- Select the other software section and select Add button.
- Then to install the Wine program in Linux, add the following line in the terminal box: ppa:ubuntu-wine/ppa
- Alternatively, you can use the command from the terminal to install add Wine:
Every Linux version follows separate installation procedure. But there is a common method to install Wine program to any Linux OS. You need to run a command at the Linux terminal to install Wine.
You must have an active internet connection and super user permission (root access) to add Wine to Linux. A Ubuntu user can use Alt+F2 shortcut to open run box, type “gnome-terminal” and press Enter to open the terminal. Type su to change your access to root access. You will be asked for Administrative or root password and then run the commands.
Steps to Install Wine on Linux Ubuntu:
Ubuntu is the most popular version of Linux environment. Here I mention the steps to install Wine in Ubuntu 19.10. For different version of the Ubuntu, the mentioned command needs some modifications which I also mention in the detail below.
- Press and hold Ctrl+Alt+T together to open up the Terminal window in Ubuntu.
- Enter the following terminal command to enable 32-bit support. Account password is mandatory in this step.
- To add and install Wine repository key, enter the following command to add support:
- Now, execute the mentioned command to add the Wine repository only in Ubuntu 19.10:
- Use the modified command to add the Wine repository for Ubuntu 18.04 and Linux Mint 19.x:
- Use the command to add the Wine repository in Ubuntu 16.04 and Linux Mint 18.x:
- libfaudio0 is very much required to use WineHQ and use the following command to add it.
- That’s all. Now, your Ubuntu OS is ready to run Windows files/.exe files.
How to Run and Install Exe File on Linux or Ubuntu:
Method#1: In the above section, I have already mentioned the process of installing a Windows program on a Linux OS. However, if the method does not work, you can use the command method to open and run exe file. The command should be something like this:
A Linux Mint user can use the command for the same purpose:
Note: Replace the ‘app-setup-file-name’ with actual the setup file name.
Before doing that change the directory location to that folder, exactly where the setup file is located. For example, if you keep the exe set-up file to desktop, then before run the above command, you need to run another command i.e.
Otherwise, by navigating Applications >> Wine >> Programs and from the program’s list, you can run the exe program in your Linux PC.
Method #2 (Alternative method):
- After performing the above mentioned steps to install WineHQ on your Linux PC, you need to restart the computer and make sure that the WineHQ is installed correctly to your PC.
- Now, download the Windows executable file i.e. .exe file on your Linux computer.
- Right click on the file and select Wine Windows Program Loader option from the right-click context menu. If the option is not available in the right-click context menu, try the Other option and find the Wine Windows Program Loader option there.
- Wine might prompt for the installation of Wine Gecko and Wine Mono installers. Install them accordingly.
- Now, you are ready to go through the Windows software installation wizard.
- Finish the Windows .exe file/software installation process and run it on your Linux OS.
Note: Wine creates an environment to install and run windows applications in Linux. But, sometime Wine fails to run some applications. In that case, you can give a try with PlayOnLinux to run those programs.
Install Windows Apps on Linux Ubuntu Using ‘PlayOnLinux’
Like ‘Wine’, PlayOnLinux provides a compatibility layer which allows Linux users to install Windows-based software and exe files. A Linux novice user gets in trouble while installing Wine. However, PlayOnLinux is very easy to install. It has the identical functionality just like Wine. Apart from it, the software supports a wide variety of applications. You may call it the graphical front end tool of Wine which provides a very simple solution for installing Windows OS.
PlayOnLinux supports popular Windows applications like Adobe Photoshop, Safari Browser, MS Office etc. The company fixes all the bugs and gives uses a smooth experience with Windows software, applications and .exe files installation. It also supports modern games and patches as well.
You can download the PlayOnLinux from the following link:
To install the software use the following commands step wise:
A game-maniac can take help of Lutris to play some simple and strategic game on a Linux PC. Use the following command to install Lutris:
In this tutorial, I have described how to install and run exe files (Windows executable files) on a Linux computer (Ubuntu or Linux Mint PC). So far, Wine is the only program which allows Windows program to be installed on Linux. However, PlayOnLinux is the modern alternative that helps you installing .exe to Linux so that you can run your favorite Windows applications on your Linux OS.
Источник