LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-10-2011, 05:11 PM   #1
jclark978
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!

Jon
 
Old 12-11-2011, 02:00 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
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 ""

Code:
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

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

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


Reply



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 08:03 PM
Apache's Ant martian Linux - Software 4 08-14-2007 07:52 PM
How to use "ant" from J2EE SDK instead of installed ant in Fedora ? pcuongx Linux - Server 2 02-27-2007 04:45 AM
Apache Ant - Tomcat Installation crazycondor Linux - Newbie 1 12-16-2006 11:27 PM
Question about Apache Ant Hockeyfan Programming 2 02-19-2005 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:00 AM.

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