You are not logged in.

#1 2019-04-12 06:47:08

dopey
Member
Registered: 2019-04-12
Posts: 3

[SOLVED] Arch Linux VM does not have pacman installed.

Using VirtualBox on OS Mojave to run a 64 bit Arch Linux Operating System.

I'd like to use `pacman` development tools to install a package from the AUR, however I don't have `pacman` installed. Running `pacman` returns `command not found`.

I found post online about compiling pacman from source. I tried that, but I don't have a C compiler (`gcc` is not installed). So I looked up how to install `gcc` and the obvious answer is `pacman` - which is not installed. :[

The name of this corner of the forums has me feeling slightly better. Any help would be appreciated. Thanks smile

Last edited by dopey (2019-04-13 00:38:37)

Offline

#2 2019-04-12 07:25:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,425

Re: [SOLVED] Arch Linux VM does not have pacman installed.

Welcome to the boards

Which ISO did you use to install Arch Linux and which instructions did you follow to install Arch Linux?

Offline

#3 2019-04-12 09:59:39

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] Arch Linux VM does not have pacman installed.

try running /usr/bin/pacman; may your $PATH is broken.

Offline

#4 2019-04-12 17:51:49

dopey
Member
Registered: 2019-04-12
Posts: 3

Re: [SOLVED] Arch Linux VM does not have pacman installed.

Unfortunately I'm not following any instructions and I'm not sure which ISO it is. I just created a new VM using VirtualBox and used their default image for an Arch Linux 64 bit server.

Checked in /usr/bin/pacman and there's nothing there. I think my $PATH is set up correctly, I've got `/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin`.

Offline

#5 2019-04-12 17:55:27

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: [SOLVED] Arch Linux VM does not have pacman installed.

Have you considered starting over following VirtualBox#Installation_steps_for_Arch_Linux_guests?

Offline

#6 2019-04-12 17:56:23

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Arch Linux VM does not have pacman installed.

VirtualBox doesn't provide installation images, you need to download the iso yourself from here and then follow the Installation Guide on the wiki to install Arch. No other methods are supported here.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2019-04-12 20:29:22

dopey
Member
Registered: 2019-04-12
Posts: 3

Re: [SOLVED] Arch Linux VM does not have pacman installed.

Thanks for the help! I ended up starting over with vagrant. Worked like a charm. Appreciate the info and the patience smile

Offline

#8 2019-04-12 22:44:57

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Arch Linux VM does not have pacman installed.

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB