Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-10-2011, 06:11 PM   #1
LQ Newbie
Registered: Dec 2011
Location: Las Cruces, NM
Distribution: openSUSE
Posts: 1

Rep: Reputation: Disabled
installing apache ANT, can't create /usr/local/ant folder per ANT's manual

Hello all,

I am trying to install ant (from binary) per the directions in the user manual. It says to create a folder called ant at /usr/local/ant. However when I try to create the directory I am given an insufficient privileges error. I am the sole user and administrator of my system so I am somewhat surprised by this. But this is the newbie forum after all...

I am using the newest openSUSE distro on a MacBook. I just finished the install last night. I have been using openSUSE at my university computer lab for about a year, but I am new to actually administrating a system. I looked at previous threads regarding ant installs but could not find the answer.

Any help would be greatly appreciated!

Old 12-11-2011, 03:00 AM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,887

Rep: Reputation: Disabled
I am using the newest openSUSE distro
that would be 12.1 ?
or do you have 11.4

suse uses "sudo " , though i do NOT
use "su -" without the ""

su -
--- type in THE root password when asked ---
mkdir /usr/local/ant
then ADD /usr/local to the /etc/bash_local file and to /etc/profile_local ( or just to the profile)

that is to add the non standard system $PATH
usr/local is a somewhat non standard "standard" directory

using "zypper " is the BEST way to install a prebuilt binary program
use the rpm in the repos !
su -
zypper se ant
--- then from that list ....
zypper in ant
--- or ---
the yast2 gui

Last edited by John VV; 12-11-2011 at 03:04 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Apache Ant? yuri16 Linux - Newbie 1 01-26-2009 09:03 PM
Apache's Ant martian Linux - Software 4 08-14-2007 08:52 PM
How to use "ant" from J2EE SDK instead of installed ant in Fedora ? pcuongx Linux - Server 2 02-27-2007 05:45 AM
Apache Ant - Tomcat Installation crazycondor Linux - Newbie 1 12-17-2006 12:27 AM
Question about Apache Ant Hockeyfan Programming 2 02-19-2005 02:17 PM

All times are GMT -5. The time now is 07:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration