Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Where do I install programs in Linux?


  • Please log in to reply
12 replies to this topic

#1 HuckerJ

HuckerJ

  • Members
  • 189 posts
  • OFFLINE
  •  
  • Location:East Tennessee
  • Local time:09:31 PM

Posted 08 August 2004 - 07:11 PM

I just downloaded and installed SuSE 9.1. I installed Firefox, but was having trouble accessing the firefox loader from the non-root account. What directory that I should be installing stuff in so that any account can use it?

Also, how do I get a system monitor like the one on the right of this picture?

EDIT: Another Also, I have an Asus A7V8X-MX SE board with onboard sound. SuSE detects a sound device, but I can't get sound to play.
Thanks

Edited by HuckerJ, 08 August 2004 - 07:30 PM.

There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!

BC AdBot (Login to Remove)

 


#2 Grinler

Grinler

    Lawrence Abrams


  • Admin
  • 43,663 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:08:31 PM

Posted 08 August 2004 - 11:18 PM

It really does not matter where programs are stored in linux as long as you have the right permissions on the files. If its owned by root, it may only be runnable by root by default permissions.

To change the permission onm a file you would use the chmod command.

So if the file is owned by root and in thr group root, and ls -l shows it as something like this:

-rwx-------

You want to give others permission to run it so you would type something like:

chmod o+x filename

That gives permissions for other people on the computer to run it regardless of the group they are in or who owns it

That was a gentoo app so its possible that was the gnome-system-monitor but i dont know for sure.

The sounds questions i am not experienced enough to help with unfortunately.

#3 HuckerJ

HuckerJ
  • Topic Starter

  • Members
  • 189 posts
  • OFFLINE
  •  
  • Location:East Tennessee
  • Local time:09:31 PM

Posted 09 August 2004 - 07:08 AM

Thanks Grinler. I got the permissions changed. :thumbsup: I was searching google and found gkrellm. I installed the rpm file and in /usr/bin it placed an executable "gkrellm" file, but double-clicking does nothing. :flowers:

Edited by HuckerJ, 09 August 2004 - 07:09 AM.

There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!

#4 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:08:31 PM

Posted 09 August 2004 - 12:49 PM

From the command line type:
gkrellm &

Here's a few tips for sound problems

lspci -v|fgrep audio <-- tells what device is found

/sbin/lsmod <-- tells which modules are loading

aumix -q <-- tells if sound is muted you might not have aumix,try alsamixer, kmix (in KDE), gnome-mixer (GNOME)

/sbin/fuser -v /dev/dsp <-- tells which program has the sound device

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#5 HuckerJ

HuckerJ
  • Topic Starter

  • Members
  • 189 posts
  • OFFLINE
  •  
  • Location:East Tennessee
  • Local time:09:31 PM

Posted 09 August 2004 - 06:28 PM

Here are the konsole responses:

huckerj@linux:/usr/bin> gkrellm &
[1] 3620
huckerj@linux:/usr/bin> gkrellm: error while loading shared libraries: gkrellm: undefined symbol: gdk_threads_lock

huckerj@linux:/> lspci -v|fgrep audio
bash: lspci: command not found

huckerj@linux:/> /sbin/lsmod
Module                  Size  Used by
edd                    9240  0
joydev                10176  0
st                    38940  0
sd_mod                19840  0
sr_mod                15652  0
scsi_mod              107980  3 st,sd_mod,sr_mod
ide_cd                36484  0
cdrom                  36508  2 sr_mod,ide_cd
nvram                  8328  0
usbserial              28912  0
parport_pc            35264  1
lp                    10916  0
parport                37704  2 parport_pc,lp
snd_seq_oss            30976  0
snd_seq_midi_event      7680  1 snd_seq_oss
snd_seq                54672  5 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            56868  0
snd_mixer_oss          18688  1 snd_pcm_oss
ipv6                  244100  13
speedstep_lib          3712  0
freq_table              4612  0
thermal                12424  0
processor              16040  1 thermal
snd_via82xx            24224  4
snd_pcm                96776  2 snd_pcm_oss,snd_via82xx
fan                    3972  0
button                  6032  0
battery                8580  0
ac                      4868  0
snd_timer              25476  2 snd_seq,snd_pcm
snd_ac97_codec        60676  1 snd_via82xx
snd_page_alloc        11012  2 snd_via82xx,snd_pcm
gameport                4736  1 snd_via82xx
snd_mpu401_uart        7808  1 snd_via82xx
snd_rawmidi            24992  1 snd_mpu401_uart
snd_seq_device          8328  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    59524  21 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_        oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,s        nd_rawmidi,snd_seq_device
soundcore              8800  1 snd
af_packet              20360  2
via_rhine              19720  0
mii                    5248  1 via_rhine
ehci_hcd              27140  0
via_ircc              20240  0
irda                  120124  1 via_ircc
uhci_hcd              29584  0
usbcore                96988  5 usbserial,ehci_hcd,uhci_hcd
via_agp                7424  1
agpgart                28712  1 via_agp
evdev                  9600  0
subfs                  7296  1
nls_utf8                2176  1
ntfs                  86092  1
dm_mod                50044  0
reiserfs              233808  1

