You are not logged in.

#1 2007-04-18 21:31:40

justin
Member
From: Philadelphia
Registered: 2007-04-18
Posts: 132

Running programs

I recently installed Arch Linux, and have installed firefox via pacman -S firefox, but I cant seem to figure out how to start it. There is no firefox command, nor mozilla-firefox or firefox-bin. How can I run firefox? Also, I installed gtk-theme-switch the same way, and can't run that either. sad

Offline

#2 2007-04-18 22:09:26

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: Running programs

Firefox install creates /etc/profile.d/mozilla-common.sh which runs at system startup to add the mozilla directory to your path. So either:

1) reboot and firefox will be in your path.
2) Source the mozilla setup file. From comman-line do:
   . /etc/profile.d/mozilla-common.sh
   firefox

3) Give the absolute path when running:
   /opt/mozilla/bin/firefox


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#3 2007-04-19 06:49:06

sl
Banned
From: uk
Registered: 2007-04-04
Posts: 42
Website

Re: Running programs

you don't need to reboot, just logout and log back in..

this might help to see where the binaries are installed ...

pacman -Ql [pkg_name] | grep bin/

Offline

#4 2007-04-19 08:17:16

F
Member
Registered: 2006-10-09
Posts: 322

Re: Running programs

mozilla/firefox is stupid and installs itself under /opt. I don't know why.

Try lurking around /opt/mozilla/bin.

Offline

#5 2007-04-19 08:24:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Running programs

Arch installs firefox, and certain other large packages and package groups, under /opt. If you think it's stupid, submit a feature request with your reasoning.

All packages installed in /opt include /etc/profile.d entries to adjust system paths automatically, as described by raymano above. "Lurking" around any path in /opt is not necessary.

Offline

Board footer

Powered by FluxBB