Solved

Installing applications in Linux

Posted on 2004-09-29
15
205 Views
Last Modified: 2010-04-20
Im having trouble installing Adobe Acrobat on Mandrake. I have a file named "install" but when I click it I get asked what program I want to to open it with. I thought the install script would simply run the installation.
0
Comment
Question by:me1191
  • 5
  • 3
  • 3
  • +2
15 Comments
 
LVL 6

Expert Comment

by:knollbert
ID: 12179502
Is it the MS Windows app if so it won't run with out an application like Crossover office
www.codeweavers.com

You may already have programs that make PDF files installed on your Linux box
Open Office as the ability to create PDFs
If KDE is installed it creates a Pseudo printer to print to PDFs
0
 
LVL 11

Expert Comment

by:avizit
ID: 12179895
you have to run that install scriot in a command line shell


open up a terminal   xterm etc will do

go to the directory having the install file and type

./install

0
 

Expert Comment

by:skewray
ID: 12180418
Since it won't run by itself, perhaps it is not executable.  The first step would be to open an x-windows shell tool such
as xterm or konsole, move to the appropriate directory, and type in "file install".  This will tell you what type of file it
is.  Since it is most likely a Bourne shell script, you could just try "sh install" right from the start.
0
 
LVL 11

Expert Comment

by:avizit
ID: 12180448
or you can also make it executable first

i.e

chmod +x install
and then
./install
0
 
LVL 14

Expert Comment

by:JohnK813
ID: 12180879
Often (from what I've seen at least), when you download a tarball for installing a program, the file INSTALL is just a readme file with instructions to install the program.

As skewray said, run "file install" in xterm.  If it is a text file, type in "less install" to read the file.  It will probably tell you the commands to run are:

./configure
make
make install

Again seconding skewray (in which case, give the points to him), it could also be a shell script file, in which case "sh install" should work.
0
 
LVL 11

Expert Comment

by:avizit
ID: 12181030
Right bout the configire/ make /make install thing

but if its the acorbat reader downloaded from acrobat.com site then INSTALL is a shell script file

which you can run either by
sh install or

./INSTALL    /* if its already executable */

else by doing

chmod +x INSTALL
and then
./INSTALL
0
 
LVL 14

Expert Comment

by:JohnK813
ID: 12181087
avizit - I wasn't sure at first, but now I do remember that Acrobat does download like that.  In that case, me1191, there's your correct answer.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:me1191
ID: 12182658
I typed chmod +x INSTALL and got.. chmod: cannnot access 'INSTALL': no such file or directory. I really dont understand Linux at all:( Why not just have executables to install programs and why not just have drivers you install by double clicking on them:( Linux will never catch on, because you just need far far too much free time to learn how do the most basic things. Anyway any ideas why im getting this error?
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12182708
Linux is also case sensitive
so it maybe
./install    
OR
./Install
0
 
LVL 14

Expert Comment

by:JohnK813
ID: 12182728
Also make sure you're in the correct directory.  The command to view your current directory is

pwd
0
 
LVL 11

Expert Comment

by:avizit
ID: 12182729
dont worry ..its just confusing at first .. it gets easier :)

anyway go to the directory where the INSTALL file is located and
type

./INSTALL    
or

sh INSTALL

as skewray  and  JohnK813  
either way should be fine

also this might be helpful http://cmisip.home.insightbb.com/newbie.htm
0
 

Author Comment

by:me1191
ID: 12184189
Then thats my problem, im not going to the directory. The file is on a cd that I made in windows. I could drag it onto the desktop if that would make it easier. Can anyone tell me what to type in order to change directory? I have a basic knowledge of dos and the new command prompt so please be gentle. I would doubt that its "cd" and even so I dont even know anything at all about the Linux directory structure or filing system, and as such have no idea what the path for either cdrom or desktop is. Im gonna double the points on this because it seems much harder than I first thought.
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12185137
It is indeed "cd"
if logged in as root it would most likely be in
/mnt/cdrom probably

thus
cd /mnt/cdrom
0
 

Author Comment

by:me1191
ID: 12185596
Im now getting to the directory but I cant get into the linux-509.tar.gz file, which contains Acrobat. Ive moved the file to my desktop for handyness. I tried a few different things but I can only get as far as cd mnt/home/chris/Desktop and can do nothing at all with the Adobe file. Like I said im kinda new to all this and have very little experience with dos and the like. What commands do I need now? I tried ./INSTALL etc but nothing happens. I just wish I could get my modem working then I could stay in Linux instead of going back and fourth:(
0
 
LVL 11

Accepted Solution

by:
avizit earned 200 total points
ID: 12186071
1) do a mkdir  /tmp/acrobat

2) copy  linux-509.tar.gz into your /tmp/acrobat  directory

so that there is a file  

/tmp/acrobat/linux-509.tar.gz  

2) now do a

cd /tmp/acrobat

3)  now type
tar -xvzf  linux-509.tar.gz

4) no you should be having INSTALL in /tmp/acrobat

type
./INSTALL

and if that doesnt work
try chmod +x INSTALL and then
./INSTALL

or just

sh INSTALL




0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now