no aumix -q or kmix

┌───────────────────────[AlsaMixer v1.0.3 (Press Escape to quit)]───────────────────────┐
│ Card: VIA 8235                                                                        │
│ Chip: Analog Devices AD1980                                                          │
│ Item: Surround [Off]                                                                  │
│                                                                                      │
│                                                                                      │
│                                                                                      │
│    ┌──┐    ┌MM┐    ┌MM┐      ┌──┐    ┌MM┐    ┌MM┐      ┌MM┐    ┌MM┐    ┌MM┐    │
│    │  │    │  │    │  │      │  │    │  │    │  │      │▒▒│    │  │    │  │    │
│    │  │    │  │    │  │      │  │    │  │    │  │      │▒▒│    │  │    │  │    │
│    │  │    │  │    │  │      │  │    │  │    │  │      │▒▒│    │  │    │  │    │
│    │  │    │  │    │  │      │  │    │  │    │  │      │▒▒│    │  │    │  │    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │  │    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │  │    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    │▒▒│    │▒▒│    │▒▒│      │▒▒│    │▒▒│    │  │      │▒▒│    │  │    │▒▒│    │
│    └──┘    └──┘    └──┘      └──┘    └──┘    └──┘      └──┘    └──┘    └──┘    │
│  68<>68  71<>71  68<>68    68<>68  68<>68            100<>100          58<>58    │
│  Master  Master M Master S    PCM  <Surround>Surround  Center  Center/L  LFE      │
│                                                                                      │

huckerj@linux:/> /sbin/fuser -v /dev/dsp
bash: /sbin/fuser: No such file or directory


There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!

#6 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:08:31 PM

Posted 10 August 2004 - 02:58 PM

Im a little rusty with SuSe so bear with me

gkrellm needs these:
libgdk-pixbuf2-devel
libgdk-pixbuf2

and possibly:
libgdk-pixbuf-xlib2
gdk-pixbuf-loaders

The sound drivers are loaded:
snd_seq_oss 30976 0
snd_seq_midi_event 7680 1 snd_seq_oss
snd_seq 54672 5 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 56868 0
snd_mixer_oss 18688 1 snd_pcm_oss

and the mixer volume is up, try unmuting the other sliders (PCM comes to mind). I dont have any "MM"'s on mine.

