Install Deb Package On Arch Linux Download
06.01.2021by admin
Install Deb Package On Arch Linux Download Rating: 7,9/10 1398 reviews
The Arch Linux repositories are one of the most complete in all of Linux. If a program is not available in the official Arch Linux repository, it should be available in the Arch User Repository or AUR. So, this post will teach you how to install AUR packages both manually and with some helping program. Linux in general: all the big distributions come with their own repositories of pre-prepared packages, and you normally don't have to go to a website, download, and install anything. The distribution will fetch the program and install it for you. For Arch, neither.debs or.rpms are appropriate to use.
Introductory notes
All packages that are included in the official Debian distribution arefree according to the Debian FreeSoftware Guidelines. This assures free use and redistribution of thepackages and their complete source code. The official Debian distributionis what is contained in the main section of the Debian archive.
As a service to our users, we also provide packages in separate sectionsthat cannot be included in the main distribution due to either arestrictive license or legal issues. They include:
- Contrib
- Packages in this area are freely licensed by the copyright holder but depend on other software that is not free.
- Non-Free
- Packages in this area have some onerous license condition restricting use or redistribution of the software.
Note that same packages might appear in several distributions, but withdifferent version numbers.
View package lists
This is the latest official release of the Debian distribution. This is stable and well tested software, which changes only if major security or usability fixes are incorporated.
See the stable release pages for more information.
This area contains packages that are intended to become part of the next stable distribution. There are strict criteria a package in unstable (see below) must obey before it can be added to testing. Note that testing
does not get the timely security updates from the security team.
See the testing distribution pages for more information.
This area contains the most recent packages in Debian. Once a package has met our criterion for stability and quality of packaging, it will be included in testing. unstable
is also not supported by the security team.
Packages in unstable are the least tested and may contain problems severe enough to affect the stability of your system. Only experienced users should consider using this distribution.
See the unstable distribution pages for more information.
Search package directories
There are shortcuts for some searches available:
https://packages.debian.org/name
for the search on package names.https://packages.debian.org/src:name
for the search on source package names.
Search the contents of packages
This search engine allows you to search the contents of Debiandistributions for any files (or just parts of file names) that arepart of packages.You can also get a full list of files in a given package.
There is also a shortcut available: Business in a box product key crack.
Install Deb Archlinux
https://packages.debian.org/file:path
for the search for paths ending in the keyword.
The Arch Linux repositories are one of the most complete in all of Linux. If a program is not available in the official Arch Linux repository, it should be available in the Arch User Repository or AUR. So, this post will teach you how to install AUR packages both manually and with some helping program.
INTRODUCTION
So, if a package is available for Linux, it is unlikely you will not find it in the AUR. Many Arch users say that the AUR is one of the main reasons they use Arch Linux. If you use Arch Linux or you are about to move to Arch Linux, you will have to use the AUR sooner or later. However, installing packages from the AUR seems to be complicated if you have never done it before. But I will try to present the process in the easiest way possible.
In the first part of this post, I will show you how to install AUR packages manually. Then, in the second part, you will learn how to use some AUR helpers that simplify and automate the installation process. There are several helpers available. In the video above, I showed how to install and use Yaourt, and aurman. But both these programs are discontinued now. So, in this post, I will show you how to install and use yay, yet another yogurt. The video tutorial showing yay is at the end of this post.
Before we start I would like to warn you that all AUR packages are user-produced content, so use them at your own risk.
Prerequisites
To install AUR packages, you need to have some building programs on your system to compile a program. You will also need the git
program to download the source code of the AUR packages. To install all the required packages, run the following command:
In addition, I also recommend enabling parallel compiling on your system to improve the compiling speed. To do that, open the file /etc/makepkg.conf
.
Install Deb Package On Arch Linux Download 64 Bit
It is a very large file but if you press the combination CTRL + W, you can search for a term MAKEFLAGS
.
So, most likely you will have a value -j2
-j2
-j$(nproc)
$(nproc)
will define a number of available threads in your processor automatically.
Then, press CTRL+O to save the changes and CTRL+X to exit.
After that, you should be able to install AUR packages without problems.
Manual Installation
To install a program from AUR manually, you need to perform a few steps. Basically, you have to do the following:
- Find the package in the AUR.
- Clone the repository.
- Check the
PKGBUILD
file. - Compile and install the program.
1. Find the package in the AUR
On Arch Linux website, you need to go to the AUR section. and search for the package you are about to install. For example, I will search for Spotify. Spotify is not in the official repository of Arch Linux because it is proprietary software.
Then, you will see all the information about the program on the next screen. To install an AUR package, you will need to copy the link in Git Clone URL.
2. Clone the repository
After doing that, it is necessary to clone the repository git
3. Check the PKGBUILD
file.
After the cloning is finished, a new folder containing the program code will be created. In this case, it is called spotify. Enter it and list its contents with the command ls
. In that folder, you should see the PKGBUILD
file.
You can open it with nano
, explore its content and edit it if necessary. You can learn about PKGBUILD format at the Arch Linux Wiki.
4. Compile and install the program.
After that, you can start compiling it by running this command in the program directory:
Depending on the package, it can take quite some time. Next, you have to type your password to install the program.
Now, the program is installed and you can open the program from the main menu.
This way you can install any program from the AUR. As you can see, the process is quite simple, it all comes down to cloning the repository, accessing the folder, verifying the PKGBUILD
file and finally, starting the installation.
Install AUR Packages using a helper
There are several AUR helpers available. You can see the full list at this page of Arch Linux Wiki. The installation procedure for these helpers is the same as manual installation from the AUR shown above. I will show how to install yay. It is recommended by the developer of aurman, which I used before, and it is also a recommended helper on Manjaro website. I also liked it after I tested it.
To start installing it, find the git URL of yay in the AUR webpage and clone the repository:
Now, enter the downloaded folder, build and install the program.
Now, yay is available for use. For example, to search for a program in the AUR, use this command:
If you already know that package name, you can install it right away with the -S
option:
You can also use yay to search both the AUR and official repositories with -Ss
option.
Finally, to upgrade all the packages, use this command.
As you can see from these commands yay uses the same syntax as in pacman. You can discover all available options of yay with the man
command:
I hope you will enjoy using yay.
CONCLUSION
The AUR is a very large source of packages for Arch Linux. It should satisfy the needs of any Linux user. If you were unsure how to use the AUR, I hope you are more confident now as you know how to install AUR packages either manually or with some a helper program such as yay.
I believe you may also like my post on “10 Things to do first after installing Arch Linux”.
Comments are closed.