You are not logged in.

#1 2008-09-23 23:23:16

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Export command not found

After doing a fresh install of Arch on my system (after Fedora and Mandriva), I installed a few different things.  One of them was OpenOffice.org, which pacman displayed a message for saying:

 use "export OOO_FORCE_DESKTOP=kde" or
 use "export OOO_FORCE_DESKTOP=gnome" to preset your desired look,
 or put it in /etc/profile, rc.local, or ~/.bashrc.

Well, I tried following those instructions and got this message:

export: command not found

Which package is the export command in?

Offline

#2 2008-09-23 23:26:21

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Export command not found

export is a Bash built-in, I'm pretty sure.  What shell are you using?

Offline

#3 2008-09-23 23:31:51

dschrute
Member
From: NJ, USA
Registered: 2007-04-09
Posts: 183

Re: Export command not found

export is a Bash built-in, I'm pretty sure.

It is indeed built-in wih bash - see http://www.ss64.com/bash/export.html

For (some) other shells the equivalent would be setenv.

Offline

#4 2008-09-23 23:37:52

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Export command not found

Yeah, I'm using bash, so this seems rather strange.

Last edited by Falcata (2008-09-23 23:38:05)

Offline

#5 2008-09-24 00:10:16

dschrute
Member
From: NJ, USA
Registered: 2007-04-09
Posts: 183

Re: Export command not found

Have you made any changes to .profile, .bash_profile or .bashrc ?  Or maybe even /etc/profile ?  try starting over with them, aqnd see what happens.

Last edited by dschrute (2008-09-24 00:10:41)

Offline

#6 2008-09-24 00:58:05

alanhaggai
Member
From: World Wide Web
Registered: 2008-08-15
Posts: 25
Website

Re: Export command not found

I have no idea why export, shell builtin, is not working for you. However, you can try:

OOO_FORCE_DESKTOP=kde OO_executable
OOO_FORCE_DESKTOP=gnome OO_executable

Replace OO_executable with whatever the binary is named as. You can also try creating a launcher / shortcut to issue the above command.

Last edited by alanhaggai (2008-09-24 01:00:38)


The difference makes the difference.

Offline

Board footer

Powered by FluxBB