Hey guys, I've created a tiny Arch Linux archive on my VPS box. This tiny archive will grow in time Right now there is only couple of packages. I've created this archive for my self initially to re-use packages without re-compiling them on my box. But I thought I would share it, might be helpful to some one else.
Here is README.txt
arch.gotux.net (Arch Linux Packages)
build for x86_64 system by TuxLyn
to install under Arch simply run
sudo pacman -U <package_name>
Last edited by TuxLyn (2012-03-10 04:32:53)
Thanks for sharing this.
You can make your packages directly accessible to pacman by creating a repo. For example, you could create a repo named "TuxLyn-x86_64" by doing the following:
In the same directory as the packages, run this command:
repo-add TuxLyn-x86_64.db.tar.gz *.pkg.tar.xz
That will create a database file named TuxLyn-x86_64.db.tar.gz and a link to the database file named TuxLyn-x86_64.db in the same directory. You can then upload the entire directory to your server.
After that, add the following lines to pacman.conf (assuming that they're located at http://arch.gotux.net/packages/):
[TuxLyn-x86_64] Server = http://arch.gotux.net/packages/
After that, run "pacman -Syu" and you will be able to install your packages directly with pacman -S <package_name>.
I would recommend using a different path on the server, e.g. http://arch.gotux.net/repos/TuxLyn/x86_64
There's a little more information here:
https://wiki.archlinux.org/index.php/Cu … repository
See "man repo-add" too.
Hey Xyne, this is great info. I will make this happen ones I have more packages in the archive Thank you.
Great just about when I posted this my hosting is having some issues with there server.
Please stand by, will let you know when its back online.
EDIT: It's back online folks. Sorry for the down time, my hosting had some server issues.
Last edited by TuxLyn (2012-03-08 07:06:09)
Alright, if any one is interested in testing it please do. Note this VPS is not the fastest. I think its only 1mbps download from it. But I do what I can to contribute to Arch community Maybe one day I'll find second better VPS just for tiny arch archive. Read README.txt file in http://arch.gotux.net/ for more details.
Last edited by TuxLyn (2012-03-09 01:04:15)
You can add your repo to https://wiki.archlinux.org/index.php/Un … positories if you want.
Thank you, but I would like some one else to test it first EDIT: Never mind, will just add it I guess. It works good. I might move it from "GoTux-x86_64" to just "GoTux" because its easier to type. Alright done and done. Enjoy guys. I will try updating this repo as often as I can.
Last edited by TuxLyn (2012-03-09 01:30:30)
I'll be attempting to improve my repos and including x86_64 as well as i686 packages. I've already integrated directory indexer in the website for easier access. I want to have best packages on AUR that I my self use and might be of help some one else as well. I have a lot of interesting projects I'm working on that will be eventually implemented. So if you guys interested keep on checking my front-page news and wiki page here http://wiki.gotux.net/about As always if you wish to be apart of my website and help out in any way possible. Please email me or PM me here
Last edited by TuxLyn (2012-03-10 01:32:10)
Thank you for the comments guys, it really does help to keep me motivated more.
@Xyne, Not sure what you mean buddy. Where at ?
EDIT: I'm currently working on two separate computer boxes one for i686 and the other for x86_64 to use them mostly/specifically for compiling packages from AUR
EDIT2: I've just found wiki page "Can I build 32-bit packages for i686 inside Arch64?" perfect. Just what I've been wondering. This will be even better, to have one development box. This way I can use one Core2Quad box to do all of this compiling.
Alright, I've managed to compile and create both 64bit and 32bit packages. 32bit packages might be slower updated then 64bit ones. See README.txt for more details.
Last edited by TuxLyn (2012-03-10 04:06:36)
@Xyne, Not sure what you mean buddy. Where at ?
The title of this thread is "Tiny Arch Archive". I suggest that you edit the original post and change it to something like "GoTux Repos", so people know what the thread is about when they browse the forum.
Take a look at arch32-light for building i686 packages on x86_64. It's what I use in my release scripts.
Last edited by Xyne (2012-03-10 04:34:36)
@Xyne, oh that what you mean Thanks for the tip buddy. Done.
I've installed arch32-light and getting this following warning when I run arch32.
:: Synchronizing Files [DONE]
non-network local connections being added to access control list
Also, what do I do to use makepkg -s inside this arch32 ?
arch32 --help switch would be nice.
Last edited by TuxLyn (2012-03-10 06:33:01)
The "non-network..." warning can be ignored. It's generated by xhost. I don't suppress it just in case it throws other warnings.
I'm assuming that you ran arch32-initialize and the follow-up commands. To build in the chroot, run
pacman32 pacman sudo base-devel
outside of the chroot. That should install most of what you need in the chroot. If it complains that anything else is missing, find out what owns it and install it.
There is no --help message for arch32 because it's just a glorified chroot wrapper:
#!/bin/bash source /etc/arch32.conf || exit 1 if [ -z "$ARCH32ROOT" ]; then echo "error: ARCH32ROOT is unset" 1>&2 exit 1 fi chroot "$ARCH32ROOT" "$@"
See "man arch32-light", the project page, and the related wiki page for more information. Actually, skip the man page and jump right to the project page. It has the man page on it, with nicer formatting.
Thanks for the help Xyne, but just to simplify it. Here is what I've done so far.
$ sudo -i
$ ** password **
# pacman32 -Sy bash coreutils filesystem grep gzip licenses sed
# pacman32 -Sy base-devel
now where do I put the package I want to compile and also do I use makepkg -s as I do in 64bit ?
Bah, I wrote a lengthy reply, but my login timed out and I lost it.
By default, /tmp is mounted in the chroot, so you could use /tmp/build as a shared build directory between the host system and the chroot. Otherwise, if you need more space or want the build directory to persist across reboots, you could create a directory somewhere in /opt/arch32/, which is the chroot's root directory, e.g. /opt/arch32/home/<user>/build.
You then use makepkg in the chroot just as you do on the host system. The steps are:
sudo arch32 su <user> #to avoid building as root cd <build dir> makepkg -s ...
You can combine everything into a single command, but it's a little complicated because you have two levels of nesting that require careful quoting. For example,
sudo arch32 sh -c "su <user> -c 'cd <build dir> && makepkg ...'"
@Xyne, thank you for the help. I will write a function to automate all of this commands. I want to code a script that would do most of the work for me to compile packages, move, and upload to my VPS then run repo-add. Will share the code ones I do.
I'm working on getting all of AUR themes/icons in my repository.
See updates on the wiki page here, http://wiki.gotux.net/arch/packages
Note: Since there is about 921 themes in AUR repository, this might take
me a while, and I might not have all themes/icons in the GoTux repos.
Only the best ones. So if any is interested, keep a watch on that wiki page
Last edited by TuxLyn (2012-03-21 00:06:56)
You might want to add that wiki page and change the description of your repo: https://wiki.archlinux.org/index.php/Un … positories as it's not so tiny anymore :-)
[GoTux] # Not-so-tiny Arch Repository # See http://wiki.gotux.net/arch/packages for details Server = http://arch.gotux.net/repos/$arch/
Hahaha thanks karol. I try to expend it the best that I can with good packages. Will see what happens
The repo should be back online shortly.
Last edited by TuxLyn (2012-06-12 20:27:25)
The repo have been offline for quite a while
error: failed retrieving file 'GoTux.db' from arch.gotux.net : Could not resolve host: arch.gotux.net; Name or service not known error: failed to update GoTux (download library error)
I removed it from the unofficial repos list https://wiki.archlinux.org/index.php?ti … did=215784
Currently down sorry. I'll try fixing it in the future.
Sorry this takes me longer then I thought. I did not have time to bring back this repos. Will try again later and post update here when its up.