Created
June 10, 2019 18:17
-
-
Save jastix/ac76dc03324f21a0703050374e67e368 to your computer and use it in GitHub Desktop.
install packages from source code in Arch/Manjaro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The general process for installing software that isn’t in the AUR is as follows: | |
1. download the tarball file containing the PKGBUILD file | |
2. expand/extract the tarball file | |
3. run makepkg in the folder containing the PKGBUILD script | |
4. install the .xz file that is produced | |
Step 2: To expand the tarball, do the follwing in a terminal. You need to cd to the directory where the tarball is located first: | |
tar zxvf mypackage.tar.gz | |
step 3 + step 4: To run makepkg you need to cd to the directory where the PKGBUILD script is located first and then run the following command: | |
makepkg -csir | |
The above command builds the package using makepkg and then installs the resulting .xz file | |
To uninstall software that was installed from source code using tarballs, enter the source directory of your package and then type: | |
make uninstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment