LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 02-10-2004, 01:36 AM   #1
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
A couple of simple questions


I just installed Mandrake 9.2 after a failed Fedora Core 1 try out and Iīm excited. Going to install it soon in my main box
Now onto the questions...
1) Where can I access a list of all the installed the software?
2) I installed an antivirus from DrWeb or something (using the rpm software from mandrake) but I canīt see any icon or anything?!? Where is it (now you see the relation to question 1)
3) Iīm trying to install the ActiveTcl. So I untar the files then goto to the console and type "install.sh", it brings a nice graphical screen but says "canīt write to folder /usr/local/ActiveTcl" and wonīt go on. So I go into the console, switch to root (su) and when I type "install.sh" says it canīt find the command!! Tried "install.sh" and "./install.sh" with no avail. Btw why do some files get an * by the name (install.sh*) when I list them logged in as root? I'd like to understand what's going in behind the scenes.
Thanks in advance!
 
Old 02-10-2004, 01:59 AM   #2
linuxlah
Member
 
Registered: Jun 2002
Location: Batu Puteh, Malaysia
Distribution: (Mandrake 8.2) (Redhat 7.2,8.0,9.0) (Slackware 9.0,9.1)
Posts: 154

Rep: Reputation: 30
1) rpm -qa will list all installed software

2) rpm -ql <YOUR PACKAGE NAME>

3)maybe your DISPLAY is still own by your user. go to user and type xhost +
 
Old 02-10-2004, 06:38 PM   #3
iainagray
Member
 
Registered: Sep 2003
Location: Aberdeenshire, Scotland
Distribution: Ubuntu Hardy
Posts: 64

Rep: Reputation: 15
3) Iīm trying to install the ActiveTcl. So I untar the files then goto to the console and type "install.sh", it brings a nice graphical screen but says "canīt write to folder /usr/local/ActiveTcl" and wonīt go on. So I go into the console, switch to root (su) and when I type "install.sh" says it canīt find the command!! Tried "install.sh" and "./install.sh" with no avail. Btw why do some files get an * by the name (install.sh*) when I list them logged in as root? I'd like to understand what's going in behind the scenes.

When a file (or directory) is created on a linux/unix file system it is given a number of permissions, these can be listed by using the "ls" command with some extension ie

ls -l *

will give a full list of the files in your current directory with permissions (something like this)

-rwxrwxrwx group owner somefile.name

This can be broken down in respect that there are 3 groups of rwx the first is for roots permissions, the second for the group permissions and the last for the owners permssions.

The r gives whoever permission to read the file

The w gives whoever permission to write to the file

The x gives permission to execute the file (run it)

It is the x that gives the file the *.

In your problem not being root is the issue with not being able to write to the /usr/local directories, but you also need to check on whether the install.sh file is executable by root (it should be as root is allowed to do all) check by using ls -l as above.

If it is not then you can change its permissions with the following command

chmod 777 install.sh

this is done as root though be very careful with this!!

The numbers are the old way of showing the rwx setup 777 = rwxrwxrwx
with 7 (octal base) = 111 or rwx, 6 = 110 or rw-, 4 = 100 or r--

Hope this helps
 
Old 02-10-2004, 11:50 PM   #4
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Original Poster
Rep: Reputation: Disabled
Thanks a lot. I actually got through the setup by going to the console, switching to root (su) and the executing "./install.sh" which did worked !!
The only question is about that command xroot +. I logged out and tried it as a login with the root password but wouldnīt login. Doesnīt work from the console either
 
  


Reply


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
Couple of simple usability questions... dangerousdave Linux - Newbie 2 08-21-2005 06:56 PM
Apache, MySQL, PHP, a couple simple questions. The_Messiah Linux - Software 3 04-09-2005 05:17 PM
Simple Questions...Hopfully Simple Answers. caps_phisto Linux - General 3 12-21-2004 12:40 PM
Some questions on integrating a couple simple python programs. RHLinuxGUY Programming 1 12-17-2004 12:32 PM
A couple questions breider565 Linux - Newbie 3 06-04-2004 01:47 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration