LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Installing new applications MDK10? (https://www.linuxquestions.org/questions/mandriva-30/installing-new-applications-mdk10-201419/)

jmr0311 07-05-2004 02:21 PM

Installing new applications MDK10?
 
When I download applications in Mandrake and try to run it, nothing happen. I was ttrying to install few plug-in, like java, flashplayer, etc. but with no success. I try to install Bitdefender antivirus in my system, first of all it ask me for my admin rights to run the installer. Then some files begin to install after all this is done, the activity in the machiine stop, which I interpreted as everything went well. Here is the question, Where is this program install?, I don't see any icon to execute the program, nor to configurate. When I try to run "Find Files" feature the computer locks up and a window appears indicating that the "KFILE" is not responding. Any suggestions, please.

Javi

bardinjw 07-05-2004 02:38 PM

things like this are earier to handle from the command line in linux.

open a konesole window and use the command "su" if you need to be root.

to run something out of the current directory, start the command with "./", wich refers to your current directory instead of PATH.

in the console there is usually a lot of output to show whats going on, as well as what files are written and where.

this can give us a starting point

xMSFTjunkie 07-05-2004 06:25 PM

Hey,

I'm having the exact same problem. The only way I can get anything to install is using the 'tar.gz' and then only manual copying the files, installation scripts don't work either.

One of the things I tried is the Opera browser. The weird thing is I can find one (and only one) file for opera on the hard drive, an icon file. Also when I try to rpm now it says it's already installed. However when I try to remove it using the rpm, it says it doesn't exist!

My experience with Linux can only be measured in hours! So any replys need to be really simple!

Thanks

apimente.br 07-05-2004 08:33 PM

Mandrake give us the best (in my opinion) tool to help the installation of packages:
URPMI
There is 2 ways to do things:
Command line or by means of a GUI (both are the same, with different visual).
See:
http://mandrake.vmlinuz.ca/bin/view/Main/UsingUrpmi
and
http://nanardon.homelinux.org/urpmi.setup/
the last will help you to find the best sources for packages. Don't forget the sources PLF and Contrib.

xMSFTjunkie 07-06-2004 10:14 PM

Ok I tried the URPMI. I used the easy URPMI That you provided the link to, and it worked just as discribed.

Unfortunely, I have no idea how to get it to work in a GUI (preferrable KDE). I tried typing "URPMI" in the commandline dialog. I also tried "URPMI -X". The harddrive would go but nothing, not even a error message opens.

In the terminal... I can bring up the help, but beyond that I HAVE NO CLUE WHAT I"M DOING (Remember, I've been brainwashed by Reymond for the last 10 years!

I did remember to switch.

Were do I go from here?!

apimente.br 07-07-2004 06:37 AM

OK! Don't worry!

In KDE follow this:

KDE -> System -> Configuration -> Configure your Computer

It will be asked the root password (type it), then:

Software Management -> you will have this options:

Install
Remove
Updates (and)
Media Manager

Ask anything if you have more doubts!

jmr0311 07-07-2004 07:40 AM

You're saying that URPMI is the best tool to install "Packages". This is a sample of what I was trying to do, I wan it to install an antivirus into Linux. I found Bitdefender and download the file this is where the file end up /home/jmr0311. This is the description for the file "BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.rpm" . What I did was double click the file and thats when I saw some activity that apparently the installation was in progress but at the end nothing remotly close to Bitdefender was place in my computer, like an icon to open the application so I can configure it, etc. In the case of the java plug-in, this is a description of the file "j2sdk-1_4_2_04-nb-3_6-bin-linux.bin" and when I execute this one nothing happen. Any suggestion with specific are very welcome guys.

Javi

BIACS 07-07-2004 08:18 AM

I'm not sure where BitDefender installs to (I'm still learning Linux also) but the easiest way to try and run a program after installing is to open a terminal console, start typing its name and use Tab to complete. For example, open a term window, type Bit and hit Tab, usually the programs will use their name as part of their "executable", you may have to try bit also as Linux is case sensitive. It should complete the name or show you a list of possible matches. I don't know BitDefender but you may see a few matches, if it does not have a GUI interface you'll know when you hit on the command to launch the program when it fills the screen with options or switches to run the program with. Often when you are running a program through the command line you will have to add a switch after the command to tell the program what to do (scan this directory, scan that file, update definitions, etc). You may also find some help on BitDefenders web site, a lot of programs are good about posting how-to's or including help files with the executable also. There may be a -h switch for the help or you can simply get to it by typing the name in a terminal window and adding --help after the name (eg. bitdefender --help).

To find where it may have installed to, open a terminal window, type su (switch user) which will prompt you for the root password. The command prompt will change to a # to indicate you are logged in as root. Type find / -name bit and hit enter, it will search from the root level (/) and look for files and folders with bit in the name.

jmr0311 07-07-2004 08:14 PM

I found this command line that is supposed to be use to execute RPM:

rpm -ivh /home/jmr0311/BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.rpm

You have to executed this as a "super user", when I do this under kconsole it says that BitDefenders is already install. BitDefender is nowhere to be found. I execute this instruction (find / -name bit) but nothing comes up so I don't know how to find this application in my system. Any hellp, please.

Javi

apimente.br 07-07-2004 08:39 PM

You have tried the BIACS suggestion (post 8)?
What was the result?
Take care, in Linux Bit is different of bit.
When you install a package by means of rpm command no icon will be created in the desktop.

xMSFTjunkie 07-07-2004 11:51 PM

Success! I got it! Or at least I do Now!

You use the URPMI to add ftp sources to the 'rpmdrake' app, which in turn makes adding apps simple enough even a (micro)softie (aka ME!) can use!