try ls -al /dev/*dsp* to check permissions on the sound device.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#7 HuckerJ

HuckerJ
  • Topic Starter

  • Members
  • 189 posts
  • OFFLINE
  •  
  • Location:East Tennessee
  • Local time:09:31 PM

Posted 10 August 2004 - 04:26 PM

How do start gkrellm with libgdk-pixbuf2-devel and libgdk-pixbuf2?

huckerj@linux:/> ls -al /dev/*dsp*
lrwxrwxrwx  1 root    root      5 2004-08-08 12:30 /dev/adsp -> adsp0
crw-------  1 huckerj audio 14, 12 2004-04-06 09:27 /dev/adsp0
crw-------  1 huckerj audio 14, 28 2004-04-06 09:27 /dev/adsp1
crw-------  1 huckerj audio 14, 44 2004-04-06 09:27 /dev/adsp2
crw-------  1 huckerj audio 14, 60 2004-04-06 09:27 /dev/adsp3
lrwxrwxrwx  1 root    root      4 2004-08-08 12:30 /dev/dsp -> dsp0
crw-------  1 huckerj audio 14,  3 2004-04-06 09:27 /dev/dsp0
crw-------  1 huckerj audio 14, 19 2004-04-06 09:27 /dev/dsp1
crw-------  1 huckerj audio 14, 35 2004-04-06 09:27 /dev/dsp2
crw-------  1 huckerj audio 14, 51 2004-04-06 09:27 /dev/dsp3
crw-rw----  1 root    root  55,  0 2004-04-06 09:27 /dev/dsp56k


Thanks for your help
There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!

#8 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:08:31 PM

Posted 10 August 2004 - 04:46 PM

gdk is a library (sort of like a .dll in windows) that gkrellm uses. They need to be installed.
good place to start is http://rpmfind.net/linux/rpm2html/search.p...stem=suse&arch=

How many sound devices do you have? I dont know how SuSe does devices but that output is saying you have 4 sound cards. If you have 1 onboard and 1 pci card you can try linking /dev/dsp to /dev/dsp1 like this:

as root

rm /dev/dsp
ln -s /dev/dsp1 /dev/dsp



also try this

cat /dev/urandom > /dev/dsp <-- should make static noise throught the speakers

ctrl C to stop

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#9 HuckerJ

HuckerJ
  • Topic Starter

  • Members
  • 189 posts
  • OFFLINE
  •  
  • Location:East Tennessee
  • Local time:09:31 PM

Posted 10 August 2004 - 05:28 PM

The libraries are a nightmare! The gdk required gtk which required glib which required fontconfig ...... So many unresolved requirements and conflicts. Can I just say "ignore all"?

I only have onboard sound. YaST shows PCM volume level isn't muted .I didn't hear any static.

What distro do you use?
There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!

#10 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:08:31 PM

Posted 10 August 2004 - 06:41 PM

Yes dependencies are a nightmare and there's a way to install them from RPM:
rpm -Uvh package name --nodeps

BUT if "this" library needs "that" dependency then your program still doesn't work :thumbsup:

I use Mandrake because i found it to be the easiest to set up when I started using Linux. And because it takes a lot from RedHat. I believe SuSe is Debian based. If thats the case and you have "apt-get" I hear it makes dependency problems silky smooth.

And when I get totally stumped:
http://linuxquestions.org
I usually don't have to post because a search will turn up the problem i'm having.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#11 jongleur

jongleur

  • Members
  • 15 posts
  • OFFLINE
  •  
  • Local time:08:31 PM

Posted 12 August 2004 - 09:20 AM

huck, you don't need to go through all that trouble. Go to Yast > add and remove software and in the search field type what program you are looking for. Gkrellm comes with SuSE 9.1 along with a lot of others (karamba for one).

Before going through a headach with Tux check with YaST. She'll normally already have what you're looking for.



Oh foobar, if you installed from cd, not ftp, first you need to change your installation source. My bad dude. Go to Yast > change source of installation > add > ftp

In the field that pops up, type:

in the SERVER NAME type:
ftp://ftp.suse.com/

in the DIRECTORY ON SERVER type:
pub/suse/i386/9.1

Then click OK > finsh. The rest you don't need. Now you can go to 'add and remove software' and there well be a lot more there for you to chose from i.e search for.

In your 'add and remove software' modual select "PACKAGE GROUPS" from the FILTER drop-down box in the left hand corner, and have fun! Yast will handle all the ugly dependencies.

Here's a list of mirror sites that you can download from in the place of the one I gave you. http://www.suse.com/us/private/download/suse_linux/


jon

#12 HuckerJ

HuckerJ
  • Topic Starter

  • Members
  • 189 posts
  • OFFLINE
  •  
  • Location:East Tennessee
  • Local time:09:31 PM

Posted 13 August 2004 - 11:02 PM

Thanks jongleur and raw. That got it working. I switched motherboards to an asus a7n8x-x and I don't have the sound problems. The sound for that onemotherboard doesn't work in windows either I found.
There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!

#13 HuckerJ

HuckerJ
  • Topic Starter

  • Members
  • 189 posts
  • OFFLINE
  •  
  • Location:East Tennessee
  • Local time:09:31 PM

Posted 14 August 2004 - 04:21 PM

I figured out why the sound wouldn't work. There were two jumpers that I removed because I was going to hook up the sound to the front audio. I couldn't figure it out and left them off. I put them back on and what-da-ya-know, It worked!
There are 10 kinds of people. Those who understand binary notation, and those who do not.
Posted Image - It plays, it streams, it kills WiMPs!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users