Questions tagged [arch-linux]

Arch Linux is a simple, lightweight, rolling Linux distribution aimed at keeping things simple. Use this tag for questions specific to Arch Linux. Do NOT use this tag for derivatives, such as Manjaro.

Arch Linux

Website: http://www.archlinux.org/

Philosophy:

History:

Arch Linux was founded by Canadian programmer, Judd Vinet. Its first formal release, Arch Linux 0.1, was on March 11, 2002. Although Arch is completely independent, it draws inspiration from the simplicity of other distributions including Slackware, CRUX and BSD.

In 2007, Judd Vinet stepped down as Project Lead to pursue other interests and was replaced by Aaron Griffin who continues to lead the project today.

Technical Details:

Documentation:

Community:

Common Tasks:

  • Refresh the package list and update:

    # pacman -Syu

  • Install or Update a package:

    # pacman -S package_name

  • Search for package

    # pacman -Ss package_name

  • Query locally installed packages

    # pacman -Qi package_name

Further reading

ArchLinux

4893 questions
217
votes
17 answers

Any reason NOT to run Linux in a VM all the time?

I've switched to using Arch Linux for most of my day to day work and don't need Windows for anything but gaming and the couple of apps that aren't ported to Linux like OneNote. My Linux distribution is hosted in VirtualBox with Windows as host, and…
Alexandr Kurilin
  • 2,481
  • 2
  • 16
  • 13
214
votes
1 answer

Human readable memory sizes in top?

Is there an option in top to show memory sizes in human readable format? Example: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3960 phil 20 0 1347280 383112 30316 S 0.0 9.5 …
Philipp Claßen
  • 4,689
  • 7
  • 29
  • 41
194
votes
3 answers

In Arch Linux how can I find out which package to install that will contain file X?

I'm looking for a package that provides a specific binary, so I can install it. how can I search to find out what packages provide this binary? (note: I know there's at least one tool that does this, but I have forgotten its name.)
xenoterracide
  • 57,918
  • 74
  • 184
  • 250
165
votes
2 answers

How to disable auto suspend when I close laptop lid?

I'm using archlinux. It never auto-suspend before a recent system upgrade(maybe I updated the kernel?). I think it is related to laptop-mode or acpid, so I stop them: /etc/rc.d/laptop-mode stop /etc/rc.d/acpid stop I also edit…
heiz
  • 1,803
  • 2
  • 12
  • 7
124
votes
6 answers

How to properly and easily configure `xdg-open` without any environment?

I'm using OpenBox window manager without any desktop environment. xdg-open behaves strangely. It opens everything with firefox. $ xdg-settings --list Known properties: default-web-browser Default web browser I'm looking for a simple…
kravemir
  • 4,014
  • 4
  • 33
  • 48
110
votes
2 answers

Pacman option to assume "yes" to every question?

When installing software in debian systems we can put something like this: sudo apt-get install -y chromium-browser that way the installation occurs automatically, whitout asking to confirm installation [Y/n]. Can i do the same with pacman?
JohannRamos
  • 1,241
  • 2
  • 9
  • 5
104
votes
5 answers

Installing a .deb package on Arch - Is it possible?

The problem is simple - I have a .deb package and I want to install it on my Arch Linux. Is this possible? If yes, how?
BKC
  • 1,143
  • 2
  • 8
  • 6
89
votes
5 answers

Where are my sshd logs?

I can't find my sshd logs in the standard places. What I've tried: Not in /var/log/auth.log Not in /var/log/secure Did a system search for 'auth.log' and found nothing I've set /etc/ssh/sshd_config to explicitly use SyslogFacility AUTH and LogLevel…
HXCaine
  • 1,119
  • 1
  • 8
  • 9
87
votes
4 answers

How do I update GRUB in Arch Linux

In Ubuntu, we use this command to update GRUB: # update-grub But how do I update GRUB version 2.00 in Arch Linux?
Hamed Kamrava
  • 6,678
  • 12
  • 35
  • 47
80
votes
8 answers

pacman "exists on filesystem" error

I ran sudo pacman -Syu and I got some interesting errors reading: error: failed to commit transaction (conflicting files) and a long list of files followed by exists in filesystem. Full output is here: http://ix.io/lLw It appears that many of…
modulitos
  • 3,097
  • 8
  • 29
  • 44
77
votes
1 answer

How do I force remove a package in Arch with pacman?

How do I force remove a package in Arch with pacman while other packages still depend upon it. pacman -R perl-libwww checking dependencies... error: failed to prepare transaction (could…
xenoterracide
  • 57,918
  • 74
  • 184
  • 250
75
votes
4 answers

How to delete old packages installed by pacman in Arch Linux?

I have recently installed Arch Linux and found that I am eating away at a lot of storage relatively quickly. For whatever reason I have already used 17GB in just about 2 weeks. I do not have a great deal of software installed so I am led to believe…
sherrellbc
  • 2,461
  • 7
  • 28
  • 41
73
votes
9 answers

How to bind USB device under a static name?

I have an Arduino which sometimes gets bound to /dev/ttyUSB0 and other times to /dev/ttyUSB1, making my script fail. I do not want to enumerate all the possibilities of where my device could be, but I'd rather have it be bound somewhere static, e.g.…
k0pernikus
  • 14,853
  • 21
  • 58
  • 79
71
votes
3 answers

What is the basic difference between Arch and Gentoo Linux?

What is the difference between Arch Linux and Gentoo Linux? Their ideologies seem quite similar to me.
Ritik
  • 863
  • 1
  • 8
  • 5
58
votes
3 answers

bluetooth.service running, but bluetoothctl says "org.bluez.Error.NotReady"

my raspberry pi 3 model B, running Arch, has an issue with bluetooth. First of all: Bluetooth has worked flawlessly previously pi-bluetooth from the AUR is up to date bluez and bluez-utils are up to date The system is up to date as well (just ran…
turf
  • 1,381
  • 1
  • 7
  • 9
1
2 3
99 100