![How to install deb package on ubuntu How to install deb package on ubuntu](/uploads/1/2/5/3/125399420/234560846.jpg)
To install Yaourt on Arch Linux, run the following commands. Once Yaourt installed on your PC, you can use this command to install Pamac on your workstation as shown. Launch Pamac when the installation is complete by either right-clicking on its icon in your system tray or selecting “Add/Remove Software” in your menu.
Google Chrome is one of the fastest and popular web browsers in the world. On distributions like Ubuntu, Debian, Red Hat Enterprise Linux (RHEL), CentOS, SUSE, OpenSUSE, Fedora, you can just go to the official website of Google Chrome, download an rpm or deb package file for your distribution, and install it with the package manager like yum, apt, aptitude, dnf etc. But the official website of Google Chrome doesn’t have any package for Arch Linux. So getting Google Chrome installed on Arch Linux is a little bit harder than usual. You need to perform a lot of additional steps that you won’t have to on other popular Linux distributions.
$ makepkg -s Press ‘y’ and press to continue. ‘ makepkg’ should download all the necessary files from the internet.
It may take a while depending on your internet connection. In the screenshot below, you can see that ‘ makepkg’ downloaded google-chrome-stable version 63 at the time of this writing. You may get a later version. But it’s all the same, don’t worry. The package building process is running Once the package build process is complete, you should see something like this. If you list the contents of the google-chrome directory now, you should see a file google-chrome-63.0.3239.108-1-x8664.pkg.tar.xz as marked in the screenshot below. This is the package that ‘ makepkg’ created.
By the time you read this article, the generated filename might change. Make sure, you adjust it as required.
Now run the following command to install the google-chrome-63.0.3239.108-1-x8664.pkg.tar.xz package file using pacman package manager. $ sudo pacman -U google-chrome-63.0.3239.108- 1-x8664.pkg.tar.xz Press ‘y’ and then press to continue.
The Google Chrome package should be installed. Now go to the Application Menu of your Desktop Environment and look for google chrome. I am using GNOME3 desktop environment in this article. Once you find Google Chrome, just click on the famous Google Chrome icon. You should see the following window as you’re running Google Chrome for the first time. If you wish to make Google Chrome your default browser, just leave the first checkbox marked.
If you don’t want to send anonymous usage statistics and crash reports to Google, just uncheck the second checkbox. Once you’re done, just click on the blue “OK” button. Google Chrome should start. Enjoy the internet as much as you like with Google Chrome now. So that’s how you install the latest version of Google Chrome on Arch Linux.
Thanks for reading this article.
We would begin by first booting the Arch iso for our virtual machine. Next, we carve a bootable partition from our virtual hard drive and install the base arch linux system on top of it. We then chroot into our would-be new root make some changes such as selecting languages, keyboard mapping, timezone and selecting hardware clock and we boot into the newly installed system getting rid of the.iso disk. Creating the VM This is easily done using the VirtualBox interface. Select New option and give your VM a name, select the type as Arch Linux 64-bit and allocate at least 2GB of RAM to the VM Next, we create a virtual hard disk of at least 8GB in size. This is where the OS will be installed along with root directory and other user data as well.
You can go ahead and boot the VM and it will ask for a bootable medium, because the hard drive we just created is blank and not bootable. So we select an already downloaded from our file explorer to boot off of. This is roughly what you would see, here you have to pick the first option of Booting Arch Linux, because it allows you to format the newly created virtual disk and install Arch on it. Now once we see a shell prompt we can go ahead and update our package database, this is similar to apt update in Debian systems. Root @archiso # pacman -Syy Pacman is the package-manager for Arch and the flag -S stands for sync where it tries to sync Arch with official repositories and the flag -yy forces it to download a fresh package of databases even if the system is up-to-data (you can skip -yy if you like). Since this is a virtual machine, networking is available by default, provided the host system is connected to the internet.
Now we can move on to partitioning the hard drive. Partition the Hard Drive We will be partitioning it not using the gpt scheme but rather the old-school dos label so you can dual-boot if you do decide to run it on your actual machine. To know the disk’s device node run the command.
#cfdisk /dev /sda This pops open an interface asking for the label type. We shall go with dos. After this we will see an interactive session to make things easier for us.
Selecting New (by using arrow keys and pressing ) would promptly create the first (and in our case, the only) partition we need to create. Hit to accept the partition size of your choice and in the next prompt select the partition type to be primary. This creates a new partition with the device node /dev/sda1. As shown below: Lastly, select the Bootable option and toggle it to make the partition bootable.The ‘Boot’ column would have an asterisk to indicate that the partition is bootable. Now, to make the changes final, from the bottom-most row go to Write, hit and type yes when the interface prompts you to do so.
You can now quit the partitioning interface. To make sure the changes were successful, run fdisk -l one more time and you would see an entry for /dev/sda1.
We now need to format it with a filesystem, which in our case is going to be ext4. #packstrap -i /mnt base base-devel After syncing the databases, it would prompt the user to select the necessary packages from a list of available ones. The default option is to install all, which is what we will be using. Go ahead with that by hitting and proceed with the installation. This would take some time as the base package will be downloaded (300MB of download) and unpacked.
Okay, before we go any further, let’s understand that the /mnt/ is going to be our new /(root). This means all the directories that you would expect under the / directory like /etc is under /mnt/etc for the time being. This is important to understand, because when making modifications here we would be going inside /mnt directory a lot. First we would need to generate an fstab file, which stands for Filesystem Table which tells your OS what partitions and disks need to be mounted automatically during the boot process.