I did learn something else, and this may help you jmr0311. I was trying to download/install the Opera browser and I was having the exact same probs you discribed.

Quote:
"What I did was double click the file and thats when I saw some activity that apparently the installation was in progress but at the end nothing remotly close to Bitdefender was place in my computer, like an icon to open the application so I can configure it, etc."

Well, it turned out (with Opera) I downloaded the wrong binary! I downloaded the first one I saw listed for Mandrake (not checking version numbers). It was listed as "Shared QT", which is total greek to me. Turns out I needed the one listed as "Static", again greek to me. Maybe someone else could explain the difference.

Don't know if this helps you jmr0311, but it did sound like we were having similar probs.

And may thanks to apimente.br and BIACS for the help!

webazoid 07-08-2004 12:27 AM

what do i need to do to install recent updates to mdk 10 (security, features, etc)? thanks. so why does entering the urpmi commands download a bunch of megabytes and doesn't seem to install anything? i.e. no hard disk movement afterwards:scratch: i also tried installing gaim by typing urpmi gaim but it asked me to install v.75 rather than the most recent one, .79. what's wrong? where do i get a list of applications to install?

jmr0311 07-08-2004 07:35 AM

I went back to the BitDefender website and they have a few more downlodable files for Linux environment.

Downloads:
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc29x.i586.rpm
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc29x.i586.run
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc29x.i586.deb
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.rpm <--------- ( One I download )
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.deb

Obviously, I don't know if I pick the right one when I download BitDefender. I wonder if here in this forum theres any user of linux antivirus that yoou can recommend that is going to work.

Javi

BIACS 07-08-2004 08:26 AM

Quote:

Originally posted by webazoid
what do i need to do to install recent updates to mdk 10 (security, features, etc)? thanks. so why does entering the urpmi commands download a bunch of megabytes and doesn't seem to install anything? i.e. no hard disk movement afterwards:scratch: i also tried installing gaim by typing urpmi gaim but it asked me to install v.75 rather than the most recent one, .79. what's wrong? where do i get a list of applications to install?
To install updates, either go to your Configure My Computer through the 'Start' menu or type drakconf in a terminal window. Either way it will prompt you for the root password. When drakconf has started, you will see a button at the bottom for Software (I think it says Software Manager). Click that and you will see a button for MandrakeUpdate. The names may be a little different, I'm not looking at my MDK box right now. When you click on the MandrakeUpdate it will prompt you for a source to download from (it will display your choices), try a server closest to where you live first. If it is not able to communicate with that server, try the others. Once you have contacted an update server there will be 3 categories of updates available, under each category it will display the updates for that category available, just click on the box next to the ones you want to install and click Install. When it is done downloading and installing it will return you to that list and hopefully say "the list is empty, no updates available". You're done then and can exit (after you've done all 3 categories that is).

When you enter URPMI commands (adding a source) it is downloading a list of the programs avaible from that source. This is for when you are searching through the Software Installer for the name of a program, it will include the available titles from the URPMI source as well as those on your CD(s).

BIACS 07-08-2004 08:38 AM

Quote:

Originally posted by jmr0311
I went back to the BitDefender website and they have a few more downlodable files for Linux environment.

Downloads:
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc29x.i586.rpm
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc29x.i586.run
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc29x.i586.deb
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.rpm <--------- ( One I download )
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run
# BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.deb

Obviously, I don't know if I pick the right one when I download BitDefender. I wonder if here in this forum theres any user of linux antivirus that yoou can recommend that is going to work.

Javi

The .rpm you installed should be fine, I'm not sure which distro the .run is for but the .deb package is for Debian. I went to BitDefenders web site and looked at their documentation a little. Below is some text from their .pdf

The synthax of the scan command is
bdc path 1 ... [path n] [parameter 1]... [parameter n]

This would mean you would type something like bdc /home/Javi --auto which would scan your home directory and automatically handle any virii found. The other options are below.

The parameters are:
Target object parameters
--arc - to scan archives
--mail - to scan mail databases
--ext=ext1:ext2: - to scan only the files with these extensions
--nopack - don't scan packed programs
Scan type parameters
--nohed - to disable unknown virus detection. The unknown virus
detection is made using the heuristic scanning.
The aim of heuristic scanning is to identify new viruses, based
on certain patterns and algorithms, before their apparition
becomes known. False alarms can appear, because the method
doesn't grant a 100% safety rate. When such a file is detected it
is classified as suspicious.
--nowarn - to disable the generation of warning messages about possible
abnormal situations in your machine.
Action parameters
--disinfect - to disinfect the infected files
--copy - to copy infected files in quarantine
--delete - to delete all infected files
--copys - to move suspect files in quarantine
--auto - enables the automatic action, which is disinfection.
Scan results parameters
--log[=file] - to create a log file where the scan results will be
saved.
--all - to scan all files, no matter what extension they have
--append - to append the information about the new scan to the
existing log file. A small scan journal is thus
created.
--debug - to display debug information during the scan process
Other scan options
--vlist - to display the list of viruses BitDefender detects
--info - to display information about the current version of product
--nor - this will prevent BitDefender from scanning inside the
subfolders contained by the currently scanned directory.
--alev[=n] - to set a maximum archive depth level. For example if n=1, then
the archives contained inside an archive are not scanned.
--flev[=n] - to set a maximum folder depth level; that means that if n=1
BitDefender will scan only the files in the current folder, but not
deeper in the subfolders it might contain.

You can allways see the scan parameters with the following command:
bdc –-help

To update the product you must enter the folder /usr/local/bd7/shared and type the command
bdc –-update


All times are GMT -5. The time now is 05:09 AM.