Arch Linux tips 'n tricks
Moderators: b1o, jkerr82508
Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
Arch Linux tips 'n tricks
Ok I am ready to throw some pearls again: In order to speed up boot time in Arch you can background your deamons.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
Arch Linux tips 'n tricks
I just need to write this down somewhere so I thought this might be a good place. Install reflector.
To find the 8 most updated mirrors and to sort them by speed:
To find the 8 most updated mirrors and to sort them by speed:
Code: Select all
# reflector -l 8 -r -o /etc/pacman.d/mirrorlist
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
Re: Arch Linux
I like to keep my system clean so I tend to remove my orphans whenever I can. In Mandriva this was easy with urpme --auto-orphans or apt-get autoremove in Debian. In Arch it is easy to list them all with
This will give you a nice list over the orphans that are no longer needed by any application.
In my case that list was quite long so I did not want to remove them one by one, with pacman -Rs.
The solution is to combine the the two commands:
This will list all your orphans and prompt you for deleting them.
Remember pacman -Qqtd will only list packages that are installed as a dependency - not if they in fact are needed as a dependency. (Better install things right!)
To clear the pacman cache you can do a
(I needed to write this down too )
Code: Select all
pacman -Qdt
This will give you a nice list over the orphans that are no longer needed by any application.
In my case that list was quite long so I did not want to remove them one by one, with pacman -Rs.
The solution is to combine the the two commands:
Code: Select all
pacman -Rs $(pacman -Qqdt)
Remember pacman -Qqtd will only list packages that are installed as a dependency - not if they in fact are needed as a dependency. (Better install things right!)
To clear the pacman cache you can do a
Code: Select all
pacman -Sc
(I needed to write this down too )
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
Re: Arch Linux tips 'n tricks
OK I like pacman but it was necessary to maintain the repos there. I like yaourt because I can query anything there and install directly from AUR. To speed things up I got the tip to install powerpill. That did not replace yaourt but it sure did speed things up when upgrading a lot of files. I also integrated it in yaourt.
It might have speeded things up, there but I still had to wait a bit.
Having installed powerpill I could now install Bauerbill. It is based on powerpill and adds some of the functionality of yaourt.
And it is fast
Edit:
After having installed it I do not see anything brilliant yet about using it. so I installed packer too. That one does it.
It might have speeded things up, there but I still had to wait a bit.
Having installed powerpill I could now install Bauerbill. It is based on powerpill and adds some of the functionality of yaourt.
And it is fast
Edit:
After having installed it I do not see anything brilliant yet about using it. so I installed packer too. That one does it.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux tips 'n tricks
How did you integrate powerpill with yaourt? Curious.
Very nice tips, btw. Thank you. I'll be able to use some of these.
Very nice tips, btw. Thank you. I'll be able to use some of these.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Arch Linux tips 'n tricks
Edit /etc/yaourtrc
And add the line:
PACMANBIN="/usr/bin/powerpill"
Like this:
Code: Select all
sudo nano /etc/yaourtrc
And add the line:
PACMANBIN="/usr/bin/powerpill"
Like this:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux tips 'n tricks
Ooooooooo nice. Thank you!
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Arch Linux tips 'n tricks
I wanted to find out which programs that required PHP:
Nice for removing bloat.
Code: Select all
pacman -Qi php |grep 'Required By'
Required By : phpmyadmin
Nice for removing bloat.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
HowTo disable IPv6
IPv6 is using a lot of resources when activated so it might speed browsing up to disable it:
https://wiki.archlinux.org/index.php/IP ... the_Module
My browser was like a turtle on Pot and this fixed it!
https://wiki.archlinux.org/index.php/IP ... the_Module
My browser was like a turtle on Pot and this fixed it!
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
Re: Arch Linux tips 'n tricks
I just installed nessus:
https://wiki.archlinux.org/index.php/Nessus
Real useful security check there.
I had to download the Fedor Core 14 rpm package and yaourt did the rest.
https://wiki.archlinux.org/index.php/Nessus
Real useful security check there.
I had to download the Fedor Core 14 rpm package and yaourt did the rest.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: HowTo disable IPv6
viking60 wrote:IPv6 is using a lot of resources when activated so it might speed browsing up to disable it:
https://wiki.archlinux.org/index.php/IP ... the_Module
Which method there did you use?
May give Nessus a try... thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Arch Linux tips 'n tricks
I altered /etc/modprobe.d/modprobe.conf
Code: Select all
# disable autoload of ipv6
alias net-pf-10 off
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"