Difference between revisions of "Arch User Repository"
→Added installing from the AUR by Hand
imported>Aaditya |
imported>Aaditya |
||
Line 62: | Line 62: | ||
Although you should just keep entering 'no' to these prompts, be aware that you will also be prompted on occasion to continue the installation as well. '''So make sure you read each prompt properly before entering anything,''' else you could end up aborting the installation by accident! | Although you should just keep entering 'no' to these prompts, be aware that you will also be prompted on occasion to continue the installation as well. '''So make sure you read each prompt properly before entering anything,''' else you could end up aborting the installation by accident! | ||
<br clear="all" /> | <br clear="all" /> | ||
= Installing from the AUR by hand = | |||
Download the tarball from the AUR preferably to ''/home/downloads'' | |||
(just click on the tarball from your browser and you should get it) | |||
Make a sub-directory in downloads called builds- | |||
mkdir ~/downloads/builds | |||
Move the tarball to builds | |||
mv foo.tar.gz builds | |||
Untar the tarball | |||
tar -xvf foo.tar.gz | |||
Move into the new sub-directory | |||
cd <foo> | |||
To make/complie the package, run- | |||
makepkg -s | |||
This will build the package and pull in any dependencies needed. | |||
''Note that it wont pull a dependency from the AUR, only from the Manjaro Repos.'' | |||
If you run | |||
ls | |||
you'll probably find a few new files. | |||
You're interested in the one that ends with .pkg.tar.xz (usually) | |||
The final event is running $sudo pacman -U on that file ,hence- | |||
sudo pacman -U foo.pkg.xz | |||
And you've done it...the safest best way to install from the AUR. | |||
This is essentially what most install scripts do for you. | |||
You can ask for support for installing by hand at the following link-[http://forum.manjaro.org/index.php?topic=7076.msg61520#msg61520] | |||
(Courtesy bloomode for the tutorial.) | |||
= Upgarding the packages installed from the AUR = | = Upgarding the packages installed from the AUR = |